java.lang.NullPointerException

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

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4

  • via GitHub by liaxim
    ,
  • via GitHub by mwitchwilliams
    ,
  • via GitHub by liaxim
    ,
  • Stack trace

    • java.lang.NullPointerException: Attempt to invoke virtual method 'int org.gearvrf.GVRCameraRig.getChildrenCount()' on a null object reference at org.gearvrf.x3ddemo.X3DparserScript.onInit(X3DparserScript.java:100) at java.lang.reflect.Method.invoke(Native Method) at org.gearvrf.GVREventManager.invokeMethod(GVREventManager.java:307) at org.gearvrf.GVREventManager.sendEventWithMaskParamArray(GVREventManager.java:126) at org.gearvrf.GVREventManager.sendEventWithMask(GVREventManager.java:113) at org.gearvrf.GVREventManager.sendEvent(GVREventManager.java:108) at org.gearvrf.OvrViewManager$3$1.run(OvrViewManager.java:678) at org.gearvrf.GVRContext.runOnTheFrameworkThread(GVRContext.java:2773) at org.gearvrf.OvrViewManager$3.beforeDrawEyes(OvrViewManager.java:670) at org.gearvrf.OvrViewManager.beforeDrawEyes(OvrViewManager.java:325) at org.gearvrf.OvrActivityDelegate$1.onBeforeDrawEyes(OvrActivityDelegate.java:191) at org.gearvrf.OvrVrapiActivityHandler$7.onDrawFrame(OvrVrapiActivityHandler.java:411) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1649) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1354)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.