Skip to main content

Error Building LWUIT Demo for iDEN

2 replies [Last post]
soehler
Offline
Joined: 2008-07-08

Hi

We are trying to run LWUIT's LWUITDemo JAR on a I290 and getting a verification error during the installation.
I opened LWUITDemo on Netbeans 6.1 and selected Motorola SDK for iDEN J2ME emulator Plataform, when I try to build the project I always get :

Error preverifying class com.sun.lwuit.animations.CommonTransitions
java/lang/IncompatibleClassChangeError: Unimplemented interface method

If I create a simple HelloWorld application (HelloFWUITMIDlet, that does not use transitions) and build it to Sprint WTK 3.3 , it runs fine on I290.

If I use the same project to build to Motorola SDK for iDEN J2ME I get the same error:

Error preverifying class com.sun.lwuit.animations.CommonTransitions
java/lang/IncompatibleClassChangeError: Unimplemented interface method

and if I try to run it I get the following error (on emulator log) : Unhandled Exception while Initializing: java.lang.ClassNotFoundException:HelloFWUITMIDlet

Obfuscation does not help to solv the problem

Can you help to identify what is missing in iDEN Platform and/or ...
is there any workaround to this issue ?

Thanks, best Regards

Sergio Oehler

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
chen

Hi,
I have downloaded the emulator and it seems like this emulator has a bug
in the preverify.exe.
You can replace this exe file with the wtk preverify.exe,
preverify1.0.exe and preverify1.1.exe to resolve this.
In addition I failed to run the LWUIT demo directly from NB with this
emulator (have no idea why there is no stack trace exception, it might
be a good idea to ask motorola about this), however a simple LWUIT
midlet worked just fine.

Regards,
Chen

lwuit-users@mobileandembedded.org wrote:
> Hi
>
> We are trying to run LWUIT's LWUITDemo JAR on a I290 and getting a verification error during the installation.
> I opened LWUITDemo on Netbeans 6.1 and selected Motorola SDK for iDEN J2ME emulator Plataform, when I try to build the project I always get :
>
> Error preverifying class com.sun.lwuit.animations.CommonTransitions
> java/lang/IncompatibleClassChangeError: Unimplemented interface method
>
> If I create a simple HelloWorld application (HelloFWUITMIDlet, that does not use transitions) and build it to Sprint WTK 3.3 , it runs fine on I290.
>
> If I use the same project to build to Motorola SDK for iDEN J2ME I get the same error:
>
> Error preverifying class com.sun.lwuit.animations.CommonTransitions
> java/lang/IncompatibleClassChangeError: Unimplemented interface method
>
> and if I try to run it I get the following error (on emulator log) : Unhandled Exception while Initializing: java.lang.ClassNotFoundException:HelloFWUITMIDlet
>
> Obfuscation does not help to solv the problem
>
> Can you help to identify what is missing in iDEN Platform and/or ...
> is there any workaround to this issue ?
>
> Thanks, best Regards
>
> Sergio Oehler
> [Message sent by forum member 'soehler' (soehler)]
>
> http://forums.java.net/jive/thread.jspa?messageID=286580
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

soehler
Offline
Joined: 2008-07-08

Hi Chen

Thanks for the reply and workaround.

I replaced motorola's preverify with WTK preverify1.1.exe and it is working now. I am able to run LWUIDemo from NB on the emulator and also install an run the JAR on the device I290.Thanks ! I will check wit my frienda at NII regarding the Motorola preverify problem.
To check for failures running applications on motorola IDEN emulator, just check default.txt on PROGRAM FILES/MOTOROLA/IDEN SDK FOR J2ME(MIDP2_0)/LOG

Regards

Sergio Oehler