Hi Everyone,
When I try to close a Screen, I am receiving an IllegalStateException.
What I have noticed, however, is that when I push this screen and then close out of it (pop), it works fine. However, if I push the screen, click on one of the buttons on my screen, and then close out of the screen, I receive the IllegalStateException. This is even true if I click on a button that does not have a fieldchangelistener associated with it.
Here is my stack trace:
Code:
Thread [KFlicks(228)id=319047680] (Suspended (exception IllegalStateException))
Search2Screen(Screen).close() line: 579
Search2Screen(Screen).onClose() line: 3700
Search2Screen(Screen).keyCharUnhandled(char, int, int) line: 3017
Search2Screen(MainScreen).keyCharUnhandled(char, int, int) line: 320
Search2Screen(Screen).dispatchKeyEvent(IKeyEvent) line: 697
Search2Screen(Screen).processKeyEvent(IKeyEvent) line: 3422
UiEngineImpl.processMessage(Object, Message, boolean) line: 3587
Application(Application).doProcessNextMessage(Message) line: 2252
Application(Application).processNextMessage(Message) line: 1516
Application(Application).enterEventDispatcher() line: 1357
Application.main(String[]) line: 28
On "Search2Screen(Screen).close() line: 579", UIEngine = Null
Can anyone offer me any help? Thanks!