junit.framework.AssertionFailedError: matching triggers need to be fired in order creation:1,NO CASCADE BEFORE,DELETE,ROW

db-derby-dev | ASF subversion and git services (JIRA) | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. junit.framework.AssertionFailedError

    matching triggers need to be fired in order creation:1,NO CASCADE BEFORE,DELETE,ROW

    at org.apache.derbyTesting.functionTests.tests.lang.TriggerTest.assertFiringOrder()
  2. org.apache.derbyTesting
    TriggerTest.testFiringConstraintOrder
    1. org.apache.derbyTesting.functionTests.tests.lang.TriggerTest.assertFiringOrder(TriggerTest.java:560)
    2. org.apache.derbyTesting.functionTests.tests.lang.TriggerTest.testFiringConstraintOrder(TriggerTest.java:500)
    2 frames
  3. Java RT
    DelegatingMethodAccessorImpl.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    3 frames
  4. org.apache.derbyTesting
    BaseJDBCTestCase.runBare
    1. org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
    2. org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:424)
    3. org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:441)
    3 frames
  5. 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
  6. org.apache.derbyTesting
    BaseTestSetup.run
    1. org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
    1 frame