Bug 110 : ArrayIndexOutOfBoundsException when trying to Auto Format
Last modified: 2005-12-01 06:54




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P4
Severity:
normal

 

Reporter:
fry
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-07-28 05:37
java.lang.ArrayIndexOutOfBoundsException: 256
at processing.app.tools.AutoFormat.comment(AutoFormat.java:203)
at processing.app.tools.AutoFormat.show(AutoFormat.java:630)
at processing.app.Editor$16.actionPerformed(Editor.java:600)
... etc

appears to be a bug in a loop that's incrementing but not checking to see
if it's left the edge of the array.
Additional Comment #1 From fry 2005-12-01 06:54
fixed for 0098.