| View previous topic :: View next topic |
| Author |
Message |
Iwan Posted via mailing list.
|
Posted: Tue Mar 17, 2009 8:54 pm Post subject: SVG form runs in WTK not on N85 |
|
|
Hi,
I’m working on a MIDlet that uses the SVG forms of NB65. When running the MIDlet in the WTK, all runs fine, but when deploying the MIDlet to my N85 (Nokia S60 3rd edition FP2) get an exception in ‘handleDisplayableEvent’ stating the reason as being: StringIndexOutOfBoundsException, the source is in a class of mine. The output states that p0 is-5, p1 is 0 and P2 is 0.
The stacktrace shows a java.lang.StringIndexOutOfBoundsException at java.lang.String.substring at org.netbeans.microedition.svg.SVGTextField.setTextImpl at org.netbeans.microedition.svg.SVGTextField.setText at org.netbeans.microedition.svg.SVGTextField.<init> at org.netbeans.microedition.svg.SVGTextField.<init> at my class’ location where the SVGTextField is constructed.
Please note that this is output on my N85 to stdout using the MyRedirector tool to capture stdout and sterr. Hence the typed-in stacktrace.
From the sources of SVGTextField it is unclear to me what is going wrong. There are 2 substring calls in the method setTextImpl, but I don’t have a clue which of the two is causing this problem.
Since the SVG components that come with NB are not providing any debug output, they don’t really help. So I’m hoping any of you have an idea on what’s going on here.
Vriendelijke groet / Kind regards,
Iwan Eising
--
Light thinks it travels faster than anything but it is wrong. No matter how fast light travels it finds the darkness has always got there first, and is waiting for it. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|