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
stevelev17
Posts: 11
Registered: 02-05-2009

8350i & Camera Demo generates NullPointerException

Installed JDE 4.6.1.23 with 8350i simulator.

 

Running the Camera Demo and selecting "Take Photo" button generates: Error class java.lang.NullPointerException: null

 

Utilizing the 8900 simulator works as expected(ie takes a photo of the selected camera image).

 

Attempted to my own demo program and it exhibits the same behavior.

 

Any suggestions? Once I sign it (assuming that is required to load my program) and load it on a real 8350i device will it work?

 

thanks,

Stephen

Please use plain text.
Administrator
MSohm
Posts: 11,465
Registered: 07-09-2008
My Carrier: Bell

Re: 8350i & Camera Demo generates NullPointerException

This is also failing on a real BlackBerry 8350i.  I have sent this issue to our development team.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Contributor
nanditasaini
Posts: 3
Registered: 03-05-2010
My Carrier: airtel

Re: 8350i & Camera Demo generates NullPointerException

Hi Soham,

 

I have developed an application in J2ME which capture photo and upload to the server. This application is working fine on Nokia, Motorola, Sony erricsson handsets, but now i want to port it to Blackberry 8520 , it gives me "Null pointer exception" when i click on getsnap.

 

Can you please tell me why it gives null pointer exception? and how can i overcome from this problem.

 

 

 

Thanks in advance

 

 

Nandita Saini

Please use plain text.