BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Simulator won't start (http://www.blackberryforums.com/developer-forum/38759-simulator-wont-start.html)

JuneK 06-20-2006 03:56 PM

Simulator won't start
 
The simulator was working fine for me until last week, and now I can't get it to start. It gives me two duplicate classes as follows:

Duplicate class net.rim.device.apps.internal.resource.BluetoothRes ource.
Found in C:\Documents and Settings\cjames\Local Settings\Temp\2\rapc_rc_32602.dir\.staging\net\rim \device\apps\internal\resource\BluetoothResource.j ava net_rim_bb_options_app-1.
Ignored in C:\Documents and Settings\cjames\Local Settings\Temp\2\rapc_rc_43144.dir\.staging\net\rim \device\apps\internal\resource\BluetoothResource.j ava net_rim_bluetooth.
Duplicate class net.rim.device.apps.internal.resource.crypto.Smart CardResource .
Found in C:\tmp\2\rapc_rc_36956.dir\.staging\net\rim\device \apps\internal\resource\crypto\SmartCardResource.j ava net_rim_smartcard_datakey.
Ignored in C:\tmp\2\rapc_rc_36116.dir\.staging\net\rim\device \apps\internal\resource\crypto\SmartCardResource.j ava net_rim_smartcard_gsacac.

And then it throws a nullPointerException with the following in the Calling Methods:

MessageQueue.enqueue( Message )
ApplicationManagerImpl$StartupGetMessageThread.run ( )

This is after I uninstalled the JDK and BB JDE and re-installed them. Before, I was getting the duplicate classes, and an InvalidStateException during the startup logic.

This is before the ribbon is displayed, and before my app even gets in the picture.

I'm desperate for ideas on how to fix this.

Thanks.

JuneK 06-21-2006 05:10 PM

Problem solved.

I had been testing with the BB attached, and forgot that I had changed some of the Debug/Breakpoint settings. Once I unticked "On Startup', "When any object created", and "When any exception thrown", the simulator came up like normal.

Interesting that these were kept across an JDE/JDK un-install/re-install.

Bill_theITguy 06-21-2006 06:40 PM

Where can I download a simulator
 
I've seen the BB simulator mentioned in the forums a few times, but I don't know what URL to go to to get one.

Are they free or do I need to buy? I have some testing to do and this would come in handy.

Thanks.

simon.hain 06-22-2006 04:27 AM

the simulators come free of charge and can be downloaded at RIMs website

hth,
simon


All times are GMT -5. The time now is 03:52 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.