You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use java-power-assert on my Java 8 project.
The project has a few other annotation processors active.
I can't post the code here, but I can do any follow up investigation that might be necessary.
Here's the error I'm getting from mvn test:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project my-project: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR]
[ERROR]
[ERROR] An annotation processor threw an uncaught exception.
[ERROR] Consult the following stack trace for details.
[ERROR] java.lang.IllegalStateException
[ERROR] at com.sun.tools.javac.util.Context.checkState(Context.java:225)
[ERROR] at com.sun.tools.javac.util.Context.get(Context.java:146)
[ERROR] at com.sun.tools.javac.tree.TreeMaker.instance(TreeMaker.java:55)
[ERROR] at org.powerassert.javac.JavacPowerAssertGenerator.scan(JavacPowerAssertGenerator.java:59)
[ERROR] at org.powerassert.PowerAssertProcessor.process(PowerAssertProcessor.java:54)
[ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)
[ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)
[ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)
[ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)
[ERROR] at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)
[ERROR] at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
[ERROR] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
[ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:523)
[ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:381)
[ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:370)
[ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:361)
[ERROR] at com.sun.tools.javac.Main.compile(Main.java:74)
Can you tell what's wrong from this info alone?
How can I gather more information to diagnose this problem? There doesn't seem to be enough info here to diagnose yet.
Thanks,
Rich
The text was updated successfully, but these errors were encountered:
I'm trying to use
java-power-assert
on my Java 8 project.The project has a few other annotation processors active.
I can't post the code here, but I can do any follow up investigation that might be necessary.
Here's the error I'm getting from
mvn test
:Can you tell what's wrong from this info alone?
How can I gather more information to diagnose this problem? There doesn't seem to be enough info here to diagnose yet.
Thanks,
Rich
The text was updated successfully, but these errors were encountered: