Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
brent_glad
Posts: 66
Registered: 11-23-2009

Apps crashing, mostly on touch-based devices?

Hi everybody,

 

I would like to thank everyone for all their help over the months helping me get my BB apps up and approved by the App World.

 

However, some of them are getting reviews that they are crashing, giving java.lang.NullPointerException errors and fatal exception errors.

 

I can't figure out why. Some reviews say the apps are great, some reviews say it won't even run. Is this kind of flakiness normal? Are there any major things I should look into to fix these issues?

 

Another thing, most of the bad reviews appear to be coming from Storm users. Should I build, compile an alternate build for touch devices versus 

Please use plain text.
Developer
RexDoug
Posts: 4,649
Registered: 07-21-2008

Re: Apps crashing, mostly on touch-based devices?

You'll need to get the stack trace fronm the device event log and figure out where the NPE is coming from.

 

No, this kind of flakiness is not normal, unless you develop/test for one device and expect it to work on 10 different models on 20 different carriers, with 30 different OS levels :smileyhappy:

 

I suggest that yes, make a "touch" build. Compatibility mode is not very friendly.

 

 

 

 

Please use plain text.
Developer
rihan007
Posts: 416
Registered: 01-14-2009

Re: Apps crashing, mostly on touch-based devices?

I have a touch build for the Storm device and another build common for other devices. It works :-)

Please use plain text.