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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

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