• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Illegal state exception

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you post your code (use the CODE button) it might help people to understand where the problem is.
reply
    Bookmark Topic Watch Topic
  • New Topic