67biscuits
Member
Logger connected to: Cat S62 Pro
--------- beginning of crash
--------- beginning of system
--------- beginning of main
** Activity (main) Pause, UserClosed = true **
** Service (starter) Destroy (ignored)**
Copying updated assets files (1)
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
------------------------------------new order
** Activity (main) Resume **
Error occurred on line: 202 (AnotherDatePicker)
java.lang.RuntimeException: Object should first be initialized (EditText).
at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:67)
at anywheresoftware.b4a.objects.TextViewWrapper.getText(TextViewWrapper.java:36)
at b4a.example.main._cmdsavehoursentry_click(main.java:1154)
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:157)
(I clipped some lines for brevity)
...but...
In the actual code of my program, line 202 is "End sub"
A few times I have found this. ?
--------- beginning of crash
--------- beginning of system
--------- beginning of main
** Activity (main) Pause, UserClosed = true **
** Service (starter) Destroy (ignored)**
Copying updated assets files (1)
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
------------------------------------new order
** Activity (main) Resume **
Error occurred on line: 202 (AnotherDatePicker)
java.lang.RuntimeException: Object should first be initialized (EditText).
at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:67)
at anywheresoftware.b4a.objects.TextViewWrapper.getText(TextViewWrapper.java:36)
at b4a.example.main._cmdsavehoursentry_click(main.java:1154)
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:157)
(I clipped some lines for brevity)
...but...
B4X:
Sub spinProjects
spnExistingProjects.Clear
spnExistingProjects.Add("Select existing")
lenAP = 0
For Each s As String In AP.ListKeys
If s = "" Then
AP.Remove(s)
End If
test($"Log Key: ${s}"$)
spnExistingProjects.Add(s)
lenAP = lenAP + 1
Next
End Sub
In the actual code of my program, line 202 is "End sub"
A few times I have found this. ?