Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Working Groups » Pulsar » Java Wireless Kit/Sony Ericsson SDK Errors(Unable to read res Files)
icon9.gif  Java Wireless Kit/Sony Ericsson SDK Errors [message #726540] Sun, 18 September 2011 11:10 Go to next message
Itzik Samara is currently offline Itzik Samara
Messages: 2
Registered: September 2011
Junior Member
i building J2ME on Sony Ericsson SDK with Pulsar..
when i am loading Images to Variables

it sends me the Exception


Running with storage root SonyEricsson_K600_Emu
Running with locale: Hebrew_Israel.1255
java.io.UTFDataFormatException: malformed input around byte 783
	at java.io.DataInputStream.readUTF(DataInputStream.java:656)
	at javax.imageio.stream.ImageInputStreamImpl.readUTF(ImageInputStreamImpl.java:332)
	at com.sun.kvem.png.PNGImageReader.parse_iTXt_chunk(PNGImageReader.java:447)
	at com.sun.kvem.png.PNGImageReader.readMetadata(PNGImageReader.java:650)
	at com.sun.kvem.png.PNGImageReader.readImage(PNGImageReader.java:1312)
	at com.sun.kvem.png.PNGImageReader.read(PNGImageReader.java:1582)
	at com.sun.kvem.midp.GraphicsBridge.loadImage(GraphicsBridge.java:2599)
java.io.IOException
	at com.sun.kvem.midp.GraphicsBridge.createImageFromData(GraphicsBridge.java:2508)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at javax.microedition.lcdui.Image.createImage(+17)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at com.sun.kvem.sublime.MethodExecution.process(MethodExecution.java:42)
	at com.sun.kvem.sublime.SublimeExecutor.processRequest(SublimeExecutor.java:63)
	at com.sun.kvem.sublime.SublimeExecutor.run(SublimeExecutor.java:25)
	at mk.games.LoadManager.<init>(+20)
	at mk.games.LogoCanvas.<init>(+32)
	at mk.games.SexyDailerMidlet.startApp(+16)
	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)
java.lang.NoClassDefFoundError: mk/games/DialerCanvas
	at mk.games.LogoCanvas.<init>(+52)
	at mk.games.SexyDailerMidlet.startApp(+16)
	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)
Execution completed.
3613595 bytecodes executed
25 thread switches
1763 classes in the system (including system classes)
0 dynamic objects allocated (0 bytes)
0 garbage collections (0 bytes collected)



any help please i tried:
delete project and open a new one and copy the src/res.
change CLDC/MIDP.

Thank you
Re: Java Wireless Kit/Sony Ericsson SDK Errors [message #726582 is a reply to message #726540] Sun, 18 September 2011 16:01 Go to previous message
Itzik Samara is currently offline Itzik Samara
Messages: 2
Registered: September 2011
Junior Member
problem solved ... saving PNG in photoshop with Interlaced does the problem
resaving them with NONE in the PNG Options solved it

Thank you
Previous Topic:Helios release has problems with Motorola SDK -- Galileo OK?
Next Topic:Problem with "Hello world" using Sony Ericsson SDK
Goto Forum:
  


Current Time: Thu Aug 21 20:10:56 EDT 2014

Powered by FUDForum. Page generated in 0.01503 seconds