APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Help with a problem please

Return to the EJS Modeling forum
Login to post to this thread

Help with a problem
Peio IƱurrigarro
1 Posts

Hello,

I'm a new user of the program. I have done a simulation of the solar system in 3 dimensions and sometimes when I rotate the view I get this error (copied from console):


Exception in thread "Thread-2" java.lang.NullPointerException
at org.opensourcephysics.drawing3d.simple3d.SimpleElementTrail.computePositions(Unknown Source)
at org.opensourcephysics.drawing3d.simple3d.SimpleElementTrail.processChanges(Unknown Source)
at org.opensourcephysics.drawing3d.Element.processChanges(Unknown Source)
at org.opensourcephysics.drawing3d.ElementTrail.processChanges(Unknown Source)
at org.opensourcephysics.drawing3d.Group.processChanges(Unknown Source)
at org.opensourcephysics.drawing3d.Group.processChanges(Unknown Source)
at org.opensourcephysics.drawing3d.simple3d.SimpleDrawingPanel3D.paintDrawableList(Unknown Source)
at org.opensourcephysics.drawing3d.simple3d.SimpleDrawingPanel3D.paintEverything(Unknown Source)
at org.opensourcephysics.drawing3d.simple3d.SimpleDrawingPanel3D.render(Unknown Source)
at org.opensourcephysics.drawing3d.simple3d.SimpleDrawingPanel3D.render(Unknown Source)
at org.opensourcephysics.drawing3d.DrawingPanel3D.render(Unknown Source)
at org.colos.ejs.library.control.drawing3d.ControlDrawingPanel3D.finalUpdate(Unknown Source)
at org.colos.ejs.library.control.EjsControl.finalUpdate(Unknown Source)
at org.colos.ejs.library.Animation.update(Unknown Source)
at org.colos.ejs.library.Animation.step(Unknown Source)
at org.colos.ejs.library.Animation.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


It doesn't happen always in the same evolution step, sometimes it happens sooner and other times it takes more time to happen.

I don't know how to fix it so I would appreciate some help.

Thank you very much,

Peio.

Attached File: solarsystem.rar


Current Replies - View all
Re: Help with a problem   (juan camilo - )
Re: Re: Help with a probl...   (Francisco Esquembre - )
OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book