java.sql.SQLException: Error while reading binary stream: java.io.IOException: Pipe not connected

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

Samebug tips

,
Expert tip

MySQL doesn't support some types of characters (such as emojis) with the utf8 encoding. You need to be on MySQL 5.5+ and force utf8mb4 (everywhere, client and server). You can do this sending the query "SET NAMES utf8mb4". Check this https://goo.gl/3E2qzg

Solutions on the web

via apache.org by Unknown author, 1 year ago
via apache.org by Unknown author, 1 year ago
java.sql.SQLException: Error while reading binary stream: java.io.IOException: Pipe not connected
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
at com.mysql.jdbc.ServerPreparedStatement.storeStream(ServerPreparedStatement.java:2378)
at com.mysql.jdbc.ServerPreparedStatement.serverLongData(ServerPreparedStatement.java:1295)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1047)
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:684)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:768)
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:168)
at org.apache.james.mailrepository.JDBCMailRepository.store(JDBCMailRepository.java:751)
at org.apache.james.mailrepository.JDBCSpoolRepository.store(JDBCSpoolRepository.java:236)
at org.apache.james.transport.mailets.RemoteDelivery.service(RemoteDelivery.java:1001)
at org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:414)
at org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:397)
at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:306)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 4 weeks ago
2 times, 6 months ago
11 times, 11 months ago

Write tip

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