Bug 729 : "Copy For Discourse" throws exception
Last modified: 2008-02-18 07:07




Status:
ASSIGNED
Resolution:
-
Priority:
P5
Severity:
normal

 

Reporter:
verisimilidude
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-02-16 11:21
Rev 0135 Beta
Suse 10.1 Linux on AMD 64

I was playing with the 3D Noise sample.
Went to menu bar and chose "Copy for Discourse" and got an exception and
nothing got copied.
Exception in thread "AWT-EventQueue-0"
java.lang.ArrayIndexOutOfBoundsException: 16
at
processing.app.tools.DiscourseFormat.formatCode(DiscourseFormat.java:204)
at processing.app.tools.DiscourseFormat.show(DiscourseFormat.java:117)
at processing.app.Editor$23$1.run(Editor.java:667)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Was not able to reproduce it.
No stdout.txt or stderr.txt created (probably going to console, which is
where I got the above dump)
Additional Comment #1 From fry 2008-02-18 07:07
i've seen this too, but it doesn't seem to break anything and like you, i
haven't been able to get it to repeat properly. unfortunately the code was
written by someone else, who is no longer maintaining it. perhaps someone
will get it to be repeatable, or be interested in fixing it.
This bug is now being tracked here.