java.sql.SQLException: DERBY SQL error: ERRORCODE: 0, SQLSTATE: XJ001, SQLERRMC: org.apache.derby.shared.common.sanity.AssertFailureASSERT FAILED Expected (column_id == format_ids.length)column_id = 1format_ids.length = 2format_ids = [I@2abb6423XJ001.U

db-derby-dev | Mike Matrigali (JIRA) | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [jira] [Resolved] (DERBY-6774) background post commit threads cause ASSERTS/errors on interaction with alter table add column

    db-derby-dev | 2 years ago | Mike Matrigali (JIRA)
    java.sql.SQLException: DERBY SQL error: ERRORCODE: 0, SQLSTATE: XJ001, SQLERRMC: org.apache.derby.shared.common.sanity.AssertFailureASSERT FAILED Expected (column_id == format_ids.length)column_id = 1format_ids.length = 2format_ids = [I@2abb6423XJ001.U
  2. 0

    [jira] [Commented] (DERBY-6774) background post commit threads cause ASSERTS/errors on interaction with alter table add column

    db-derby-dev | 2 years ago | Mike Matrigali (JIRA)
    java.sql.SQLException: DERBY SQL error: ERRORCODE: 0, SQLSTATE: XJ001, SQLERRMC: org.apache.derby.shared.common.sanity.AssertFailureASSERT FAILED Expected (column_id == format_ids.length)column_id = 1format_ids.length = 2format_ids = [I@2abb6423XJ001.U

    Root Cause Analysis

    1. java.sql.SQLException

      DERBY SQL error: ERRORCODE: 0, SQLSTATE: XJ001, SQLERRMC: org.apache.derby.shared.common.sanity.AssertFailureASSERT FAILED Expected (column_id == format_ids.length)column_id = 1format_ids.length = 2format_ids = [I@2abb6423XJ001.U

      at org.apache.derby.client.am.SQLExceptionFactory.getSQLException()
    2. Apache Derby Client JDBC Driver
      ClientStatement.execute
      1. org.apache.derby.client.am.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:112)
      2. org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:321)
      3. org.apache.derby.client.am.ClientStatement.execute(ClientStatement.java:990)
      3 frames
    3. org.apache.derbyTesting
      BaseJDBCTestCase.runBare
      1. org.apache.derbyTesting.functionTests.tests.lang.AlterTableTest.testAddIdentityColumn(AlterTableTest.java:377)
      2. org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:120)
      3. org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:443)
      4. org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:460)
      4 frames
    4. 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
    5. org.apache.derbyTesting
      BaseTestSetup.run
      1. org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
      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)
      4. junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      5. junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      6. junit.extensions.TestSetup.run(TestSetup.java:25)
      6 frames
    7. org.apache.derbyTesting
      BaseTestSetup.run
      1. org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
      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
    9. org.apache.derbyTesting
      BaseTestSetup.run
      1. org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:58)
      1 frame
    10. 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)
      4. junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      5. junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      6. junit.extensions.TestSetup.run(TestSetup.java:25)
      6 frames