java.lang.StackOverflowError: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.StackOverflowError:
at sun.nio.cs.UTF_8$Decoder.decodeLoop(UTF_8.java:305)
at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544)
at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:140)
at java.lang.StringCoding.decode(StringCoding.java:173)
at java.lang.String.(String.java:443)
at java.lang.String.(String.java:515)
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3292)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1940)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2109)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2637)
at com.mysql.jdbc.StatementImpl.executeSimpleNonQuery(StatementImpl.java:1544)
at com.mysql.jdbc.RowDataDynamic.close(RowDataDynamic.java:198)
at com.mysql.jdbc.ResultSetImpl.realClose(ResultSetImpl.java:7556)
at com.mysql.jdbc.ResultSetImpl.close(ResultSetImpl.java:907)
at com.mysql.jdbc.StatementImpl.realClose(StatementImpl.java:2363)
at com.mysql.jdbc.PreparedStatement.realClose(PreparedStatement.java:3008)
at com.mysql.jdbc.ConnectionImpl.closeAllOpenStatements(ConnectionImpl.java:1534)
at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4397)
at com.mysql.jdbc.ConnectionImpl.cleanup(ConnectionImpl.java:1310)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2670)
at com.mysql.jdbc.StatementImpl.executeSimpleNonQuery(StatementImpl.java:1544)
at com.mysql.jdbc.RowDataDynamic.close(RowDataDynamic.java:198)
at com.mysql.jdbc.ResultSetImpl.realClose(ResultSetImpl.java:7556)
at com.mysql.jdbc.ResultSetImpl.close(ResultSetImpl.java:907)
at com.mysql.jdbc.StatementImpl.realClose(StatementImpl.java:2363)
at com.mysql.jdbc.PreparedStatement.realClose(PreparedStatement.java:3008)
at com.mysql.jdbc.ConnectionImpl.closeAllOpenStatements(ConnectionImpl.java:1534)
at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4397)
at com.mysql.jdbc.ConnectionImpl.cleanup(ConnectionImpl.java:1310)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2670)
at com.mysql.jdbc.StatementImpl.executeSimpleNonQuery(StatementImpl.java:1544)
at com.mysql.jdbc.RowDataDynamic.close(RowDataDynamic.java:198)
at com.mysql.jdbc.ResultSetImpl.realClose(ResultSetImpl.java:7556)
at com.mysql.jdbc.ResultSetImpl.close(ResultSetImpl.java:907)
at com.mysql.jdbc.StatementImpl.realClose(StatementImpl.java:2363)
at com.mysql.jdbc.PreparedStatement.realClose(PreparedStatement.java:3008)
at com.mysql.jdbc.ConnectionImpl.closeAllOpenStatements(ConnectionImpl.java:1534)
at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4397)
at com.mysql.jdbc.ConnectionImpl.cleanup(ConnectionImpl.java:1310)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2670)
at com.mysql.jdbc.StatementImpl.executeSimpleNonQuery(StatementImpl.java:1544)
at com.mysql.jdbc.RowDataDynamic.close(RowDataDynamic.java:198)
at com.mysql.jdbc.ResultSetImpl.realClose(ResultSetImpl.java:7556)
at com.mysql.jdbc.ResultSetImpl.close(ResultSetImpl.java:907)
at com.mysql.jdbc.StatementImpl.realClose(StatementImpl.java:2363)
at com.mysql.jdbc.PreparedStatement.realClose(PreparedStatement.java:3008)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.