Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Developer
Posts: 553
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor
Accepted Solution

OS6 and Torch simulator

When I Try to run the Torch simulator on OS6 or OS5 it breaks with a null pointer exception. None of my code is executed.  Se attached pic.  (Eclipse)

 

What is not seen on the picture is the popup box showing the number being dialed awaiting me to click on "Answer".

 

The package is  Simpackage-6.0.0.141-9800

 

Same thing happens when I try the same thing Using OS5 and Torch so it seems likely that the problem is in the simulator. I am running simulators in 4.5, 4.6, 4.7 and 5.0 with no problems

 

 

Just checked, happens on the BB JDE too (another pic)

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
BlackBerry Development Advisor
Posts: 15,697
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: OS6 and Torch simulator

Can you post the exact steps that are triggering the exception?

 

Have you tried to clean the simulators (Project menu, BlackBerry, Clean Simulators...)?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 553
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

Re: OS6 and Torch simulator

steps:

 

Clean all

Package all

Clean simulator all

 

Select run configuration that does not load any listener or other autostarted code except my library

and a manually started program. (Have to have something defined to start simulator)

 

Blackberry simulator 9880 starts, wait for startup to complete.

 

Enter number

place call

 

picture screen1.jpg

 

click enter

 

picture screen2.jpg

 

Since step 2 indicated that the simulator was alive I took it a step further and run the same procedure with all my apps in place and tried to run the app after the initial failure.

 

Seemed to work. Listeners started and app worked as expected for some commands.

 

Not as simple when running debug.

 

 

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
BlackBerry Development Advisor
Posts: 15,697
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: OS6 and Torch simulator

Got it.  I was able to reproduce this one.  The trick is to press the enter key instead of the green send key.

 

This will be resolved in a future BlackBerry smartphone simulator release.

 

You can work around it for now by pressing the green send key instead of enter.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker