ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-12516) Fix AlertDispatchDAOTest#testDeleteTargetWithNotices() test
Date Thu, 23 Jul 2015 18:00:04 GMT
Dmitry Lysnichenko created AMBARI-12516:
-------------------------------------------

             Summary: Fix AlertDispatchDAOTest#testDeleteTargetWithNotices() test
                 Key: AMBARI-12516
                 URL: https://issues.apache.org/jira/browse/AMBARI-12516
             Project: Ambari
          Issue Type: Task
          Components: ambari-admin
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko
             Fix For: 2.1.0


{code}
Caused by: java.sql.SQLException: DELETE on table 'ALERT_TARGET' caused a violation of foreign
key constraint 'LERTNOTICETARGETID' for key (6).  The statement has been rolled back.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
	... 55 more
Caused by: ERROR 23503: DELETE on table 'ALERT_TARGET' caused a violation of foreign key constraint
'LERTNOTICETARGETID' for key (6).  The statement has been rolled back.
	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
	at org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck(Unknown Source)
	at org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck(Unknown Source)
	at org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows(Unknown Source)
	at org.apache.derby.impl.sql.execute.DeleteResultSet.open(Unknown Source)
	at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
	... 49 more
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message