java.lang.IllegalArgumentException: Num of children in model:1 does not match the states array:4

GitHub | rahul27 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 628#229116652

    GitHub | 8 months ago | rahul27
    java.lang.IllegalArgumentException: Num of children in model:1 does not match the states array:4

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Num of children in model:1 does not match the states array:4

      at org.gearvrf.io.cursor3d.SelectableBehavior.onAttach()
    2. org.gearvrf.io
      SelectableBehavior.onAttach
      1. org.gearvrf.io.cursor3d.SelectableBehavior.onAttach(SelectableBehavior.java:172)
      1 frame
    3. org.gearvrf
      GVRSceneObject.attachComponent
      1. org.gearvrf.GVRComponent.setOwnerObject(GVRComponent.java:96)
      2. org.gearvrf.GVRSceneObject.attachComponent(GVRSceneObject.java:354)
      2 frames
    4. org.gearvrf.io
      CursorMain.onInit
      1. org.gearvrf.io.cursorsimple.CursorMain.onInit(CursorMain.java:78)
      1 frame
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. org.gearvrf
      GVRViewManager$3$1.run
      1. org.gearvrf.GVREventManager.invokeMethod(GVREventManager.java:306)
      2. org.gearvrf.GVREventManager.sendEventWithMaskParamArray(GVREventManager.java:125)
      3. org.gearvrf.GVREventManager.sendEventWithMask(GVREventManager.java:112)
      4. org.gearvrf.GVREventManager.sendEvent(GVREventManager.java:107)
      5. org.gearvrf.GVRViewManager$3$1.run(GVRViewManager.java:678)
      5 frames
    7. Android Platform
      HandlerThread.run
      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.os.HandlerThread.run(HandlerThread.java:61)
      4 frames