FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 832 : problem on processing 0142
Last modified: 2008-12-23 02:44
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
INVALID -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
baudry
Assigned To:
fry
Attachment
Type
Created
Size
Actions
an exploration on the bouncing ball mostpixelsver lib example
application/x-zip-compressed
2008-12-22 03:46
2.84 KB
Description
: Opened: 2008-06-22 05:21
processing.app.debug.RunnerException: Found one too many { characters
without a } to match it.
at processing.app.Sketch.build(Sketch.java:1505)
at processing.app.Sketch.handleCompile(Sketch.java:1324)
at processing.app.Editor.handleRun(Editor.java:1169)
at processing.app.EditorToolbar.mousePressed(EditorToolbar.java:321)
at java.awt.Component.processMouseEvent(Component.java:5514)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
processing.app.debug.RunnerException: Found one too many { characters
without a } to match it.
at processing.app.Sketch.build(Sketch.java:1505)
at processing.app.Sketch.handleCompile(Sketch.java:1324)
at processing.app.Editor.handleRun(Editor.java:1169)
at processing.app.EditorToolbar.mousePressed(EditorToolbar.java:321)
at java.awt.Component.processMouseEvent(Component.java:5514)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
I enterd this code from Ira :
/*
Curves 1
Olivier Baudry, June 2008
*/
int steps = 300;
float[ ]x = new float[steps];
float[ ]y = new float[steps];
float[ ]xSpeed = new float[steps];
float[ ]ySpeed = new float[steps];
void setup (){
size (460, 780);
background (255);
float margin = height*.1;
smooth();
strokeWeight(1.5);
for (int i=0; i<steps;i++){
x[i]= 0;
y[i] = random(margin);
xSpeed[i] = random(.75, 1.2);
ySpeed[i] = random(1.0075, 1.04);
}
for (int i=0; i<steps;i++){
while(y[i]<height){
point(x[i], y[i]);
y [i] = random(margin);
x[i]+=xSpeed[i];
y[i]*=ySpeed[i];
}
}
}
Additional Comment
#1 From baudry 2008-06-22 05:22
Not running program maybe Is it possible don't run with sun java version 6.6
Additional Comment
#2 From fry 2008-06-22 12:15
That code works fine for me, please use Tools > Archive Sketch and attach
the sketch to this bug report so I can see what the problem is.
Additional Comment
#3 From fry 2008-08-16 15:33
no response for 7 weeks, closing bug.
Additional Comment
#4 From fnabais 2008-12-22 03:46
edit
]
an exploration on the bouncing ball mostpixelsver lib example
Additional Comment
#5 From fnabais 2008-12-22 03:49
(From update of
edit
])
I got this same bug while working on the bouncing balls example of the
mostpixelsever lib. Everything was working fine and suddenly I started getting
this bug. The changes I made had no implications on this type of bug, I think.
Thank you for you help
Additional Comment
#6 From fnabais 2008-12-22 03:50
Please help!!
Thank you very much
Additional Comment
#7 From fnabais 2008-12-22 03:56
Just another info on this bug. After I get the bug I am unable to close the
processing IDE. It tends to block and even killing it through task manager
does not always work. I´m using Windows XP with SP2.
Thank you
Additional Comment
#8 From fnabais 2008-12-23 02:44
Sorry!!!!! I fixed it and it was my fault!! Please consider the bug closed
as it is.
I expected the debug messages to be a bit more specific and I trusted it
was giving me the right indications. My code was really missing a {
Thanks