I got this exception when rendering, is strage, the problem is that I am using several worlds, one for chossing a craft, one for a trailer one for the menu and one for the game.
The switchs of worlds works good except when entering to the game.
The World of the game is received from the networks using an object with an int, a world and a String as fields, from this object I receive the World to render, but I got his:
Exception in thread "Thread-2" java.lang.NullPointerException
at com.threed.jpct.Object3D.transformVertices(Unknown Source)
at com.threed.jpct.World.renderScene(Unknown Source)
at Flier_Match.FMCliente.RenderThread.mostrarImagen(RenderThread.java:391)
at Flier_Match.FMCliente.RenderThread.run(RenderThread.java:156)
Neither the World nor the FrameBuffer are null, I already tested that, the Object is being transmited well, because I tested the int and the string that came along with the world, I dont know what can it be?
When receiving the world I tested it by getting the objects using getObjectByName ("whatever") and comparing them with null to see if the World was empty, but no. it had all the objects3D byt appears that exception.