I was just learning how to use Bonzai Engine and I am getting this error when trying to use MD5 models and animations, and some textures are not loading.
Console output:
OpenGL api: JOGAMP
Viewport(0,0,640,480)
Viewport(0,0,640,480)
Viewport(0,0,640,480)
OpenGL version: 44
Texture read: font-bmf:res/fonts/CourrierNew16_0.tga
Texture loaded: font-bmf:res/fonts/CourrierNew16_0.tga (1)
Texture not read: bob_head_d.tga
Texture not read: bob_helmet_d.tga
Texture not read: bob_body_d.tga
Texture not read: lantern_d.tga
Texture not read: lantern_top_d.tga
Texture read: lantern_top_local.tga
Texture loaded: lantern_top_local.tga (2)
Shader loaded: 280/0
Texture read: bob_head_local.tga
Texture loaded: bob_head_local.tga (3)
Texture read: bob_body_s.tga
Texture read: bob_helmet_s.tga
Texture read: lantern_local.tga
Texture not read: lantern_top_s.tga
Texture not read: lantern_s.tga
Texture read: bob_head_s.tga
Texture read: bob_helmet_local.tga
Texture loaded: lantern_local.tga (4)
Texture loaded: bob_helmet_local.tga (5)
Texture loaded: bob_head_s.tga (6)
Texture loaded: bob_helmet_s.tga (7)
Texture loaded: bob_body_s.tga (8)
Texture read: bob_body_local.tga
Texture read: bob_helmet_h.tga
Texture read: bob_body_h.tga
Texture read: lantern_h.tga
Texture read: lantern_top_h.tga
Split tangents: 1/176
Split tangents: 12/10
Texture loaded: bob_body_h.tga (9)
Texture loaded: lantern_top_h.tga (10)
Texture loaded: bob_body_local.tga (11)
Texture loaded: bob_helmet_h.tga (12)
Texture loaded: lantern_h.tga (13)
Texture read: bob_head_h.tga
Shader loaded: 4002a0/0
Split tangents: 80/26
Split tangents: 63/15
Split tangents: 392/236
java.lang.NullPointerException
at com.bonzaiengine.model.SkinData.skinVerticesCpu(Unknown Source)
at com.bonzaiengine.model.GeometryData.onVerticesAccess(Unknown Source)
at p.bb.a(Unknown Source)
at p.bb.a(Unknown Source)
at p.bb.a(Unknown Source)
at p.bb.a(Unknown Source)
at p.bb.a(Unknown Source)
at com.bonzaiengine.renderer.RendererPipeline.renderModelSolid(Unknown Source)
at p.bf.a(Unknown Source)
at com.bonzaiengine.renderer.RendererPipeline.render(Unknown Source)
at com.bonzaiengine.renderer.RendererPipeline.render(Unknown Source)
at com.bonzaiengine.renderer.RendererPipeline.render(Unknown Source)
at com.bonzaiengine.model.ModelInstance.render(Unknown Source)
at tut1.ModelLoader.render(ModelLoader.java:232)
at com.bonzaiengine.scene.SceneView.render(Unknown Source)
at com.bonzaiengine.scene.Scene.render(Unknown Source)
at p.bt.display(Unknown Source)
at com.bonzaiengine.scene.target.jogl2.NativeWindow_jogl2.display(Unknown Source)
at jogamp.opengl.GLDrawableHelper.displayImpl(Unknown Source)
at jogamp.opengl.GLDrawableHelper.display(Unknown Source)
at jogamp.opengl.GLAutoDrawableBase$2.run(Unknown Source)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(Unknown Source)
at jogamp.opengl.GLDrawableHelper.invokeGL(Unknown Source)
at com.jogamp.newt.opengl.GLWindow.display(Unknown Source)
at com.bonzaiengine.scene.target.jogl2.NativeWindow_jogl2.onDisplay(Unknown Source)
at com.bonzaiengine.opengl.RenderLoop$a.run(Unknown Source)
Texture loaded: bob_head_h.tga (14)
Shader loaded: 44002a0/0