java.lang.NullPointerException

GitHub | agrignard | 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 msi.gama.metamodel.agent.AgentIdentifier.getAgent()
  2. msi.gama.metamodel
    AgentIdentifier.getAgent
    1. msi.gama.metamodel.agent.AgentIdentifier.getAgent(AgentIdentifier.java:56)
    1 frame
  3. ummisco.gama.opengl
    JOGLRenderer.display
    1. ummisco.gama.opengl.SWTOpenGLDisplaySurface.selectAgent(SWTOpenGLDisplaySurface.java:581)
    2. ummisco.gama.opengl.scene.AbstractObject.draw(AbstractObject.java:156)
    3. ummisco.gama.opengl.scene.LayerObject.drawPicking(LayerObject.java:213)
    4. ummisco.gama.opengl.scene.LayerObject.drawWithoutShader(LayerObject.java:155)
    5. ummisco.gama.opengl.scene.LayerObject.draw(LayerObject.java:98)
    6. ummisco.gama.opengl.scene.ModelScene.draw(ModelScene.java:168)
    7. ummisco.gama.opengl.JOGLRenderer.drawScene(JOGLRenderer.java:330)
    8. ummisco.gama.opengl.JOGLRenderer.display(JOGLRenderer.java:233)
    8 frames
  4. JOGL
    GLDrawableHelper.display
    1. jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
    2. jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:677)
    2 frames
  5. com.jogamp.opengl
    GLCanvas$2.run
    1. com.jogamp.opengl.swt.GLCanvas$2.run(GLCanvas.java:159)
    1 frame
  6. JOGL
    GLDrawableHelper.invokeGL
    1. jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
    2. jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
    2 frames
  7. com.jogamp.opengl
    GLCanvas.display
    1. com.jogamp.opengl.swt.GLCanvas$3.run(GLCanvas.java:171)
    2. com.jogamp.opengl.swt.GLCanvas.runInGLThread(GLCanvas.java:959)
    3. com.jogamp.opengl.swt.GLCanvas.display(GLCanvas.java:658)
    3 frames
  8. JOGL
    GLDrawableHelper.invoke
    1. jogamp.opengl.GLDrawableHelper.invoke(GLDrawableHelper.java:912)
    1 frame
  9. com.jogamp.opengl
    GLCanvas.invoke
    1. com.jogamp.opengl.swt.GLCanvas.invoke(GLCanvas.java:789)
    1 frame
  10. ummisco.gama.opengl
    AbstractCamera.mouseDown
    1. ummisco.gama.opengl.camera.AbstractCamera.mouseDown(AbstractCamera.java:278)
    1 frame
  11. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:192)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
    4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
    5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
    6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
    7. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
    8. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
    9. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
    9 frames
  12. Eclipse Workbench SWT
    PartRenderingEngine$4.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
    1 frame
  13. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    1 frame
  14. Eclipse Workbench SWT
    PartRenderingEngine.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
    1 frame
  15. Eclipse Workbench
    E4Workbench.createAndRunUI
    1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
    1 frame
  16. Eclipse UI
    Workbench$5.run
    1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
    1 frame
  17. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    1 frame
  18. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
    1 frame
  19. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    1 frame
  20. msi.gama.application
    Application.start
    1. msi.gama.application.Application.start(Application.java:43)
    1 frame
  21. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  22. 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:380)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    4 frames
  23. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  24. Equinox
    Main.main
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1515)
    4. org.eclipse.equinox.launcher.Main.main(Main.java:1488)
    4 frames