Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-29174

Exception in Contexts and Dependency Injection Tools with Eclipse 2024/03

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 4.29.1.Final
    • 4.29.0.Final, 4.29.1.Final
    • cdi
    • None
    • ---

      Description of problem:

      Start a project build with CDI tools / builder enabled.

      Prerequisites (if any, like setup, operators/versions):

      Worked with Eclipse 2023/12, with update to Eclipse 2024/03 the code fails. I had version 1.10.500 of the CDI tools and then tried the nightly build https://tools.jboss.org/downloads/jbosstools/2023-12/4.30.x.Nightly.html (updated CDI tools to 1.10.600). Both lead to same error.

      Actual results:

       

      !MESSAGE An internal error occurred during: "JBoss Tools Model Update". !STACK 0 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:550)         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.jsf.jsf2.bean.model.impl.AbstractMemberDefinition.addAnnotation(AbstractMemberDefinition.java:79)         at org.jboss.tools.jsf.jsf2.bean.model.impl.AbstractMemberDefinition.init(AbstractMemberDefinition.java:72)         at org.jboss.tools.jsf.jsf2.bean.model.impl.AbstractTypeDefinition.init(AbstractTypeDefinition.java:51)         at org.jboss.tools.jsf.jsf2.bean.model.impl.AbstractMemberDefinition.setAnnotatable(AbstractMemberDefinition.java:52)         at org.jboss.tools.jsf.jsf2.bean.model.impl.AbstractTypeDefinition.setType(AbstractTypeDefinition.java:45)         at org.jboss.tools.jsf.jsf2.bean.build.JSF2ProjectBuilder.build(JSF2ProjectBuilder.java:261)         at org.jboss.tools.jsf.jsf2.bean.build.JSF2ProjectBuilder.fullBuild(JSF2ProjectBuilder.java:192)         at org.jboss.tools.jsf.jsf2.bean.build.JSF2ProjectBuilder.build(JSF2ProjectBuilder.java:153)         at org.jboss.tools.jsf.jsf2.bean.build.JSF2ProjectBuilder.<init>(JSF2ProjectBuilder.java:73)         at org.jboss.tools.jsf.jsf2.bean.model.impl.JSF2Project.build(JSF2Project.java:153)         at org.jboss.tools.jst.web.kb.internal.AbstractKbProjectExtension.load(AbstractKbProjectExtension.java:163)         at org.jboss.tools.jst.web.kb.internal.AbstractKbProjectExtension.resolveStorage(AbstractKbProjectExtension.java:154)         at org.jboss.tools.jst.web.kb.internal.AbstractKbProjectExtension.resolve(AbstractKbProjectExtension.java:148)         at org.jboss.tools.jsf.jsf2.bean.model.impl.JSF2Project$1.run(JSF2Project.java:103)         at org.jboss.tools.common.model.XJob.runInWorkspace(XJob.java:190)         at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43)         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) 

       

      Expected results:

      CDI build without the exception.

      Reproducibility (Always/Intermittent/Only Once):

      Always.

              stephane.bouchet Stephane Bouchet
              tza.at tom zauner (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: