• Post Reply Bookmark Topic Watch Topic
  • New Topic

IOException in Sun Java Wireless Toolkit

 
Remya Sarasan
Greenhorn
Posts: 1
Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created one project in Java Wireless Toolkit , and when I run it shows that

java.io.IOException
at javax.microedition.lcdui.ImmutableImage.getImageFromStream(+15)
at javax.microedition.lcdui.ImmutableImage.<init>(+20)
at javax.microedition.lcdui.Image.createImage(+8)
at DisplayHandler.<init>(+544)
at BLUEZONE.startApp(+8)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
at com.sun.midp.midlet.Scheduler.schedule(+270)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+80)
would you please explain about thisis exception? BLUEZONE is my MIDlet classname and DisplayHandler is one class in the package, build was successful.
 
Campbell Ritchie
Marshal
Posts: 53197
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
I think we would need more details before we could help you.
 
Rob Spoor
Sheriff
Posts: 20837
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our JME forum.
 
kumar mdu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From your error, I think you didn't save your image into res source folder. put your image in res folder.

or else, give us more details our experts will try to help you.

Thanks,
kumar.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!