java.sql.SQLNonTransientConnectionException: A network protocol error was encountered and the connection has been terminated: the requested command encountered an unarchitected and implementation-specific condition for which there was no architected message (additional information may be available in the derby.log file on the server)

Apache's JIRA Issue Tracker | Dag H. Wanvik | 6 years ago
  1. 0

    Cf the attached repro: when performing the rollback after the database has been shutdown, we see this error: There was 1 error: 1) testShutdown(org.apache.derbyTesting.functionTests.tests.store.Foo)java.sql.SQLNonTransientConnectionException: Network protocol exception: actual code point, 4,692, does not match expected code point, 9,224. The connection has been terminated. at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:71) at org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:358) at org.apache.derby.client.am.Connection.rollback(Connection.java:659) at org.apache.derbyTesting.junit.BaseJDBCTestCase.rollback(BaseJDBCTestCase.java:387) at org.apache.derbyTesting.functionTests.tests.store.Foo.testShutdown(Foo.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) at junit.extensions.TestSetup$1.protect(TestSetup.java:21) at junit.extensions.TestSetup.run(TestSetup.java:25) at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) at junit.extensions.TestSetup$1.protect(TestSetup.java:21) at junit.extensions.TestSetup.run(TestSetup.java:25) Caused by: org.apache.derby.client.am.DisconnectException: Network protocol exception: actual code point, 4,692, does not match expected code point, 9,224. The connection has been terminated. at org.apache.derby.client.net.Reply.parseLengthAndMatchCodePoint(Reply.java:1075) at org.apache.derby.client.net.NetConnectionReply.parseSQLCARD(NetConnectionReply.java:2572) at org.apache.derby.client.net.NetConnectionReply.parseRDBRLLBCKreply(NetConnectionReply.java:219) at org.apache.derby.client.net.NetConnectionReply.readLocalRollback(NetConnectionReply.java:141) at org.apache.derby.client.net.ConnectionReply.readLocalRollback(ConnectionReply.java:48) at org.apache.derby.client.net.NetConnection.readLocalRollback_(NetConnection.java:1515) at org.apache.derby.client.am.Connection.readRollback(Connection.java:707) at org.apache.derby.client.am.Connection.flowRollback(Connection.java:690) at org.apache.derby.client.am.Connection.rollback(Connection.java:655) ... 29 more

    Apache's JIRA Issue Tracker | 6 years ago | Dag H. Wanvik
    java.sql.SQLNonTransientConnectionException: A network protocol error was encountered and the connection has been terminated: the requested command encountered an unarchitected and implementation-specific condition for which there was no architected message (additional information may be available in the derby.log file on the server)
  2. 0

    Sonar plugin - hudson - Hudson Wiki

    hudson-ci.org | 1 month ago
    java.sql.SQLNonTransientConnectionException: No current connection.
  3. 0

    Derby out of memory

    Stack Overflow | 3 years ago | user3001676
    java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ001, SQLERRMC: java.lang.OutOfMemoryErrorPermGen spaceXJ001.U
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Erro inesperado ao iniciar emissor nfe 3.10

    com.br | 8 months ago
    javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute query
  6. 0

    Emissor de Nota Fiscal Eletrônica - Erro inesperado na execução!

    ubuntuforum-br.org | 8 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection

    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. org.apache.derby.client.am.SqlException

      DERBY SQL error: SQLCODE: -1, SQLSTATE: 08003, SQLERRMC: No current connection.

      at org.apache.derby.client.net.NetConnectionReply.parseCMDCHKRM()
    2. Apache Derby Client JDBC Driver
      Connection.rollback
      1. org.apache.derby.client.net.NetConnectionReply.parseCMDCHKRM(NetConnectionReply.java:880)
      2. org.apache.derby.client.net.NetConnectionReply.parseRollbackError(NetConnectionReply.java:359)
      3. org.apache.derby.client.net.NetConnectionReply.parseRDBRLLBCKreply(NetConnectionReply.java:216)
      4. org.apache.derby.client.net.NetConnectionReply.readLocalRollback(NetConnectionReply.java:141)
      5. org.apache.derby.client.net.ConnectionReply.readLocalRollback(ConnectionReply.java:48)
      6. org.apache.derby.client.net.NetConnection.readLocalRollback_(NetConnection.java:1515)
      7. org.apache.derby.client.am.Connection.readRollback(Connection.java:707)
      8. org.apache.derby.client.am.Connection.flowRollback(Connection.java:690)
      9. org.apache.derby.client.am.Connection.rollback(Connection.java:655)
      10. org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:71)
      11. org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:358)
      12. org.apache.derby.client.am.Connection.rollback(Connection.java:659)
      12 frames
    3. org.apache.derbyTesting
      Derby5158Test.testShutdown
      1. org.apache.derbyTesting.functionTests.tests.jdbcapi.Derby5158Test.testShutdown(Derby5158Test.java:71)
      1 frame
    4. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    5. org.apache.derbyTesting
      BaseTestCase.runBare
      1. org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
      1 frame
    6. JUnit
      TestSetup.run
      1. junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      2. junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      3. junit.extensions.TestSetup.run(TestSetup.java:25)
      3 frames
    7. org.apache.derbyTesting
      BaseTestSetup.run
      1. org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      1 frame
    8. JUnit
      TestSetup.run
      1. junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      2. junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      3. junit.extensions.TestSetup.run(TestSetup.java:25)
      3 frames