java.lang.NullPointerException

GitHub | RomainGuider | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.eclipse.acceleo.query.parser.AstValidator.validate()
  2. org.eclipse.acceleo
    AstValidator.validate
    1. org.eclipse.acceleo.query.parser.AstValidator.validate(AstValidator.java:871)
    1 frame
  3. org.obeonetwork.m2doc
    TemplateSwitch.doSwitch
    1. org.obeonetwork.m2doc.generator.TemplateValidator.caseConditionnal(TemplateValidator.java:159)
    2. org.obeonetwork.m2doc.generator.TemplateValidator.caseConditionnal(TemplateValidator.java:1)
    3. org.obeonetwork.m2doc.template.util.TemplateSwitch.doSwitch(TemplateSwitch.java:94)
    3 frames
  4. 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
  5. org.obeonetwork.m2doc
    TemplateSwitch.doSwitch
    1. org.obeonetwork.m2doc.generator.TemplateValidator.caseRepetition(TemplateValidator.java:289)
    2. org.obeonetwork.m2doc.generator.TemplateValidator.caseRepetition(TemplateValidator.java:1)
    3. org.obeonetwork.m2doc.template.util.TemplateSwitch.doSwitch(TemplateSwitch.java:102)
    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:139)
    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
    GenerateHandler.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.generate(GenconfToDocumentGenerator.java:127)
    6. org.obeonetwork.m2doc.api.GenconfToDocumentGenerator.generate(GenconfToDocumentGenerator.java:93)
    7. org.obeonetwork.m2doc.ui.command.GenerateHandler.execute(GenerateHandler.java:66)
    7 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.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
  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