Saturday, October 16, 2010

JVM Error 102 - Blackberry Bold 9700

I recently has an issue with my blackberry 9700 Bold. I found that my device not coming up properly and throwing an exception JVM Error 102 with a small reset button. If you click on reset button you land on same page. I found that one of the .Cod file got corrupted and the only way to recover it to wipe all your data and reinstall again.

Here are some common JVM error and their explanations:
102 -- Invalid code in file system The system has checked the .COD files in the handheld for modification, and determined that there is a problem with one or more .COD files. If all loads fail, it could indicate a build process error where there was a problem signing the codfiles. If some user action to the device caused this problem, the reset cycle will be continuous since the code in the filesystem has been corrupted. The only recovery method is to wipe the device and restore a new system


506 Uncaught Exception An uncaught Java exception was thrown in the initial VM Java thread thus ending the only live thread in the system. The eventlog contains the traceback for the exception.


507 Unsatisfied Link A dependency on a .COD file could not be satisfied because the .COD file is missing.

508 Invalid object A problem has been detected with a debugger command to the VM.

509 VM_PPO_INFINITE_LOOP: infinite loop in PPO phase of GC The maximum iteration count for the PPO phase of a GC must be the maximum number of file handles in the system. This error indicates that the iteration count has exceeded that count and hence there is a flaw in the PPO loop or a corrupted file system. The extra hex integer in the error string is the flash id of the current record where the infinite loop was detected.


What it comes down to is that the JVM 102 error means that a .cod file on your phone seems to be corrupt, so the phone refuses to load it. Why wipe everything for one bad file? You might not need to!
  1. Download JL_Cmder
  2. Connect your phone to your PC using the USB cable that came with it.
  3. Run JL_Cmder and select option 2 (event log)
  4. Scroll to the bottom of the log and look for "JVM Error 102." The line before it should tell you exactly what file is causing the error. It might look something like this. Save the file name; you will need it later.
  5. Go to Start > Run, and type "cmd" then press Enter.
  6. Change directory to the JL_Cmder installation folder.
    e.g., type: cd "C:\Program Files\JL_Cmder\" and press enter
  7. Type the following command to remove the offending file:
    javaloader.exe -u erase -f FILENAME
    where FILENAME is the name of the .cod file.
  8. Disconnect your phone from your PC and restart it.
This might not be a permanent solution, but it should at least let you boot up your Blackberry so that you can back up all your data before reinstalling everything.

Another Approach is:
1) Open web browser and type www.att.com/bbdownloads
2) Select you handset device from the drop-down and click next , you will seesoftware for Bold will appear at the bottom.
3) Install As per the region you located.
4) Connect your phone to your PC using the USB cable that came with it.
5) Run the  loader.exe which by default after installation lies at C:\Program Files\Common Files\Research In Motion\AppLoader.
6) while installing you have to make sure to select a radio button, which asked to you wipe your data ( I am assuming that you take continuously back up and you have your backup copy handly ).
7) If you get an exception , you need to repeat same by removing the battery.

After following above step I am able to recover my Blackberry properly.

No comments:

Post a Comment