java.sql.SQLException: You can't operate on a closed Connection!!! Error Code: 0 Call: SELECT t0.temp_element, t0.element FROM table t0 WHERE (t0.id = ?) bind => [162] Query: DataReadQuery(name="tableNodes" sql="SELECT t0.temp_element, t0.element FROM table t0 WHERE (t0.id = ?)")

c3p0 | pzak | 3 years ago
  1. 0

    c3p0:JDBC DataSources/Resource Pools / Bugs / #123 "You can't operate on a closed Statement!!!" and "You can't operate on a closed Connection!!!"

    sourceforge.net | 11 months ago
    java.sql.SQLException: You can't operate on a closed Connection!!! Error Code: 0 Call: SELECT t0.temp_element, t0.element FROM table t0 WHERE (t0.id = ?) bind => Query: DataReadQuery(name="tableNodes" sql="SELECT t0.temp_element, t0.element FROM table t0 WHERE (t0.id = ?)")
  2. 0

    Bug 418909 – Connection is unexpectedly closed by different thread just before using it (with external connection pools: c3p0 / BoneCP)

    eclipse.org | 7 months ago
    java.sql.SQLException: You can't operate on a closed Connection!!! Error Code: 0 Call: SELECT t0.temp_element, t0.element FROM table t0 WHERE (t0.id = ?) bind => [162] Query: DataReadQuery(name="tableNodes" sql="SELECT t0.temp_element, t0.element FROM table t0 WHERE (t0.id = ?)")
  3. 0

    c3p0:JDBC DataSources/Resource Pools / Bugs / #123 "You can't operate on a closed Statement!!!" and "You can't operate on a closed Connection!!!"

    sourceforge.net | 5 months ago
    java.sql.SQLException: You can't operate on a closed Connection!!! Error Code: 0 Call: SELECT t0.temp_element, t0.element FROM table t0 WHERE (t0.id = ?) bind => Query: DataReadQuery(name="tableNodes" sql="SELECT t0.temp_element, t0.element FROM table t0 WHERE (t0.id = ?)")
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connection is unexpectedly closed by different thread just before using it (with external connection pools: c3p0 / BoneCP)

    Eclipse Bugzilla | 3 years ago | pawel.zak.pawel
    java.sql.SQLException: You can't operate on a closed Connection!!! Error Code: 0 Call: SELECT t0.temp_element, t0.element FROM table t0 WHERE (t0.id = ?) bind => [162] Query: DataReadQuery(name="tableNodes" sql="SELECT t0.temp_element, t0.element FROM table t0 WHERE (t0.id = ?)")
  6. 0

    "You can't operate on a closed Statement!!!" and "You can't operate on a closed Connection!!!"

    c3p0 | 3 years ago | pzak
    java.sql.SQLException: You can't operate on a closed Connection!!! Error Code: 0 Call: SELECT t0.temp_element, t0.element FROM table t0 WHERE (t0.id = ?) bind => [162] Query: DataReadQuery(name="tableNodes" sql="SELECT t0.temp_element, t0.element FROM table t0 WHERE (t0.id = ?)")

    1 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.lang.NullPointerException

      No message provided

      at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement()
    2. c3p0:JDBC DataSources/Resource Pools
      NewProxyConnection.prepareStatement
      1. com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:135)
      2. com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
      3. com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65)
      4. com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:171)
      4 frames
    3. EclipseLink (non-OSGi)
      EntityManagerImpl.flush
      1. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1474)
      2. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1423)
      3. org.eclipse.persistence.internal.databaseaccess.DatabaseCall.prepareStatement(DatabaseCall.java:697)
      4. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:585)
      5. org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:333)
      6. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:644)
      7. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:535)
      8. org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1717)
      9. org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:253)
      10. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:207)
      11. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
      12. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:264)
      13. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelect(DatasourceCallQueryMechanism.java:246)
      14. org.eclipse.persistence.queries.DataReadQuery.executeNonCursor(DataReadQuery.java:197)
      15. org.eclipse.persistence.queries.DataReadQuery.executeDatabaseQuery(DataReadQuery.java:152)
      16. org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:844)
      17. org.eclipse.persistence.queries.DataReadQuery.execute(DataReadQuery.java:137)
      18. org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:743)
      19. org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2885)
      20. org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1516)
      21. org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1498)
      22. org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:98)
      23. org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:88)
      24. org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:88)
      25. org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiateImpl(UnitOfWorkValueHolder.java:161)
      26. org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:222)
      27. org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:88)
      28. org.eclipse.persistence.indirection.IndirectMap.buildDelegate(IndirectMap.java:110)
      29. org.eclipse.persistence.indirection.IndirectMap.getDelegate(IndirectMap.java:329)
      30. org.eclipse.persistence.indirection.IndirectMap$1.<init>(IndirectMap.java:200)
      31. org.eclipse.persistence.indirection.IndirectMap.entrySet(IndirectMap.java:199)
      32. org.eclipse.persistence.internal.queries.MapContainerPolicy$MapContainerPolicyIterator.<init>(MapContainerPolicy.java:890)
      33. org.eclipse.persistence.internal.queries.MapContainerPolicy.iteratorFor(MapContainerPolicy.java:529)
      34. org.eclipse.persistence.mappings.DirectMapMapping.cascadeDiscoverAndPersistUnregisteredNewObjects(DirectMapMapping.java:186)
      35. org.eclipse.persistence.internal.descriptors.ObjectBuilder.cascadeDiscoverAndPersistUnregisteredNewObjects(ObjectBuilder.java:1917)
      36. org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.discoverAndPersistUnregisteredNewObjects(UnitOfWorkImpl.java:4162)
      37. org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.discoverUnregisteredNewObjects(RepeatableWriteUnitOfWork.java:299)
      38. org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.calculateChanges(UnitOfWorkImpl.java:716)
      39. org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.writeChanges(RepeatableWriteUnitOfWork.java:433)
      40. org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush(EntityManagerImpl.java:780)
      40 frames