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

GitHub | Lordpeara | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GVRViewManager.getMainCameraRig() throws NullPointerException

    GitHub | 5 months ago | Lordpeara
    java.lang.NullPointerException: Attempt to invoke virtual method 'org.gearvrf.GVRCameraRig org.gearvrf.GVRScene.getMainCameraRig()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

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

      at org.gearvrf.GVRConfigurationManager.configureForHeadset()
    2. org.gearvrf
      GVRConfigurationManager$2$1.run
      1. org.gearvrf.GVRConfigurationManager.configureForHeadset(GVRConfigurationManager.java:113)
      2. org.gearvrf.GVRConfigurationManager$2$1.run(GVRConfigurationManager.java:80)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:158)
      4. android.app.ActivityThread.main(ActivityThread.java:7229)
      4 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames