BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-21-2005, 06:50 PM   #1 (permalink)
New Member
 
Join Date: Jun 2005
Model: none
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default JVM Error 104

Please Login to Remove!

I'm trying to create a Web page that is accessible to BlackBerries and have been stopped cold due to an annoying problem with the BlackBerry 7290 simulator (v. 2.1.0.76) running the RIM 4.0 OS. (At least I assume it's a problem only with the simulator. I don't own a BlackBerry.)

A very simple HTML page crashes the simulator and displays the following error:

JVM Error 104
Uncaught: ArrayIndexOutOfBoundsException

I have the page boiled down to:

<html>
<body>
<img src="http://www.sigalert.com/images/logo.gif">
<table>
<tr>
<td align="center">
<a href="map.asp">Map</a>
</td>
</tr>
</table>
</body>
</html>

Oddly, if you remove the image tag or the align="center" or the anchor tag, the simulator doesn't crash.

Any suggestions (other than buying a BlackBerry and paying for a wireless service plan)?

- Jon
Offline  
Old 06-21-2005, 08:29 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2005
Model: 7520
Posts: 40
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

What are you using to parse the html page? I'm new to the whole BB API, in MIDlet programming a series of steps is needed to parse an html page.

Last edited by BlackBerry Fairy : 06-21-2005 at 08:44 PM.
Offline  
Old 06-22-2005, 12:21 PM   #3 (permalink)
New Member
 
Join Date: Jun 2005
Model: none
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not parsing any HTML. I'm simply browsing this page with the Web browser built into the simulator.
Offline  
Old 06-24-2005, 07:20 PM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Aug 2004
Location: Metro NYC
Posts: 175
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Works for me using v2.1.0.94 of the device simulator.
__________________
-- Aric Rosenbaum
BlackBerry consulting, BlackBerry development
www.arconsultinginc.com
BlackBerry consulting and development (RIM SI Partner)
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.