the code is throwing null pointer exception .here is the exact nature:
TRACE: <at java.lang.NullPointerException: 0>, Exception caught in Display class
java.lang.NullPointerException: 0
at IconsCanvas.paint(SlideImage.java:133)
at javax.microedition.lcdui.CanvasLFImpl.uCallPaint(), bci=202
at javax.microedition.lcdui.Display$ChameleonTunnel.callPaint(), bci=33
at com.sun.midp.chameleon.layers.BodyLayer.paintBody(), bci=12
at com.sun.midp.chameleon.CLayer.paint(), bci=46
at com.sun.midp.chameleon.CWindow.paintLayers(), bci=115
at com.sun.midp.chameleon.CWindow.paint(), bci=127
at com.sun.midp.chameleon.MIDPWindow.callPaint(), bci=45
at javax.microedition.lcdui.Display.callPaint(), bci=227
at javax.microedition.lcdui.Display$ForegroundEventConsumerImpl.handleDisplayForegroundNotifyEvent(), bci=215
at com.sun.midp.lcdui.ForegroundEventListener.process(), bci=53
at com.sun.midp.events.EventQueue.run(), bci=179
at java.lang.Thread.run(Thread.java:619)
javacall_lifecycle_state_changed() lifecycle: event is JAVACALL_LIFECYCLE_MIDLET_SHUTDOWNstatus is JAVACALL_OK
the code throws a null pointer exceptionAniket May 31, 2011 at 12:48 PM
the code is throwing null pointer exception .here is the exact nature: TRACE: <at java.lang.NullPointerException: 0>, Exception caught in Display class java.lang.NullPointerException: 0 at IconsCanvas.paint(SlideImage.java:133) at javax.microedition.lcdui.CanvasLFImpl.uCallPaint(), bci=202 at javax.microedition.lcdui.Display$ChameleonTunnel.callPaint(), bci=33 at com.sun.midp.chameleon.layers.BodyLayer.paintBody(), bci=12 at com.sun.midp.chameleon.CLayer.paint(), bci=46 at com.sun.midp.chameleon.CWindow.paintLayers(), bci=115 at com.sun.midp.chameleon.CWindow.paint(), bci=127 at com.sun.midp.chameleon.MIDPWindow.callPaint(), bci=45 at javax.microedition.lcdui.Display.callPaint(), bci=227 at javax.microedition.lcdui.Display$ForegroundEventConsumerImpl.handleDisplayForegroundNotifyEvent(), bci=215 at com.sun.midp.lcdui.ForegroundEventListener.process(), bci=53 at com.sun.midp.events.EventQueue.run(), bci=179 at java.lang.Thread.run(Thread.java:619) javacall_lifecycle_state_changed() lifecycle: event is JAVACALL_LIFECYCLE_MIDLET_SHUTDOWNstatus is JAVACALL_OK
slide menuAlex October 27, 2011 at 2:43 AM
Please advice of how i could add different sounded names to accompany the sliding images.
Post your Comment