Errors are reported as follows:
Exception in thread "main" java.lang.StackOverflowError
at java.util.regex.Pattern$Loop.match(Pattern.java:4779)
at java.util.regex.Pattern$GroupTail.match(Pattern.java:4731)
at java.util.regex.Pattern$Curly.match0(Pattern.java:4286)
at java.util.regex.Pattern$Curly.match(Pattern.java:4248)
at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3812)
at java.util.regex.Pattern$GroupHead.match(Pattern.java:4672)
at java.util.regex.Pattern$Loop.match(Pattern.java:4799)
at java.util.regex.Pattern$GroupTail.match(Pattern.java:4731)
at java.util.regex.Pattern$Curly.match0(Pattern.java:4286)
at java.util.regex.Pattern$Curly.match(Pattern.java:4248)
at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3812)
at java.util.regex.Pattern$GroupHead.match(Pattern.java:4672)
at java.util.regex.Pattern$Loop.match(Pattern.java:4799)
at java.util.regex.Pattern$GroupTail.match(Pattern.java:4731)
at java.util.regex.Pattern$Curly.match0(Pattern.java:4293)
at java.util.regex.Pattern$Curly.match(Pattern.java:4248)
at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3812)
at java.util.regex.Pattern$GroupHead.match(Pattern.java:4672)
......
Java.lang.stackoverflowerror error. Finally, it is positioned as regular expression stack overflow. It is found that the data of some rows are matched too much by regular expression
the final solution is to enter the matching when the length of this row is less than 10000, otherwise null is returned
add the following code
Read More:
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- Maven packing UDF function stackoverflowerror
- Maven package error reporting java.lang.stackoverflowerror solution
- Realize the simplest recursive call, simulate exception in thread “main” java.lang.stackoverflowerror exception
- Dontshlink resolves Proguard error: java.lang.stackoverflowerror
- Initialization of bean failed; nested exception is java.lang.StackOverflowError
- Java uses regular expressions to intercept the contents between specified strings
- Java regular matching returns all matches
- java.lang.NoSuchMethodError: org.json.JSONObject.put(Java/lang/String; Java/util/Collection;) “209151;”
- About the error querying database. Cause: java.lang.nullpointerexception reported in mybatis
- Solution in idea java.lang.ClassNotFoundException : org.springframework.web . context.ContextLoaderListener
- Regular expressions filter special characters
- build.gradle Warming: cannot be applied to ‘(groovy.lang.Closure)’/'(java.lang.String)’
- Java:java.lang.OutOfMemoryError : GC overhead limit exceeded solution
- There is no getter for property named ‘id‘ in ‘class java.lang.Integer‘
- The @ Autowired annotation in springboot is invalid in ordinary classes. How to solve and use the null pointer exception java.lang.nullpointerexception
- [Solved] Sqoop Mysqltohive error: Error: java.lang.RuntimeException: java.lang.RuntimeException…
- Divide in [JavaEE] BigDecimal, divisor cannot be 0. java.lang.ArithmeticException : / by zero
- [Solved] Flowable Start Error: ClassCastException: java.time.LocalDateTime cannot be cast to java.lang.String
- Mybatis error,There is no getter for property named ‘xx’ in ‘class java.lang.String The solution