BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-13-2009, 01:32 PM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Model: 8320
PIN: N/A
Carrier: AT&T
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Angry BlackBerry 4.6 will not startup without crashing

Please Login to Remove!

I have been developing a webapp primarily on the BlackBerry 8900 4.6.1.94 (Rogers) simulator, but when I tried opening the simulator today, I get a series of errors.

First, during startup, I get a JVM Error 104: Uncaught: ClassCastException. I then turn the debugger off (somehow, it gets turned on on startup now) to avoid an unending series of RuntimeExceptions.

After turning the debugger off, the desktop loads, icons and all, but there is an alert: Uncaught exception: java.lang.Error. The little black clock comes up every second or so, like it's doing something, but clicking the OK button does nothing to the alert (or perhaps it reloads extremely quickly).

After about 20 seconds and some alert-OKing, I get another alert: Uncaught exception: ApplicationRegistry.getOrWaitFor(long hex) owner died Thread[Thread-long number] for a couple seconds. Clicking 'OK' here, within a couple seconds, brings up the white screen: App Error 523, System process died. From here, I am forced to reset the device.

I have uninstalled/reinstalled the simulator twice now, to now avail. How in the hell do I get around this..

Also, I have four other simulators running 4.6.1/4.7 and they all startup fine. I'll be testing my webapp on those until I find a solution for this..

Thanks in advance.
Offline  
Old 08-13-2009, 05:12 PM   #2 (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

Remove the *.dmp files in your simulator directory and retry.
Offline  
Old 08-13-2009, 05:31 PM   #3 (permalink)
New Member
 
Join Date: Jul 2009
Model: 8320
PIN: N/A
Carrier: AT&T
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

That worked--thanks so much. Out of curiousity, do you have any idea what was in these files that should not have been and/or how they became corrupted?
Offline  
Old 08-13-2009, 05:39 PM   #4 (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

The files contain the "simulated" flash storage. If the flash gets corrupted, the OS startup will fail (as you experienced).

This probably happens when you stop the simulator while the "simulated" OS is writing to the "simulated" flash, or when the "simualted" OS is performing garbage collection on the flash to recover unreferenced objects.
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





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