TestParticleSystem fail on bounding?

Hello,

I’m in the process of updating my codebase and came across a gnarly error on an manager.getParticles().updateModelBound();



I thought I’d changed something somewhere, but found that the jmetest.effects.TestParticleSystem fails on the exact same line.



Any clues?

Other particle ones work ok, so I’m tryin gto narrow down what the difference in setup is?



ty,

sv



19-Jun-2005 05:42:07 com.jme.app.BaseGame start

INFO: Application started.

19-Jun-2005 05:42:07 com.jme.system.PropertiesIO <init>

INFO: PropertiesIO created

19-Jun-2005 05:42:07 com.jme.system.PropertiesIO load

INFO: Read properties

19-Jun-2005 05:42:09 com.jme.system.lwjgl.LWJGLDisplaySystem <init>

INFO: LWJGL Display System created.

19-Jun-2005 05:42:09 com.jme.system.PropertiesIO save

INFO: Saved properties

19-Jun-2005 05:42:09 com.jme.system.lwjgl.LWJGLDisplaySystem <init>

INFO: LWJGL Display System created.

19-Jun-2005 05:42:09 com.jme.renderer.lwjgl.LWJGLRenderer <init>

INFO: LWJGLRenderer created. W: 1024H: 768

19-Jun-2005 05:42:09 com.jme.renderer.AbstractCamera <init>

INFO: Camera created.

19-Jun-2005 05:42:09 com.jme.util.lwjgl.LWJGLTimer <init>

INFO: Timer resolution: 1000 ticks per second

19-Jun-2005 05:42:09 com.jme.scene.Node <init>

INFO: Node created.

19-Jun-2005 05:42:09 com.jme.scene.Node <init>

INFO: Node created.

19-Jun-2005 05:42:09 com.jme.scene.Node attachChild

INFO: Child (FPS label) attached to this node (FPS node)

java.lang.NullPointerException

at com.jme.bounding.BoundingSphere.recurseMini(BoundingSphere.java:231)

at com.jme.bounding.BoundingSphere.calcWelzl(BoundingSphere.java:191)

at com.jme.bounding.BoundingSphere.computeFromPoints(BoundingSphere.java:172)

at com.jme.scene.Geometry.updateModelBound(Geometry.java:780)

at jmetest.effects.TestParticleSystem.simpleInitGame(TestParticleSystem.java:128)

at com.jme.app.SimpleGame.initGame(SimpleGame.java:342)

at com.jme.app.BaseGame.start(BaseGame.java:63)

at jmetest.effects.TestParticleSystem.main(TestParticleSystem.java:59)

19-Jun-2005 05:42:10 com.jme.app.SimpleGame cleanup

INFO: Cleaning up resources.

19-Jun-2005 05:42:10 com.jme.app.BaseGame start

INFO: Application ending.

Fixed, thanks for the report.