I got an error in my app. But don't know where to look. Error is about BALayout. But I'm not using designer. I've seen the error a couple of times, but random.
Error occured while I was clicking on a image to display a larger version. If this version is not available it will be downloaded. Downloading is done by a service. But 95 out of 100 times there is no error at all.
The screen goes back for a couple of seconds. Then a messages is shown that app has stopped. After that the activity previous in stack is shown again (the app does not completely crash apparently, only the activity)
Anybody an idea where to look?
Error occured while I was clicking on a image to display a larger version. If this version is not available it will be downloaded. Downloading is done by a service. But 95 out of 100 times there is no error at all.
The screen goes back for a couple of seconds. Then a messages is shown that app has stopped. After that the activity previous in stack is shown again (the app does not completely crash apparently, only the activity)
** Activity (a_imageview) Resume **
java.lang.RuntimeException: java.lang.ClassCastException: anywheresoftware.b4a.BALayout cannot be cast to java.lang.String
at anywheresoftware.b4a.keywords.Common$4.run(Common.java:888)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassCastException: anywheresoftware.b4a.BALayout cannot be cast to java.lang.String
at anywheresoftware.b4a.keywords.Common.getComponentBA(Common.java:913)
at anywheresoftware.b4a.keywords.Common.access$0(Common.java:903)
at anywheresoftware.b4a.keywords.Common$4.run(Common.java:835)
... 9 more
java.lang.RuntimeException: java.lang.ClassCastException: anywheresoftware.b4a.BALayout cannot be cast to java.lang.String
at anywheresoftware.b4a.keywords.Common$4.run(Common.java:888)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassCastException: anywheresoftware.b4a.BALayout cannot be cast to java.lang.String
at anywheresoftware.b4a.keywords.Common.getComponentBA(Common.java:913)
at anywheresoftware.b4a.keywords.Common.access$0(Common.java:903)
at anywheresoftware.b4a.keywords.Common$4.run(Common.java:835)
... 9 more
** Activity (a_groepen) Create, isFirst = true **
Anybody an idea where to look?