File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Problems with Palm Emulator, not others... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "Problems with Palm Emulator, not others..." Watch "Problems with Palm Emulator, not others..." New topic
Author

Problems with Palm Emulator, not others...

Derek Smith
Greenhorn

Joined: Jan 28, 2002
Posts: 5
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
 
 
subject: Problems with Palm Emulator, not others...
 
Threads others viewed
Urgent! Help needed
image deconding problem
palmtops and the outside world
Palm Devices
no device - can still program wireless?
developer file tools