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

Error in simulator

It seems to be an error in the simulator running 5.0

Simpackage 5.0.0.451_9600-Vodafone - 9500

 

Message  CallManager.phoneEventNotify(int,int,Object) line 1087  NullPointerException

When I do:

Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, pa);

 

And is not possible to catch it.

 

The odd thing is that  if I press conytinue on the error screen it seems to work. Sometimes the error pops more than once, but eventually it stops.  I must not click on answer on the simulator call before I have passed the errors ortherwise my hook for  "Call Connected" does not take effekt.

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Error in simulator

the error is in the phone app, not your own, just ignore it.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 553
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

Re: Error in simulator

[ Edited ]

Well, that works in the simulator since I can click continue on the error before answering the call.

That might not be possible on a real phone if it occurs there. I do not get a notification in !"call connected"  if I answer the call before I continue on the error

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Error in simulator

and do you get this error on a normal phone? no.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 553
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

Re: Error in simulator

>and do you get this error on a normal phone? no.

I have tested 2 versions shortly. And no,not sofar.

:-)

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-