Hello all
I try to pass a list to b4xtabe using
But when I run the application I get the error
Why?
What it means?
I try to pass a list to b4xtabe using
B4X:
B4XTable1.SetData(ItemList)
But when I run the application I get the error
Error occurred on line: 588 (B4XTable)
java.lang.ClassCastException: gr.john.generalclass$_itemtype cannot be cast to java.lang.Object[]
at gr.john.b4xtable$ResumableSub_SetData.resume(b4xtable.java:470)
at gr.john.b4xtable._setdata(b4xtable.java:337)
at gr.john.document$ResumableSub_LoadGeneralClassDataList.resume(document.java:945)
at gr.john.document._loadgeneralclassdatalist(document.java:916)
at gr.john.document._activity_resume(document.java:906)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at gr.john.document$ResumeMessage.run(document.java:310)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5376)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
Why?
What it means?
Last edited: