I am unable to load up an md2 model i end up getting a null pointer exception… here is the stack trace
java.lang.NullPointerException
at java.io.Reader.(Reader.java:61)
at java.io.InputStreamReader.(InputStreamReader.java:55)
at org.newdawn.xith3d.loaders.cio.ByteArrayBuilder.fromStream(ByteArrayBuilder.java:22)
at org.newdawn.xith3d.loaders.pcx.PCXLoader.(PCXLoader.java:35)
at org.newdawn.xith3d.loaders.md2.MD2Loader.load(MD2Loader.java:73)
at org.newdawn.xith3d.loaders.md2.MD2Loader.load(MD2Loader.java:52)
at ClientGraphics3D.GraphicCharacter.loadModel(GraphicCharacter.java:204)
at ClientGraphics3D.GraphicCharacter.(GraphicCharacter.java:97)
at MyClient.initCustomComponents(MyClient.java:180)
at MyClient.(MyClient.java:40)
at MyClient.main(MyClient.java:172)
ANy and all help will be appreciated.
-Mmontalvo