Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

26. May 2012, 08:59:33 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)After updateing to day Xith does not work
Pages: [1]
Print
Author Topic: After updateing to day Xith does not work  (Read 950 times)
Dori
Enjoying the stay
*
Offline Offline

Posts: 90


View Profile
« on: 24. March 2007, 06:03:58 pm »

I get this message when I lunch anything Xith related. My game, Xith3DTestLuncher all of the test there, both lwjgl and jogl, fullscreen and window mode.

Code:
Exception in thread "main" java.lang.NullPointerException
at org.xith3d.render.prerender.ShapeAtom.updateShaders(ShapeAtom.java:294)
at org.xith3d.render.prerender.FrustumCuller.addShapeAtom(FrustumCuller.java:236)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:314)
at org.xith3d.render.prerender.FrustumCuller.cullGroupAtoms(FrustumCuller.java:196)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:306)
at org.xith3d.render.prerender.FrustumCuller.cullGroupAtoms(FrustumCuller.java:196)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:306)
at org.xith3d.render.prerender.FrustumCuller.cullGroupAtoms(FrustumCuller.java:196)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:306)
at org.xith3d.render.prerender.FrustumCuller.cullGroupAtoms(FrustumCuller.java:196)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:306)
at org.xith3d.render.prerender.FrustumCuller.cullGroupAtoms(FrustumCuller.java:196)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:306)
at org.xith3d.render.prerender.FrustumCuller.cullGroupAtoms(FrustumCuller.java:196)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:306)
at org.xith3d.render.prerender.FrustumCuller.cullLayeredNodeAtoms(FrustumCuller.java:97)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:259)
at org.xith3d.render.prerender.FrustumCuller.cullGroupAtoms(FrustumCuller.java:196)
at org.xith3d.render.prerender.FrustumCuller.cullNodeAtoms(FrustumCuller.java:306)
at org.xith3d.render.prerender.FrustumCuller.cullAtoms(FrustumCuller.java:333)
at org.xith3d.render.prerender.FrustumCuller.cullAtoms(FrustumCuller.java:379)
at org.xith3d.render.prerender.FrustumCuller.cullAtoms(FrustumCuller.java:400)
at org.xith3d.render.prerender.FrustumCuller.cullAtoms(FrustumCuller.java:419)
at org.xith3d.render.DefaultRenderer.renderOnceInternal(DefaultRenderer.java:421)
at org.xith3d.render.DefaultRenderer.renderOnce(DefaultRenderer.java:480)
at org.xith3d.render.base.Xith3DEnvironment.render(Xith3DEnvironment.java:411)
at org.xith3d.render.loop.RenderLoop.renderNextFrame(RenderLoop.java:559)
at org.xith3d.render.loop.RenderLoop.loopIteration(RenderLoop.java:582)
at org.xith3d.render.loop.RenderLoop.update(RenderLoop.java:635)
at org.xith3d.render.loop.UpdatingThread.nextIteration(UpdatingThread.java:175)
at org.xith3d.render.loop.RenderLoop.loop(RenderLoop.java:691)
at org.xith3d.render.loop.UpdatingThread.run(UpdatingThread.java:223)
at org.xith3d.render.loop.RenderLoop.run(RenderLoop.java:712)
at org.xith3d.render.loop.RenderLoop.begin(RenderLoop.java:765)
at mygame.MyGame.<init>(MyGame.java:270)
at mygame.MyGame.main(MyGame.java:281)
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 24. March 2007, 06:42:46 pm »

Hmm... very strange, that this bug hasn't arised during my yesterday's tests Huh

Anyway... it's fixed now.

Marvin
Logged
Dori
Enjoying the stay
*
Offline Offline

Posts: 90


View Profile
« Reply #2 on: 24. March 2007, 11:58:18 pm »

I have still some trouble after this update. The bug above is gone but I can only run the game in RUN_IN_SAME_THREAD else the game freezes after hud is initialized, no threaded code is running on in my game, only menu waiting to start the game.
Also in the game I have Rectangle which switches texture each tick and it only switched randomly, this code has been working over a month now and no trouble until today and is called by the update thread and in RUN_IN_SAME_THREAD that is the same as the render thread so it is probably not threading issue.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #3 on: 25. March 2007, 12:06:50 am »

I have still some trouble after this update. The bug above is gone but I can only run the game in RUN_IN_SAME_THREAD else the game freezes after hud is initialized, no threaded code is running on in my game, only menu waiting to start the game.
Also in the game I have Rectangle which switches texture each tick and it only switched randomly, this code has been working over a month now and no trouble until today and is called by the update thread and in RUN_IN_SAME_THREAD that is the same as the render thread so it is probably not threading issue.

Could you maybe send me a recent version of your game? Or what ever I would need to (hopefully) see the bug.

Marvin
Logged
Dori
Enjoying the stay
*
Offline Offline

Posts: 90


View Profile
« Reply #4 on: 25. March 2007, 12:08:26 am »

sure
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic