This discussion is archived
1 Reply Latest reply: Feb 11, 2012 11:39 PM by DarrylBurke RSS

Error preverifying class com.sun.lwuit.impl.midp.CanvasImplementation:

916921 Newbie
Currently Being Moderated
Hello all,
I’m having a problem with projects generated by the LWUIT resource editor. I get a:

“Error preverifying class com.sun.lwuit.impl.midp.CanvasImplementation:” VERIFIER ERROR com/sun/lwuit/impl/midp/GameCanvasImplementation.paintVideo(Lcom/sun/lwuit/Component;ZLjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V: Cannot find class javax/microedition/media/control/VideoControl”

when I run the Project_MIDP project.
I’m running Netbeans 7.0.1, ME 3.0.5, and LWUIT 1.5. I’ve got a trivial GUI that I made in the resource editor consisting of a very simple theme and one label. l generated the Netbeans projects from the resource editor, resolved the reference by pointing at the 3.0.5 in the project configuration. I’ve found that the problem goes away if I deselect the Mobile 3D Graphics Optional Package 1.1 checkbox in the Optional Packages of the Project configuration but I then run into a problem with being unable to find the animations. (I’m not using any animations or transitions, as I said, its a trivial GUI).

I would greatly appreciate any assistance anyone could provide


  • Correct Answers - 10 points
  • Helpful Answers - 5 points