You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "csmithmtb (via GitHub)" <gi...@apache.org> on 2025/12/19 02:53:46 UTC

[I] Spring Tools for Eclipse Java build error with Ignite3's ErrorCodeGroupProcessor [ignite]

csmithmtb opened a new issue, #12592:
URL: https://github.com/apache/ignite/issues/12592

   I'm using the latest Spring Tools for Eclipse 5.0 and I'm getting an exception in the Eclipse's Java Builder for my Maven project that includes the ignite3-jdbc:3.1.0 dependency. 
   
   When I look in the Eclipse logs, I see an exception (below) that looks like Eclipse is picking up Ignite3 library in the class path with ErrorCodeGroupProcessor class and there is an incompatibility with the JustJ OpenJDK version of Java 25.  I also saw this same issue with a slightly older version Spring Tool Suite using JustJ OpenJDK 21 version.  
   
   
   
   Eclipse log:
   java.lang.IllegalArgumentException
   	at jdk.compiler/com.sun.source.util.Trees.instance(Trees.java:84)
   	at org.apache.ignite.internal.error.code.processor.ErrorCodeGroupProcessor.init(ErrorCodeGroupProcessor.java:64)
   	at org.eclipse.jdt.internal.apt.pluggable.core.dispatch.IdeAnnotationProcessorManager.discoverNextProcessor(IdeAnnotationProcessorManager.java:91)
   	at org.eclipse.jdt.internal.compiler.apt.dispatch.RoundDispatcher.round(RoundDispatcher.java:120)
   	at org.eclipse.jdt.internal.compiler.apt.dispatch.BaseAnnotationProcessorManager.processAnnotations(BaseAnnotationProcessorManager.java:177)
   	at org.eclipse.jdt.internal.apt.pluggable.core.dispatch.IdeAnnotationProcessorManager.processAnnotations(IdeAnnotationProcessorManager.java:132)
   	at org.eclipse.jdt.internal.compiler.Compiler.processAnnotations(Compiler.java:859)
   	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:333)
   	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:309)
   	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:486)
   	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:253)
   	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:377)
   	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:118)
   	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:312)
   	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:224)
   	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:1109)
   	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47)
   	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:299)
   	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:355)
   	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:449)
   	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47)
   	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:452)
   	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:564)
   	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:512)
   	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:594)
   	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:208)
   	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:309)
   	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Spring Tools for Eclipse Java build error with Ignite3's ErrorCodeGroupProcessor [ignite]

Posted by "csmithmtb (via GitHub)" <gi...@apache.org>.
csmithmtb commented on issue #12592:
URL: https://github.com/apache/ignite/issues/12592#issuecomment-3702282172

   VS Code Java extension seems to have an issue with ErrorCodeGroupProcessor class too.  Or, at least, it seems so. Without the workaround below, the Java project won't build in VS Code.
   
   A workaround is to exclude "org.apache.ignite:ignite-error-code-annotation-processor" library (I'm using Maven) and problems with Eclipse/SpringTools and VS Code go away.  While the applications seem to run ok, I don't know if there would be any hidden issues with error processing without that library.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org