• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Problems with Palm Emulator, not others...

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am pretty consistently experiencing problems with the Palm Emulator used with J2ME code. I can run the same code on other emulators within Forte/J2ME Toolkit and have no problems, but then when I switch to the Palm_OS emulator, I'll get a failure every time.
Code is opening an HTTPConnection, sending POST data and then creating inputDataStream to receive results. I call the same routine for each HTTP request...first time is fine, second time is fine, third time fails with NullPointerException on in=conn.openDataInputStream() call.
I have tried to make sure to close connections and clean up variables (general J2ME good practice) but again, I only experience this on the Palm OS emulator.
Any insight is appreciated!
DMS
 
Maybe he went home and went to bed. And took this tiny ad with him:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic