URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       Mobile AR Framework Support Forum
  HTML https://mobilear.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: Outdoor AR Library
       *****************************************************
       #Post#: 46--------------------------------------------------
       Failed to load scene details / model information
   DIR By: toni.rasanen
       Date: March 28, 2016, 5:02 pm
       ---------------------------------------------------------
       Hello
       I'm getting the following error while loading scenes to the AR
       view. The error occurs once for each scene (I have 5 scenes so
       five times). Have anyone seen anything similar?
       java.lang.NullPointerException: Attempt to invoke virtual method
       'boolean java.lang.String.equals(java.lang.Object)' on a null
       object reference at
       com.hitlabnz.androidar.data.representation.loader.MTLOBJLoader.<init>(MTLOBJLoader.java:136)
       at
       com.hitlabnz.androidar.data.representation.loader.LoadingThread.<init>(LoadingThread.java:56)
       at
       com.hitlabnz.androidar.data.representation.SceneGraph.addSceneToNodeTree(SceneGraph.java:1277)
       at
       com.hitlabnz.androidar.data.representation.SceneGraph.updateNodeTrees(SceneGraph.java:1106)
       at
       com.hitlabnz.androidar.data.representation.SceneGraph.render(SceneGraph.java:430)
       at
       com.hitlabnz.androidar.data.renderer.Data3DRenderer.onDrawFrame(Data3DRenderer.java:116)
       at
       android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1535)
       at
       android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
       I have a very basic setup using 3DModels from the
       SampleOAComponent project. I'm creating the scene objects
       programmatically and I use DataManager's addScenes method to add
       them to the view (getDataManager().addScenes(scenes)). The
       scenes show up in the compass, but the scene models are not
       shown in the view.
       I have tried to run this on Android 5.1.1 and 6.0.1 devices.
       Any tips would be greatly appreciated!
       Cheers,
       Toni
       *****************************************************
       Page 1 of 1