deanbrowne / j4me

Automatically exported from code.google.com/p/j4me
1 stars 1 forks source link

j4me not working with nokia S80,N95 #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
steps :
1.when running any midlet that uses j4me on s80 emulator, or N95 mobiles of
nokia ,the application doesn't run. 

-instead of the normal running on emulator of s80, an exception of (class
not found: UnSupportedOperation exception in UI methods)

can any one show us how to solve that issue?

Original issue reported on code.google.com by waleed....@gmail.com on 22 Apr 2008 at 7:07

GoogleCodeExporter commented 9 years ago
I've seen J4ME run on an N95.  You got it from the OTA URL
(http://www.scoreout.com/j4me/ota)?

I have not tried the emulator.

Is there more information about what class was not found?  Or a stack trace?

Original comment by deanbro...@gmail.com on 22 Apr 2008 at 7:16

GoogleCodeExporter commented 9 years ago
hi 
thanks for quick response, I've tried the demo of j4me in the emulator ,you are
correct it works, but for an application of my own its name is smart_road on 
the s80
emulator of nokia,and here is the error:
java.lang.NoClassDefFoundError: java/lang/UnsupportedOperationException
 - java.lang.Class.invoke_verify(), bci=0
 - java.lang.Class.initialize(), bci=117
 - org.j4me.ui.UIManager.<clinit>(), bci=0
 - java.lang.Class.invoke_clinit(), bci=0
 - java.lang.Class.initialize(), bci=143
 - SmartRoad.starting(), bci=1
 - SmartRoad.startApp(), bci=1
 - javax.microedition.midlet.MIDletInvoker.invokeStartApp(), bci=1
 - com.symbian.midp.runtime.MIDletScheduler.startMIDlet(), bci=26
 - com.symbian.midp.runtime.MIDletScheduler.run(), bci=14

how can I find the error?
thanks

Original comment by waleed....@gmail.com on 22 Apr 2008 at 8:50

GoogleCodeExporter commented 9 years ago
This was not a J4ME bug as the comments show.  It is likely that things were 
built
without then pre-verifying the .class files before running them.

Original comment by deanbro...@gmail.com on 23 Apr 2008 at 4:42