org.eclipse.e4.core.di.InjectionException: org.eclipse.acceleo.query.runtime.AcceleoQueryValidationException: An internal error occured during validation of a query

GitHub | RomainGuider | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 63#245904822

    GitHub | 6 months ago | RomainGuider
    org.eclipse.e4.core.di.InjectionException: org.eclipse.acceleo.query.runtime.AcceleoQueryValidationException: An internal error occured during validation of a query

    Root Cause Analysis

    1. java.lang.IllegalStateException

      don't know what to do with null

      at org.eclipse.acceleo.query.services.EObjectServices$EObjectFeatureAccess.featureAccessTypes()
    2. org.eclipse.acceleo
      AstSwitch.doSwitch
      1. org.eclipse.acceleo.query.services.EObjectServices$EObjectFeatureAccess.featureAccessTypes(EObjectServices.java:233)
      2. org.eclipse.acceleo.query.services.EObjectServices$EObjectFeatureAccess.getType(EObjectServices.java:198)
      3. org.eclipse.acceleo.query.runtime.impl.ValidationServices.callType(ValidationServices.java:151)
      4. org.eclipse.acceleo.query.runtime.impl.ValidationServices.callOrApplyTypes(ValidationServices.java:218)
      5. org.eclipse.acceleo.query.parser.AstValidator.caseCall(AstValidator.java:275)
      6. org.eclipse.acceleo.query.parser.AstValidator.caseCall(AstValidator.java:1)
      7. org.eclipse.acceleo.query.ast.util.AstSwitch.doSwitch(AstSwitch.java:118)
      7 frames
    3. org.eclipse.emf.ecore
      Switch.doSwitch
      1. org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:53)
      2. org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:69)
      2 frames
    4. org.eclipse.acceleo
      AstValidator.validate
      1. org.eclipse.acceleo.query.parser.AstValidator.validate(AstValidator.java:871)
      1 frame
    5. org.obeonetwork.m2doc
      TemplateSwitch.doSwitch
      1. org.obeonetwork.m2doc.generator.TemplateValidator.caseQuery(TemplateValidator.java:309)
      2. org.obeonetwork.m2doc.generator.TemplateValidator.caseQuery(TemplateValidator.java:1)
      3. org.obeonetwork.m2doc.template.util.TemplateSwitch.doSwitch(TemplateSwitch.java:110)
      3 frames
    6. org.eclipse.emf.ecore
      Switch.doSwitch
      1. org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:53)
      2. org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:69)
      2 frames
    7. org.obeonetwork.m2doc
      TemplateSwitch.doSwitch
      1. org.obeonetwork.m2doc.generator.TemplateValidator.caseTemplate(TemplateValidator.java:151)
      2. org.obeonetwork.m2doc.generator.TemplateValidator.caseTemplate(TemplateValidator.java:1)
      3. org.obeonetwork.m2doc.template.util.TemplateSwitch.doSwitch(TemplateSwitch.java:149)
      3 frames
    8. org.eclipse.emf.ecore
      Switch.doSwitch
      1. org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:53)
      2. org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:69)
      2 frames
    9. org.obeonetwork.m2doc
      TemplateSwitch.doSwitch
      1. org.obeonetwork.m2doc.generator.TemplateValidator.caseDocumentTemplate(TemplateValidator.java:136)
      2. org.obeonetwork.m2doc.generator.TemplateValidator.caseDocumentTemplate(TemplateValidator.java:1)
      3. org.obeonetwork.m2doc.template.util.TemplateSwitch.doSwitch(TemplateSwitch.java:192)
      3 frames
    10. org.eclipse.emf.ecore
      Switch.doSwitch
      1. org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:53)
      2. org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:69)
      2 frames
    11. org.obeonetwork.m2doc
      ValidateHandler.execute
      1. org.obeonetwork.m2doc.generator.TemplateValidator.validate(TemplateValidator.java:130)
      2. org.obeonetwork.m2doc.generator.TemplateValidator.validate(TemplateValidator.java:108)
      3. org.obeonetwork.m2doc.generator.TemplateValidator.validate(TemplateValidator.java:92)
      4. org.obeonetwork.m2doc.api.GenconfToDocumentGenerator.validate(GenconfToDocumentGenerator.java:262)
      5. org.obeonetwork.m2doc.api.GenconfToDocumentGenerator.validate(GenconfToDocumentGenerator.java:236)
      6. org.obeonetwork.m2doc.ui.command.ValidateHandler.execute(ValidateHandler.java:65)
      6 frames
    12. Workbench
      E4HandlerProxy.execute
      1. org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
      2. org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      2 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    14. org.eclipse.e4
      HandlerServiceHandler.execute
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)
      4. org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      5. org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
      5 frames
    15. Commands
      ParameterizedCommand.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
      2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488)
      2 frames
    16. org.eclipse.e4
      AbstractContributionItem$3.handleEvent
      1. org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      2. org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:433)
      3. org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:454)
      4. org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem$3.handleEvent(AbstractContributionItem.java:482)
      4 frames
    17. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4410)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4228)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3816)
      5 frames
    18. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      1 frame
    19. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      1 frame
    20. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      1 frame
    21. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      1 frame
    22. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
      1 frame
    23. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      1 frame
    24. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
      1 frame
    25. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      1 frame
    26. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      1 frame
    27. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    28. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      4 frames
    29. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    30. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1519)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1492)
      4 frames