0

I have been developing a website but am finding it is crashing the simulator throwing a "ClassCastException".

enter image description here

Can anyone tell me what causes this?

I found the the following http://docs.blackberry.com/en/developers/deliverables/17970/Known_issues_1007761_11.jsp although I wouldn't have suspected this would be the cause?

Also found some other questions on SO but these relate to an IllegalStateException, and the solutions haven't helped. Blackberry 9800 Simulator Crashing When Launching Browser

Community
  • 1
  • 1
Tom
  • 12,591
  • 13
  • 72
  • 112
  • Have you tried using a different simulator (one that also uses the web-kit browser) ? – blue-sky Sep 13 '11 at 12:35
  • @user470184 At present no, although did try it with an earlier version of the Blackberry simulator which didn't crash – Tom Sep 13 '11 at 12:52
  • I assume you've tried navigating to other websites on the simulator? Id try re-installing the simulator. That looks to me to be a problem with your browser. The error looks to be a native JVM error rather than a problem with your site. – blue-sky Sep 13 '11 at 13:00
  • Some more info on jvm error 104 - http://supportforums.blackberry.com/t5/Java-Development/JVM-Error-104/td-p/36987. A quick read points to a problem with a native app, not a website. – blue-sky Sep 13 '11 at 13:02
  • @user470184 I can navigate to other sites ok without it crashing, yep have been searching myself and not found anything specific to websites – Tom Sep 13 '11 at 13:06
  • 1
    Try opening the blackberry log (Alt L Alt G Alt L Alt G, on the simulated device keyboard), maybe you can find something useful after this error. – Paulo Sep 13 '11 at 14:54

1 Answers1

0

I went to try getting the logs and found the site had started working. What it was causing the exception I can't be sure could have possibly been console.log commands left in.

Tom
  • 12,591
  • 13
  • 72
  • 112