I was allowing the Keycode_Back to pass through at Activity_KeyPress level. However if I do that with a Released version, when the app is restarted from the smartphone icon I get this error:
An error has occured in sub:main_mainpanelslayout (java line 4126)
java.lang.RuntimeException: Object should first be initialized (Panel).
Continue?
If I say No and re-terminate the app, it will start correctly the next attempt.
If I say Yes I just get a blank screen.
All my layouts are designed completely in the Visual Designer, I am not making the layouts from scratch in code. I have also been through the entire app adding [panelname].initialize("") for every panel that is mentioned in code. When I did go through the code, the error line changed from 4113 to 4126 so I seem to have done something to move the error down a bit. But I don't have any more panels that can be initialized.
Obviously there is something that needs to be initialized - or is not shut down correctly when the Keycode_Back keypress is allowed to pass through. The problem is what? Does anyone have any ideas where I should look?
David.
An error has occured in sub:main_mainpanelslayout (java line 4126)
java.lang.RuntimeException: Object should first be initialized (Panel).
Continue?
If I say No and re-terminate the app, it will start correctly the next attempt.
If I say Yes I just get a blank screen.
All my layouts are designed completely in the Visual Designer, I am not making the layouts from scratch in code. I have also been through the entire app adding [panelname].initialize("") for every panel that is mentioned in code. When I did go through the code, the error line changed from 4113 to 4126 so I seem to have done something to move the error down a bit. But I don't have any more panels that can be initialized.
Obviously there is something that needs to be initialized - or is not shut down correctly when the Keycode_Back keypress is allowed to pass through. The problem is what? Does anyone have any ideas where I should look?
David.