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 benoitgaudou
, 3 months ago
java.lang.NullPointerException at msi.gama.metamodel.shape.GamaProxyGeometry.euclidianDistanceTo(GamaProxyGeometry.java:310) at msi.gama.metamodel.agent.AbstractAgent.euclidianDistanceTo(AbstractAgent.java:131) at msi.gama.metamodel.topology.continuous.ContinuousTopology.distanceBetween(ContinuousTopology.java:122) at msi.gaml.operators.Spatial$Relations.distance_to(Spatial.java:2901) at gaml.additions.GamlAdditions$670.run(GamlAdditions.java:733) at gaml.additions.GamlAdditions$670.run(GamlAdditions.java:1) at msi.gaml.expressions.BinaryOperator.value(BinaryOperator.java:77) at msi.gaml.operators.Spatial$Common.using(Spatial.java:144) at gaml.additions.GamlAdditions$810.run(GamlAdditions.java:873) at msi.gaml.expressions.BinaryOperator.value(BinaryOperator.java:77) at msi.gaml.statements.SetStatement.privateExecuteIn(SetStatement.java:118) at msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41) at msi.gaml.statements.AbstractStatementSequence.privateExecuteIn(AbstractStatementSequence.java:57) at msi.gaml.statements.AbstractStatementSequenceWithArgs.privateExecuteIn(AbstractStatementSequenceWithArgs.java:57) at msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41) at msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43) at msi.gaml.statements.DoStatement.privateExecuteIn(DoStatement.java:249) at msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41) at msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43) at msi.gaml.statements.AbstractStatementSequence.privateExecuteIn(AbstractStatementSequence.java:57) at msi.gaml.statements.RemoteSequence.privateExecuteIn(RemoteSequence.java:45) at msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41) at msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43) at msi.gama.runtime.ExecutionScope.execute(ExecutionScope.java:380) at msi.gama.runtime.concurrent.GamaExecutorService.execute(GamaExecutorService.java:201) at msi.gama.runtime.concurrent.GamaExecutorService.execute(GamaExecutorService.java:216) at msi.gaml.statements.AskStatement.privateExecuteIn(AskStatement.java:126) at msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41) at msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43) at msi.gaml.statements.AbstractStatementSequence.privateExecuteIn(AbstractStatementSequence.java:57) at msi.gaml.architecture.reflex.ReflexStatement.privateExecuteIn(ReflexStatement.java:80) at msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41) at msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43) at msi.gaml.architecture.reflex.ReflexArchitecture.init(ReflexArchitecture.java:112) at msi.gama.metamodel.agent.AbstractAgent.init(AbstractAgent.java:238) at msi.gama.metamodel.agent.MinimalAgent._init_(MinimalAgent.java:242) at msi.gama.kernel.simulation.SimulationAgent._init_(SimulationAgent.java:293) at msi.gaml.statements.CreateStatement.createAgents(CreateStatement.java:485) at msi.gaml.statements.CreateStatement.privateExecuteIn(CreateStatement.java:434) at msi.gaml.statements.CreateStatement.privateExecuteIn(CreateStatement.java:1) at msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41) at msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43) at msi.gaml.statements.AbstractStatementSequence.privateExecuteIn(AbstractStatementSequence.java:57) at msi.gaml.architecture.reflex.ReflexStatement.privateExecuteIn(ReflexStatement.java:80) at msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41) at msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43) at msi.gaml.architecture.reflex.ReflexArchitecture.init(ReflexArchitecture.java:112) at msi.gama.metamodel.agent.AbstractAgent.init(AbstractAgent.java:238) at msi.gama.metamodel.agent.MinimalAgent._init_(MinimalAgent.java:242) at msi.gama.kernel.simulation.SimulationAgent._init_(SimulationAgent.java:293) at msi.gama.metamodel.agent.MinimalAgent.init(MinimalAgent.java:206) at msi.gama.runtime.ExecutionScope.lambda$3(ExecutionScope.java:435) at msi.gama.runtime.ExecutionScope.runAndCatch(ExecutionScope.java:459) at msi.gama.runtime.ExecutionScope.pushRunAndCatch(ExecutionScope.java:450) at msi.gama.runtime.ExecutionScope.init(ExecutionScope.java:435) at msi.gama.metamodel.agent.AbstractAgent.schedule(AbstractAgent.java:357) at msi.gama.kernel.simulation.SimulationAgent.schedule(SimulationAgent.java:270) at msi.gama.kernel.simulation.SimulationPopulation.initSimulation(SimulationPopulation.java:112) at msi.gama.kernel.simulation.SimulationPopulation.createAgents(SimulationPopulation.java:92) at msi.gama.kernel.experiment.ExperimentAgent.createSimulation(ExperimentAgent.java:286) at msi.gama.kernel.experiment.ExperimentAgent._init_(ExperimentAgent.java:241) at msi.gama.metamodel.agent.MinimalAgent.init(MinimalAgent.java:206) at msi.gama.kernel.experiment.ExperimentAgent.init(ExperimentAgent.java:253) at msi.gama.runtime.ExecutionScope.lambda$3(ExecutionScope.java:435) at msi.gama.runtime.ExecutionScope.runAndCatch(ExecutionScope.java:459) at msi.gama.runtime.ExecutionScope.pushRunAndCatch(ExecutionScope.java:450) at msi.gama.runtime.ExecutionScope.init(ExecutionScope.java:435) at msi.gama.kernel.experiment.ExperimentScheduler.schedule(ExperimentScheduler.java:161) at msi.gama.kernel.experiment.ExperimentAgent.schedule(ExperimentAgent.java:306) at msi.gama.kernel.experiment.ExperimentPlan.open(ExperimentPlan.java:476) at msi.gama.kernel.experiment.ExperimentController.lambda$0(ExperimentController.java:90) at java.lang.Thread.run(Thread.java:748)