This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Illegal state exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Illegal state exception" Watch "Illegal state exception" New topic
Author

Illegal state exception

Kurinchikumaran Thavarajah
Greenhorn

Joined: Dec 06, 2004
Posts: 13
I developed an application to access web services from the j2me platform. Although it works well with sun's wireless tool kit, when I run it with nokia 3650 phone, it throws Application error, Illegal state exception.

I couldn't find the reason for this problem. Here I have implemented Runnable interface in the MIDLet class. And I call the HttpConnection with the new thread otherthan the main thread to prevent deadlocks.

If any body helps me, it will be helpful for me to carry on my implementation.
Tomas Conway
Ranch Hand

Joined: Nov 02, 2004
Posts: 45
If you post your code (use the CODE button) it might help people to understand where the problem is.
 
jQuery in Action, 2nd edition
 
subject: Illegal state exception
 
Similar Threads
about Thread
Why interruption here is ignored always when solving SCJP Thread questions
Ilegal State Exception
Doubt on mock exam