After upgrading B4A to the latest version 10.7 (and after following the guidelines related to java downloads etc) I'm trying to re-build my existing (commercial) project.
After solving problems with the NET library (to be able to use FTP) and after renaming the MsgBox to MsgBoxAsync The project is compiling (in debug mode).
But when i'm try to run it with B4A-Bridge, the following errors occurred :
The errorline is in the :
After solving problems with the NET library (to be able to use FTP) and after renaming the MsgBox to MsgBoxAsync The project is compiling (in debug mode).
But when i'm try to run it with B4A-Bridge, the following errors occurred :
Error occurred on line: 140 (Main)
java.lang.RuntimeException: Object should first be initialized (EditText).
Did you forget to call Activity.LoadLayout?
at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:67)
at anywheresoftware.b4a.objects.TextViewWrapper.getText(TextViewWrapper.java:36)
- and 21 errorlines more -
In the current version of the app, i've declared:Sub Globals
Dim etxtEmailadres As EditText
Dim etxtPassword As EditText
....
End Sub
And the Activity.LoadLayout("myForm") of the related form is in the Sub Activity_Create(FirstTime As Boolean)The errorline is in the :
137 Sub Activity_Pause (UserClosed As Boolean)
138
139
➡140 glUserid = etxtEmailadres.Text.ToLowerCase
141 glPassword = etxtPassword.Text.ToUpperCase
142 End Sub
What is wrong?