java.lang.NullPointerException: Attempt to invoke virtual method 'int org.gearvrf.GVRCameraRig.getChildrenCount()' on a null object reference

GitHub | liaxim | 4 months ago
  1. 0

    GitHub comment 827#245324807

    GitHub | 4 months ago | liaxim
    java.lang.NullPointerException: Attempt to invoke virtual method 'int org.gearvrf.GVRCameraRig.getChildrenCount()' on a null object reference
  2. 0

    GitHub comment 827#245331860

    GitHub | 4 months ago | mwitchwilliams
    java.lang.NullPointerException: Attempt to invoke virtual method 'int org.gearvrf.GVRCameraRig.getChildrenCount()' on a null object reference
  3. 0

    GitHub comment 827#245339962

    GitHub | 4 months ago | liaxim
    java.lang.NullPointerException: Attempt to invoke virtual method 'int org.gearvrf.GVRCameraRig.getChildrenCount()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 257#233488785

    GitHub | 6 months ago | rahul27
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List org.gearvrf.scene_objects.GVRModelSceneObject.getAnimations()' on a null object reference
  6. 0
    Initialize the variable before calling a method on it.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'int org.gearvrf.GVRCameraRig.getChildrenCount()' on a null object reference

      at org.gearvrf.x3ddemo.X3DparserScript.onInit()
    2. org.gearvrf.x3ddemo
      X3DparserScript.onInit
      1. org.gearvrf.x3ddemo.X3DparserScript.onInit(X3DparserScript.java:100)
      1 frame
    3. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    4. org.gearvrf
      OvrVrapiActivityHandler$7.onDrawFrame
      1. org.gearvrf.GVREventManager.invokeMethod(GVREventManager.java:307)
      2. org.gearvrf.GVREventManager.sendEventWithMaskParamArray(GVREventManager.java:126)
      3. org.gearvrf.GVREventManager.sendEventWithMask(GVREventManager.java:113)
      4. org.gearvrf.GVREventManager.sendEvent(GVREventManager.java:108)
      5. org.gearvrf.OvrViewManager$3$1.run(OvrViewManager.java:678)
      6. org.gearvrf.GVRContext.runOnTheFrameworkThread(GVRContext.java:2773)
      7. org.gearvrf.OvrViewManager$3.beforeDrawEyes(OvrViewManager.java:670)
      8. org.gearvrf.OvrViewManager.beforeDrawEyes(OvrViewManager.java:325)
      9. org.gearvrf.OvrActivityDelegate$1.onBeforeDrawEyes(OvrActivityDelegate.java:191)
      10. org.gearvrf.OvrVrapiActivityHandler$7.onDrawFrame(OvrVrapiActivityHandler.java:411)
      10 frames
    5. Android Platform
      GLSurfaceView$GLThread.run
      1. android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1649)
      2. android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1354)
      2 frames