java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by agrignard
, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at msi.gama.metamodel.topology.grid.GamaSpatialMatrix.dispose(GamaSpatialMatrix.java:117)
at msi.gama.metamodel.topology.grid.GridTopology.dispose(GridTopology.java:270)
at msi.gama.metamodel.population.GamaPopulation.dispose(GamaPopulation.java:272)
at msi.gama.metamodel.agent.GamlAgent.dispose(GamlAgent.java:209)
at msi.gama.kernel.simulation.SimulationAgent.dispose(SimulationAgent.java:312)
at msi.gama.metamodel.population.GamaPopulation.killMembers(GamaPopulation.java:616)
at msi.gama.metamodel.population.GamaPopulation.dispose(GamaPopulation.java:268)
at msi.gama.kernel.simulation.SimulationPopulation.dispose(SimulationPopulation.java:109)
at msi.gama.kernel.experiment.ExperimentAgent.closeSimulations(ExperimentAgent.java:157)
at msi.gama.kernel.experiment.ExperimentAgent.dispose(ExperimentAgent.java:177)
at msi.gama.kernel.experiment.ExperimentPlan.dispose(ExperimentPlan.java:199)
at msi.gama.kernel.experiment.ExperimentController.closeExperiment(ExperimentController.java:266)
at msi.gama.kernel.experiment.ExperimentController.close(ExperimentController.java:256)
at msi.gama.runtime.GAMA.closeAllExperiments(GAMA.java:173)
at msi.gama.runtime.GAMA.runGuiExperiment(GAMA.java:89)
at msi.gama.lang.gaml.ui.utils.ModelRunner.runModel(ModelRunner.java:96)
at msi.gama.lang.gaml.ui.utils.ModelRunner.runModel(ModelRunner.java:136)
at msi.gama.lang.gaml.ui.editor.toolbar.OpenExperimentSelectionListener.widgetSelected(OpenExperimentSelectionListener.java:62)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
at ummisco.gama.ui.controls.FlatButton.doButtonClicked(FlatButton.java:144)
at ummisco.gama.ui.controls.FlatButton.handleEvent(FlatButton.java:103)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
at msi.gama.application.Application.start(Application.java:43)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.