iam getting error on resume and yet BBScrollingLabel1.Text was already created in the designer and well intialised as
B4X:
Activity.LoadLayout("1")
TextEngine.Initialize(Activity) 'change to Form.RootPane in B4J or Page.RootPanel in B4i
BBScrollingLabel1.TextEngine = TextEngine
B4X:
Sub Activity_Resume
BBScrollingLabel1.Text = BBScrollingLabel1.Text
End Sub
B4X:
** Activity (registerdata) Create, isFirst = true **
** Activity (registerdata) Resume **
mobile data state: CONNECTED wifi_on: 0 server ip: 192.168.200.2
wifi ip: 127.0.0.1
** Activity (registerdata) Pause, UserClosed = true **
** Activity (main) Resume **
Error occurred on line: 57 (BBScrollingLabel)
java.lang.RuntimeException: Class instance was not initialized (bbscrollinglabel)
at anywheresoftware.b4a.debug.Debug.shouldDelegate(Debug.java:242)
at com.kccug.kabojjajuniorapp.bbscrollinglabel._gettext(bbscrollinglabel.java:125)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at com.kccug.kabojjajuniorapp.main$ResumeMessage.run(main.java:310)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)