Go Down

Topic: Stack Overflow in Perl5Matcher (Read 516 times) previous topic - next topic

Wolfgang Kurz

Apr 23, 2010, 09:35 am Last Edit: Apr 23, 2010, 09:37 am by hannibalstgt Reason: 1
Hello,
since a few days I get a Stack Overflow Exception when trying to verify a sketch.

The message is:

Exception in thread "AWT-EventQueue-0" java.lang.StackOverlowError
              at com.oroinc.text.regex.Perl5Matcher._match(Perl5Matcher.java)
....
the last line repeated more than 50 times
......

What kind of Regular Expression is responsible for this?

I have the most recent Java Runtime Environment installed  (1.6.0_19) and I run Windows 7 (32 Bit version - Home Premium).

Any idea, what causes this exception.
For a long time I could do the verification without problems, but suddenly this exception occurs. :(

Any help / suggestion welcome

Wolfgang

wayoda

This error is reported from the sketch preprocessor.
There could be several reasons why this happens.
Check your code for strings that are not properly terminated:
Serial.println("done);
which should be  
Serial.println("done");

The other problem that is reported are quotes in comments
Eberhard


Go Up