Bug 384 : background(X) where X isnt 2 or 1 - dosnt work...
Last modified: 2006-08-16 08:16

DUPLICATE of bug 369


Assigned To:

Attachment Type Created Size Actions

Description:   Opened: 2006-08-15 14:43
I wrote some code under Windows, and try run it on Linux.
in draw():

background(204); - dosnt work with error:
[when I test it works just values 1 or 2 or 10,10,10 for example]

java.lang.ArrayIndexOutOfBoundsException: 360000
at processing.core.PGraphics3.clear(PGraphics3.java:3911)
at processing.core.PGraphics.background(PGraphics.java:3290)
at processing.core.PGraphics.background(PGraphics.java:3273)
at processing.core.PApplet.background(PApplet.java:7328)
at Temporary_8796_9145.draw(Temporary_8796_9145.java:15)
at processing.core.PApplet.handleDisplay(PApplet.java:1336)
at processing.core.PGraphics.requestDisplay(PGraphics.java:535)
at processing.core.PApplet.run(PApplet.java:1152)
at java.lang.Thread.run(Unknown Source)
Additional Comment #1 From kanedaaa 2006-08-15 14:49
I checked this again and I found that it not depends from value.
Some time it works, sometimes give me this error.

When I try run and run again and again it sometimes works but sometimes not even I
dont change anything... strange... I cant find good solution
Additional Comment #2 From kanedaaa 2006-08-16 08:06
Grrrr. Iam testing this on second machine. That same effect.
When I have background line in source I get error - I must press close, RUN, error, run,
close, error, run close error - run - its OK...

sometimes I must one time sometimes 15...

grr.... I upgraded to jre-1_5_0_08. That same...

best regards
Additional Comment #3 From fry 2006-08-16 08:16

*** This bug has been marked as a duplicate of 369 ***