You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/08/14 16:08:11 UTC

[jira] [Updated] (LUCENE-5886) current ecj-javadoc-lint crashes on SharedFSAutoReplicaFailoverUtilsTest.java

     [ https://issues.apache.org/jira/browse/LUCENE-5886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-5886:
--------------------------------

    Attachment: LUCENE-5886.patch

Attached is a patch upgrading the version.

'ant precommit' passes with it, whereas in trunk right now it fails with the bug:
{noformat}
-ecj-javadoc-lint-tests:
 [ecj-lint] Compiling 466 source files
 [ecj-lint] org.eclipse.jdt.internal.compiler.problem.AbortMethod: 
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.SingleNameReference.generatePostIncrement(SingleNameReference.java:748)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.PostfixExpression.generateCode(PostfixExpression.java:40)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.Expression.generateOptimizedStringConcatenation(Expression.java:726)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.codegen.CodeStream.generateStringConcatenationAppend(CodeStream.java:2352)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.BinaryExpression.generateCode(BinaryExpression.java:127)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.LocalDeclaration.generateCode(LocalDeclaration.java:133)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.SwitchStatement.generateCodeForStringSwitch(SwitchStatement.java:268)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.SwitchStatement.generateCode(SwitchStatement.java:307)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.Block.generateCode(Block.java:51)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.WhileStatement.generateCode(WhileStatement.java:227)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:237)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:182)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:543)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:612)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.generateCode(CompilationUnitDeclaration.java:360)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:774)
 [ecj-lint] 	at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
 [ecj-lint] 	at java.lang.Thread.run(Thread.java:745)
 [ecj-lint] invalid Class-Path header in manifest of jar file: /home/rmuir/workspace/trunk-termsdict/solr/core/lib/org.restlet-2.1.1.jar
 [ecj-lint] invalid Class-Path header in manifest of jar file: /home/rmuir/workspace/trunk-termsdict/solr/core/lib/org.restlet.ext.servlet-2.1.1.jar
 [ecj-lint] ----------
 [ecj-lint] 1. ERROR in /home/rmuir/workspace/trunk-termsdict/solr/core/src/test/org/apache/solr/cloud/SharedFSAutoReplicaFailoverUtilsTest.java (at line 0)
 [ecj-lint] 	package org.apache.solr.cloud;
 [ecj-lint] 	^
 [ecj-lint] Internal compiler error: java.lang.IllegalArgumentException: info cannot be null at org.eclipse.jdt.internal.compiler.codegen.StackMapFrame.addStackItem(StackMapFrame.java:81)
 [ecj-lint] ----------
 [ecj-lint] info cannot be null

BUILD FAILED
/home/rmuir/workspace/trunk-termsdict/build.xml:63: The following error occurred while executing this line:
{noformat}

> current ecj-javadoc-lint crashes on SharedFSAutoReplicaFailoverUtilsTest.java
> -----------------------------------------------------------------------------
>
>                 Key: LUCENE-5886
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5886
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5886.patch
>
>
> It seems the version we are using has bugs that are tripped by this test.
> We are using 3.7.2, I think we should upgrade to 4.4?
> It seems to solve the issue for me.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org