Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

New Developer
Posts: 6
Registered: ‎08-13-2009
My Device: Not Specified

Issue with the 8330 Curve running the 4.5 OS



We developed a new screen in Struts  which has to run in

Black Berry Curve 8330 4.5 OS

Black Berry Bold

Black Berry Tour Devices


Application/Screen works fine in Bold and Tour Simulators/Devices,But in Curve 8330 4.5 OS.

It shows the following exception when we try to access the new screen


JVM Error 104
Scroll for available Commands


When we goggled we found tips of the error




Also, setting many ‘\n’ chars in the beginning will make the exception pop up for a smaller following text length. Unfortunately, without the code we cannot say exactly how the algorithm in getTextBounds() works, but still, we now have a good picture of why this happens and how it can be avoided(for example, by removing the ‘\n’ chars from the beginning of the text, or by adding a space “ “ char in front of the text).


Attached the snap shot  of the error from simulator

Is there any patch available to fix this issue,Your valuable suggestions are appreciated