BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-16-2009, 10:05 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2009
Model: 8300
PIN: N/A
Carrier: Rogers
Posts: 43
Post Thanks: 0
Thanked 0 Times in 0 Posts
Angry Exceptions thrown on hello world app :(

Please Login to Remove!

Hey all,

Although I've developed many applications before, I am new to Blackberry development. I followed a basic tutorial I found on the web for a hello world app.

I followed it perfectly. When i tried to run it, it complained "Uncaught exception thrown - ControlledAccessException".

After looking in the variables section, it looked like a "SecurityException".

I try and debug the code but it says "source code not avaiable".

How do I go about debugging this? I can't even see what line of code is failing

Thanks for any advice you can give.

Ryan
Offline  
Old 06-16-2009, 10:10 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2009
Model: 8300
PIN: N/A
Carrier: Rogers
Posts: 43
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

More info :

It says "Uncaught exception: A browser content provider for video/3gpp MIME type has already been registered with the browser"
Offline  
Old 06-16-2009, 11:21 AM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Is this on the simulator or the device?

On the simulator, you'll get "no source" when the actual line of code throwing the exception is in a RIM module that you do not have the source to. You would then have to view the call stack window (in the debugger) and work backwards until you find the line of *your* code that precipitated the issue.

On the device, you'll need to access the device event log and retrieve the exception stack trace.
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

NITSUKO, MAIN FRAME/EXPANSION CABINETS
$88.97
NITSUKO, MAIN FRAME/EXPANSION CABINETS pictureFarmall 560 Tractor IH CLEAN Original front left main frame rail engine mount
$109.75
Farmall 560 Tractor IH CLEAN Original front left main frame rail engine mount pictureTektronix 11402A Digital Storage Oscilloscope Mainframe w/ Plug-Ins~TESTED
$601.5
Tektronix 11402A Digital Storage Oscilloscope Mainframe w/ Plug-Ins~TESTED  pictureHP Agilent E8408A VXI Mainframe, opt 001 w/ E8491B, 89605A, E2730A, E1439A Mod
$685.38
HP Agilent E8408A VXI Mainframe, opt 001 w/ E8491B, 89605A, E2730A, E1439A Mod pictureHAMEG Mainframe HM8001 w/Function Generator HM8030-4 Digital Multimeter HM8011-3
$674.99
HAMEG Mainframe HM8001 w/Function Generator HM8030-4 Digital Multimeter HM8011-3 picture






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