Hello everybody!
Im working on a quite big project. Since yesterday I get a strange error, everytime
- when I start the app, go back to the android system with the home button and then "start" it quickly again
- when I start the app slow (not that fast as in the first example) third times
Here is the Log:
I'm loading a layout at the beginning of Activity_Main made in the layout builder.
I have no clue... :-(
Im working on a quite big project. Since yesterday I get a strange error, everytime
- when I start the app, go back to the android system with the home button and then "start" it quickly again
- when I start the app slow (not that fast as in the first example) third times
Here is the Log:
B4X:
main_activity_create (java line: 275)
java.lang.RuntimeException: java.lang.RuntimeException: Object should first be initialized (ImageView).
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:140)
at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:88)
at anywheresoftware.b4a.objects.TabHostWrapper.createPanelForLayoutFile(TabHostWrapper.java:115)
at anywheresoftware.b4a.objects.TabHostWrapper.AddTab(TabHostWrapper.java:103)
at schichtler.schicht.main._activity_create(main.java:275)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:165)
at schichtler.schicht.main.afterFirstLayout(main.java:84)
at schichtler.schicht.main.access$100(main.java:16)
at schichtler.schicht.main$WaitForLayout.run(main.java:72)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4511)
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:986)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:753)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: Object should first be initialized (ImageView).
at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:45)
at anywheresoftware.b4a.objects.ViewWrapper.innerInitialize(ViewWrapper.java:48)
at anywheresoftware.b4a.objects.ImageViewWrapper.innerInitialize(ImageViewWrapper.java:35)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(LayoutBuilder.java:251)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayoutHelper(LayoutBuilder.java:266)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:123)
... 19 more
java.lang.RuntimeException: java.lang.RuntimeException: Object should first be initialized (ImageView).
** Activity (main) Pause, UserClosed = false **
** Service (widget8) Start **
13:04
I'm loading a layout at the beginning of Activity_Main made in the layout builder.
I have no clue... :-(