Win a copy of The Java Performance Companion this week in the Performance forum!
  • 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
Sheriff
Pie
Posts: 49411
62
  • 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
Pie
Posts: 20550
57
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic