09-04-2011 12:36 AM
Hi All
I have been using the two 9800 simulators for testing since yesterday. But suddenly the second simulator (sim2) has started giving this error on start up:
"App Error 104: Uncaught ClassCastException"
I click on continue and proceed. The simulator loads but i am unable to run the BBM. There is simply no response when i click on the BBM icon.
I have tried un-installing the simulators and re-installing also but there error still persists. Can someone please help me with this?
Thanks,
Saket
09-04-2011 12:35 PM
Any suggestions?? Need some help here......
09-05-2011 02:02 PM
09-05-2011 05:10 PM
Your simulator flash files are probably corrupted
Delete the *.dmp files in your simulator directory
try C:\Program Files\Research In Motion\BlackBerry JDE 6.0.0\simulator
or
C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 6.0.0
10-01-2011 11:47 AM
10-01-2011 11:48 AM
10-01-2011 08:10 PM
Have you tried to run the app with the debgger to see which line it is failing on?
10-02-2011 01:57 AM
Thanks for the reply @JaredCo
The trouble i am facing is that BBM will not run in the 2nd simulator....when i click on the BBM icon in the second SIm nothing happens.....btw this is after i click "continue" on getting the ClassCastException while the simulator is loading.....so even though the simulator loads. BBM will not run and also messages i send from simulator 1 are not sent to Simulator 2??
Any sugggestions?
Thanks
Saket
10-02-2011 06:06 PM - edited 10-02-2011 06:07 PM
What I would do is run the simulator 6.0.0.313 in ebug mode from Eclipse to see why this error is happening. The way to do this is to make sure that the MDS isn't checked in the debug configuration and to change the advanced settings to amek it work with BBM SDK. I've included 2 screenshots for you. The customized command line for me is :
"C:\Program Files\Research In Motion\BlackBerry Smartphone Simulators 6.0.0\6.0.0.313 (9800)\fledge.exe" /app=Jvm.dll /handheld=9800 /session=Sim1 /app-param=JvmAlxConfigFile:9800.xml /data-port=0x4d44 /data-port=0x4d4e /pin=0x2100000A /app-param=regVersion=3 /app-param=regDestIP=127.0.0.1 /app-param=regDestPort=19781 /app-param=regSrcPort=19780 /app-param=DisableSyncServiceRecord
Yours may be slightly differenent.
Hope this helps.