View Single Post
Old 04-03-2010, 01:23 PM   #1 (permalink)
behrk2
New Member
 
Join Date: Dec 2009
Model: 9530
PIN: N/A
Carrier: Verizon Wireless
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default IllegalArgumentException on PopScreen

Please Login to Remove!

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!

Last edited by behrk2 : 04-03-2010 at 01:34 PM.
Offline   Reply With Quote