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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by rahul27
, 1 year ago
Num of children in model:1 does not match the states array:4
java.lang.IllegalArgumentException: Num of children in model:1 does not match the states array:4
at org.gearvrf.io.cursor3d.SelectableBehavior.onAttach(SelectableBehavior.java:172)
at org.gearvrf.GVRComponent.setOwnerObject(GVRComponent.java:96)
at org.gearvrf.GVRSceneObject.attachComponent(GVRSceneObject.java:354)
at org.gearvrf.io.cursorsimple.CursorMain.onInit(CursorMain.java:78)
at org.gearvrf.GVREventManager.invokeMethod(GVREventManager.java:306)
at org.gearvrf.GVREventManager.sendEventWithMaskParamArray(GVREventManager.java:125)
at org.gearvrf.GVREventManager.sendEventWithMask(GVREventManager.java:112)
at org.gearvrf.GVREventManager.sendEvent(GVREventManager.java:107)
at org.gearvrf.GVRViewManager$3$1.run(GVRViewManager.java:678)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.os.HandlerThread.run(HandlerThread.java:61)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.