java.net.SocketException: Software caused connection abort: recv failed

activiti.org | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    activiti explorer with mysql | Activiti Forums

    activiti.org | 4 months ago
    java.net.SocketException: Software caused connection abort: recv failed
  2. 0
    samebug tip
    It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.net.SocketException: Software caused connection abort: recv failed java mail

    Stack Overflow | 4 years ago | Nikki Kononov
    java.net.SocketException: Software caused connection abort: recv failed

  1. tvrmsmith 3 times, last 3 weeks ago
  2. rp 1 times, last 1 month ago
  3. Alireza Mohamadi 22 times, last 3 weeks ago
  4. Hronom 1 times, last 2 months ago
  5. r1chjames 1 times, last 3 months ago
20 more registered users
75 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Software caused connection abort: recv failed

    at java.net.SocketInputStream.socketRead0()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)
    2. java.net.SocketInputStream.read(SocketInputStream.java:150)
    3. java.net.SocketInputStream.read(SocketInputStream.java:121)
    3 frames
  3. MySQL jdbc
    PreparedStatement.execute
    1. com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:113)
    2. com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:160)
    3. com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:188)
    4. com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1994)
    5. com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2411)
    6. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916)
    7. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
    8. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
    9. com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
    10. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1313)
    11. com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:874)
    11 frames
  4. Commons DBCP
    DelegatingPreparedStatement.execute
    1. org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
    2. org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
    2 frames
  5. MyBatis
    DefaultSqlSession.selectList
    1. org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:56)
    2. org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:70)
    3. org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:57)
    4. org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:259)
    5. org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:132)
    6. org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:105)
    7. org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:81)
    8. org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:104)
    9. org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:98)
    9 frames
  6. Activiti - Engine
    CommandContextInterceptor.execute
    1. org.activiti.engine.impl.db.DbSqlSession.selectListWithRawParameter(DbSqlSession.java:284)
    2. org.activiti.engine.impl.db.DbSqlSession.selectList(DbSqlSession.java:275)
    3. org.activiti.engine.impl.db.DbSqlSession.selectList(DbSqlSession.java:270)
    4. org.activiti.engine.impl.db.DbSqlSession.selectList(DbSqlSession.java:251)
    5. org.activiti.engine.impl.persistence.entity.VariableInstanceEntityManager.findVariableInstancesByTaskId(VariableInstanceEntityManager.java:29)
    6. org.activiti.engine.impl.persistence.entity.TaskEntity.loadVariableInstances(TaskEntity.java:233)
    7. org.activiti.engine.impl.persistence.entity.VariableScopeImpl.ensureVariableInstancesInitialized(VariableScopeImpl.java:60)
    8. org.activiti.engine.impl.persistence.entity.TaskEntity.getVariableInstances(TaskEntity.java:691)
    9. org.activiti.engine.impl.persistence.entity.VariableInstanceEntityManager.deleteVariableInstanceByTask(VariableInstanceEntityManager.java:38)
    10. org.activiti.engine.impl.persistence.entity.TaskEntityManager.deleteTask(TaskEntityManager.java:64)
    11. org.activiti.engine.impl.persistence.entity.TaskEntity.complete(TaskEntity.java:152)
    12. org.activiti.engine.impl.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:39)
    13. org.activiti.engine.impl.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:24)
    14. org.activiti.engine.impl.cmd.NeedsActiveTaskCmd.execute(NeedsActiveTaskCmd.java:61)
    15. org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
    16. org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:61)
    16 frames
  7. Activiti - Spring
    SpringTransactionInterceptor$1.doInTransaction
    1. org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
    1 frame
  8. Spring Tx
    TransactionTemplate.execute
    1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
    1 frame
  9. Activiti - Spring
    SpringTransactionInterceptor.execute
    1. org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
    1 frame
  10. Activiti - Engine
    TaskServiceImpl.complete
    1. org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
    2. org.activiti.engine.impl.TaskServiceImpl.complete(TaskServiceImpl.java:163)
    2 frames
  11. Activiti - Explorer
    DemoDataGenerator$1.run
    1. org.activiti.explorer.demo.DemoDataGenerator$1.run(DemoDataGenerator.java:278)
    1 frame
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:722)
    1 frame