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

(10PCS) TZMB18-GS08 DIODE ZENER 18V 500MW SOD80 TZMB18 18-G
$2.58
(10PCS) TZMB18-GS08 DIODE ZENER 18V 500MW SOD80 TZMB18 18-G picture1 Lot of 500 Silicon NPN Transistors MMBT2222A. New
$19.99
1 Lot of 500 Silicon NPN Transistors MMBT2222A.  New  picture1x SFT130C Germanium PNP Transistor Low Power/Output
$2.99
1x SFT130C Germanium PNP Transistor Low Power/Output  pictureToshiba/Houston TOSVERT 130 GI Transistor Inverter Box VT 130G1-2055BOE
$349.99
Toshiba/Houston TOSVERT 130 GI Transistor Inverter Box VT 130G1-2055BOE picture(10PCS) BAS16D-E3-18 DIODE GEN PURP 75V 250MA SOD123 BAS16 16D
$2.58
(10PCS) BAS16D-E3-18 DIODE GEN PURP 75V 250MA SOD123 BAS16 16D picture






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