Hi,

I got an exception report from a client. In this report StringBuilder.append( 
double ) throws an ArrayIndexOutOfBoundsException.

There is no thread issue involved, because that code simply looks as 
follows:

  StringBuilder sb = new StringBuilder( "" ); 
  sb.append( degrees ); // This is the line that throws an exception 
(degrees is of type double)

The stack trace of the exception is:

at java.lang.RealToString.longDigitGenerator(RealToString.java:274)
at java.lang.RealToString.convertDouble(RealToString.java:111)
at java.lang.RealToString.appendDouble(RealToString.java:63)
at java.lang.StringBuilder.append(StringBuilder.java:185)
at my code

The code runs on an Android telephone LG-C660h.
Android version: 2.3.4
Android API: 10

Any ideas? Could this be a bug in the VM?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to