java.lang.NullPointerException

GitHub | agrignard | 7 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at msi.gama.metamodel.topology.grid.GamaSpatialMatrix.dispose()
  2. msi.gama.metamodel
    GamlAgent.dispose
    1. msi.gama.metamodel.topology.grid.GamaSpatialMatrix.dispose(GamaSpatialMatrix.java:117)
    2. msi.gama.metamodel.topology.grid.GridTopology.dispose(GridTopology.java:270)
    3. msi.gama.metamodel.population.GamaPopulation.dispose(GamaPopulation.java:272)
    4. msi.gama.metamodel.agent.GamlAgent.dispose(GamlAgent.java:209)
    4 frames
  3. msi.gama.kernel
    SimulationAgent.dispose
    1. msi.gama.kernel.simulation.SimulationAgent.dispose(SimulationAgent.java:312)
    1 frame
  4. msi.gama.metamodel
    GamaPopulation.dispose
    1. msi.gama.metamodel.population.GamaPopulation.killMembers(GamaPopulation.java:616)
    2. msi.gama.metamodel.population.GamaPopulation.dispose(GamaPopulation.java:268)
    2 frames
  5. msi.gama.kernel
    ExperimentController.close
    1. msi.gama.kernel.simulation.SimulationPopulation.dispose(SimulationPopulation.java:109)
    2. msi.gama.kernel.experiment.ExperimentAgent.closeSimulations(ExperimentAgent.java:157)
    3. msi.gama.kernel.experiment.ExperimentAgent.dispose(ExperimentAgent.java:177)
    4. msi.gama.kernel.experiment.ExperimentPlan.dispose(ExperimentPlan.java:199)
    5. msi.gama.kernel.experiment.ExperimentController.closeExperiment(ExperimentController.java:266)
    6. msi.gama.kernel.experiment.ExperimentController.close(ExperimentController.java:256)
    6 frames
  6. msi.gama.runtime
    GAMA.runGuiExperiment
    1. msi.gama.runtime.GAMA.closeAllExperiments(GAMA.java:173)
    2. msi.gama.runtime.GAMA.runGuiExperiment(GAMA.java:89)
    2 frames
  7. msi.gama.lang
    OpenExperimentSelectionListener.widgetSelected
    1. msi.gama.lang.gaml.ui.utils.ModelRunner.runModel(ModelRunner.java:96)
    2. msi.gama.lang.gaml.ui.utils.ModelRunner.runModel(ModelRunner.java:136)
    3. msi.gama.lang.gaml.ui.editor.toolbar.OpenExperimentSelectionListener.widgetSelected(OpenExperimentSelectionListener.java:62)
    3 frames
  8. RWT
    Widget.notifyListeners
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
    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)
    7 frames
  9. ummisco.gama.ui
    FlatButton.handleEvent
    1. ummisco.gama.ui.controls.FlatButton.doButtonClicked(FlatButton.java:144)
    2. ummisco.gama.ui.controls.FlatButton.handleEvent(FlatButton.java:103)
    2 frames
  10. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
    4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
    5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
    6. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
    7. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
    8. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
    8 frames
  11. Eclipse Workbench SWT
    PartRenderingEngine$4.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
    1 frame
  12. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    1 frame
  13. Eclipse Workbench SWT
    PartRenderingEngine.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
    1 frame
  14. Eclipse Workbench
    E4Workbench.createAndRunUI
    1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
    1 frame
  15. Eclipse UI
    Workbench$5.run
    1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
    1 frame
  16. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    1 frame
  17. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
    1 frame
  18. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    1 frame
  19. msi.gama.application
    Application.start
    1. msi.gama.application.Application.start(Application.java:43)
    1 frame
  20. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  21. 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
  22. 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
  23. 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