Hello all.
I have one sketch and use arduino 1.5.7 now.
I received these error at verify or upload and i can not upload the sketch to board.
Exception in thread "Thread-13" java.lang.StackOverflowError
at java.util.regex.Pattern$Loop.match(Unknown Source)
at java.util.regex.Pattern$GroupTail.match(Unknown Source)
at java.util.regex.Pattern$BranchConn.match(Unknown Source)
at java.util.regex.Pattern$CharProperty.match(Unknown Source)
at java.util.regex.Pattern$Branch.match(Unknown Source)
at java.util.regex.Pattern$GroupHead.match(Unknown Source)
at java.util.regex.Pattern$Loop.match(Unknown Source)
Before 1.5.7 i used 1.0.5 same sketch same libraries but i received these error(same) only first time verification or upload , after these all works fine , can upload the sketch to board.
java.lang.StackOverflowError
at java.lang.Character.codePointAt(Character.java:2335)
at java.util.regex.Pattern$CharProperty.match(Pattern.java:3344)
at java.util.regex.Pattern$Branch.match(Pattern.java:4114)
at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
Anybody have any ideea what happen?
Many many thanks to all in advance
I had the same problem. It turned out I had mis-matched quotes in a Serial.print statement:
Serial.print(', ");
Should be:
Serial.print(", ");
I think another thing that can cause it is an unterminated comment
/*
Pete