BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-08-2009, 12:35 AM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Model: 8300
PIN: N/A
Carrier: No Carrier
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default MIDlet to Canvas Problem with BlackBerry

Please Login to Remove!

Hi,
All

I have one MIDlet class name as TestMIDlet(which has some J2MEPolish stuff for GUI part like background color etc.) and it is calling Canvas class named as TestCanvas.

Once if i run my application on b.b simulator then getting the functionality of TestMIDlet which has one command named as Next(Which is calling the TestCanvas class).

So, at the time of clicking the Next button i am getting error
JVM Error 104
Uncaught:
NullPointerException

on device simulator.

For Canvas i have used javax.microedition.lcdui.Canvas class.

I am not getting why BlackBerry 8300 is behaving like this, the same application is working fine with WTK's default Generic/AnyPhone emulator.

I am using BlackBerry JDE 4.5.0
J2MePolish2.5.2
EclipseIDE

Please help me if somebody understood my problem.

Thanks,
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

ECG® 330W PNP Germanium Transistor (100-936)
$39.95
ECG® 330W PNP Germanium Transistor (100-936) picture14 DELCO CBS 2N441 TRANSISTORS NOS UNUSED VINTAGE GERMANIUM
$20.0
14 DELCO CBS 2N441 TRANSISTORS NOS UNUSED VINTAGE GERMANIUM  pictureVINTAGE "RARE" ANTIQUE TV "Knobs" (Take your Pick) LOT Collection - 2
$4.95
VINTAGE * TOSHIBA VT130G2-4035 TOSVERT-130G2+ TRANSISTOR INVERTER 3HP DRIVE
$113.97
* TOSHIBA VT130G2-4035 TOSVERT-130G2+ TRANSISTOR INVERTER 3HP DRIVE pictureARPAC BKD03AA0 Touch Pads
$110.0
ARPAC BKD03AA0 Touch Pads  picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.