Description of problem:
I installed the Eclipse IDE for Enterprise Java and Web Developers 2024-03 M3. After installing some JBoss Tools from the nightly update site, I imported my Java EE projects.
I got a popup about the CDI builder and a NoSuchMethodError.
Workaround
I suppose you could deactivate the CDI Builder if you were willing to do that. But I didn't try.
Actual results:
Popup with error message about CDI Builder.
Expected results:
CDI builder working quietly in the background without bothering me.
My wish would be that JBoss Tools does not depend on internal JDT classes because those are subject to change without notice.
Reproducibility (Always/Intermittent/Only Once): Always
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):
Stacktrace:
java.lang.NoSuchMethodError: 'java.lang.Object org.eclipse.jdt.internal.core.JavaElement.getElementInfo()' at org.jboss.tools.common.java.impl.ValueResolver.getFieldInitialValue(ValueResolver.java:215) at org.jboss.tools.common.java.impl.ValueResolver.setFieldInitialValueToConstant(ValueResolver.java:195) at org.jboss.tools.common.java.impl.ValueResolver$ReferenceResolver.resolveReference(ValueResolver.java:537) at org.jboss.tools.common.java.impl.ValueResolver.resolve(ValueResolver.java:173) at org.jboss.tools.common.java.impl.ValueResolver.resolvePair(ValueResolver.java:111) at org.jboss.tools.common.java.impl.AnnotationDeclaration.setDeclaration(AnnotationDeclaration.java:52) at org.jboss.tools.cdi.internal.core.impl.definition.AbstractMemberDefinition.addAnnotation(AbstractMemberDefinition.java:112) at org.jboss.tools.cdi.internal.core.impl.definition.AbstractMemberDefinition.init(AbstractMemberDefinition.java:104) at org.jboss.tools.cdi.internal.core.impl.definition.AbstractTypeDefinition.init(AbstractTypeDefinition.java:75) at org.jboss.tools.cdi.internal.core.impl.definition.AnnotationDefinition.init(AnnotationDefinition.java:76) at org.jboss.tools.cdi.internal.core.impl.definition.AbstractMemberDefinition.setAnnotatable(AbstractMemberDefinition.java:64) at org.jboss.tools.cdi.internal.core.impl.definition.AbstractTypeDefinition.setType(AbstractTypeDefinition.java:69) at org.jboss.tools.cdi.internal.core.impl.definition.DefinitionContext.createAnnotation(DefinitionContext.java:349) at org.jboss.tools.cdi.internal.core.impl.definition.DefinitionContext.getAnnotationKind(DefinitionContext.java:343) at org.jboss.tools.cdi.internal.core.scanner.CDIBuilderDelegate.build(CDIBuilderDelegate.java:78) at org.jboss.tools.cdi.internal.core.scanner.CDIBuilderDelegate.build(CDIBuilderDelegate.java:64) at org.jboss.tools.cdi.core.CDICoreBuilder.invokeBuilderDelegates(CDICoreBuilder.java:470) at org.jboss.tools.cdi.core.CDICoreBuilder.fullBuild(CDICoreBuilder.java:380) at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:264) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:1077) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:296) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:352) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:441) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:444) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:555) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:503) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:585) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:207) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:300) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)