Go Down

Topic: "AWT-EventQueue-0" java.lang.StackOverflowError (Read 3 times) previous topic - next topic

PaulS

Quote
Ive just fixed this.


Fixed what? The stack overflow error? If so, what did you do to fix it?

rpowell86

There were some bugs in the code. But when I compile it I get the stackoverflow error and not the errors about the code.

This is a bug in the arduino IDE

wayoda

Hi Ryan,
Quote

Ive just fixed this.
But read on:
There are a few bugs in the code (undeclared variables, strings quotes not terminated) ..... Does the ide do some preprocessing before passing it to gcc?

Yes : http://code.google.com/p/arduino/wiki/BuildProcess

Quote

Can an arduino ide developer confirm if the above is a known bug.

I'm not one of the developers, but I can confirm that the preprocessing of the Sketch chokes at least on the strings quotes not terminated parts.

Eberhard

tuxduino

Hi, I had the same exception as the OP and found out that it was due to a double-quote character wrongly typed around the mid of a sketch.

Serial.println("buf);

and the some 100 lines of code...

Removing that " typo solved the issue.

Go Up