FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1117 : using ellipse cause ArrayOutOfBoundException
Last modified: 2009-02-19 19:24
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
wedge
Assigned To:
fry
Attachment
Type
Created
Size
Actions
source code that has the problem
application/octet-stream
2009-01-10 04:07
3.79 KB
Description
: Opened: 2009-01-10 04:06
I'm working for my studies with the latest processing version which is
1.0.1 revision 0163
I'm just drawing some ellpise with same height and width, circles in fact
that are drawn on randomly values which are issued by the anlysis of input
sound. At some point it can just crash, I guess when there is a too high value.
This is the Exception error I get :
Exception in thread "Animation Thread"
java.lang.ArrayIndexOutOfBoundsException: 720
at processing.core.PGraphics2D.ellipseImpl(PGraphics2D.java:1057)
at processing.core.PGraphics.ellipse(PGraphics.java:1517)
at processing.core.PApplet.ellipse(PApplet.java:6965)
at ProjNSY116_analysis.cercle(ProjNSY116_analysis.java:78)
at ProjNSY116_analysis.draw(ProjNSY116_analysis.java:158)
at processing.core.PApplet.handleDraw(PApplet.java:1406)
at processing.core.PApplet.run(PApplet.java:1311)
at java.lang.Thread.run(Thread.java:619)
Additional Comment
#1 From wedge 2009-01-10 04:07
edit
]
source code that has the problem
the error occurs on the ellipses function.
Additional Comment
#2 From fry 2009-02-19 19:24
This should be fixed in 1.0.2 with the repair of
bug #1086
.