Android Question Debugging problems after reinstalling B4A

secilcemal

Member
Licensed User
Longtime User
Hi,
After boot problems with windows 10, I made a fresh install to a new ssd and installed B4A , java and sdk manager, copied
additional library and my program codes from old ssd. B4A refuse to open my codes with the excuse of
[IDE message - 1:47:02]
An error occurred.
Error loading file.
Verilen anahtar sözlükte yoktu.(No key in the dictionary)

I searched my old ssd but could not find the key file.(Any idea?)
Then I figure out the AutoBackups folder, I unzip the last one, and voila, B4A opens the codes for me.
However now it gives me this error:

Error occurred on line: 0 (Starter)
java.lang.RuntimeException: Object should first be initialized (EditText).
Did you forget to call Activity.LoadLayout?
at anywheresoftware.b4a.objects.ViewWrapper.setColor(ViewWrapper.java:214)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:777)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:354)
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 com.trismark.myapp.main.initializeGlobals(main.java:327)
at com.trismark.myapp.main.afterFirstLayout(main.java:102)
at com.trismark.myapp.main.access$000(main.java:17)
at com.trismark.myapp.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6161)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:892)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782)

Any help is appreciated, thank you.
 

agraham

Expert
Licensed User
Longtime User
Verilen anahtar sözlükte yoktu.(No key in the dictionary)
It's not the ind of key you are thinking. I think it is the IDE expecting a key to be present in a Map while it is loading the project - possibly the name of a control - and it is not there.

java.lang.RuntimeException: Object should first be initialized (EditText).
That just looks like a programming error of some sort.
 
Upvote 0

secilcemal

Member
Licensed User
Longtime User
Unzipping with 7 zip didn't work neither, however trying another backup file did, so at the end, as agraham mentioned it was probably a programmning error, now it is debugging and and also can make a release, thank you all for your supports.
 
Upvote 0
Top