Advertisement
Guest User

Untitled

a guest
Sep 18th, 2015
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.04 KB | None | 0 0
  1. SEVERE 9/18/15 3:02 PM: liquibase: src/main/resources/db/masterChangeLog.xml: db/changeLogs/20150915-consignment_type_association.xml::20150917-1-as::aszalaj: Change Set db/changeLogs/20150915-consignment_type_association.xml::20150917-1-as::aszalaj failed. Error: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`kbf_test_portal`.`kbf_outbox_position`, CONSTRAINT `fk_outbox_position_correspondence_type_dict_id` FOREIGN KEY (`correspondence_type_dict_id`) REFERENCES `kbf_dict_correspondence_type` (`id`)
  2. liquibase.exception.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`kbf_test_portal`.`kbf_outbox_position`, CONSTRAINT `fk_outbox_position_correspondence_type_dict_id` FOREIGN KEY (`correspondence_type_dict_id`) REFERENCES `kbf_dict_correspondence_type` (`id`)
  3. at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:316)
  4. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
  5. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:122)
  6. at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1221)
  7. at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1204)
  8. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:550)
  9. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:43)
  10. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:73)
  11. at liquibase.Liquibase.update(Liquibase.java:200)
  12. at org.liquibase.maven.plugins.LiquibaseUpdate.doUpdate(LiquibaseUpdate.java:33)
  13. at org.liquibase.maven.plugins.AbstractLiquibaseUpdateMojo.performLiquibaseTask(AbstractLiquibaseUpdateMojo.java:24)
  14. at org.liquibase.maven.plugins.AbstractLiquibaseMojo.execute(AbstractLiquibaseMojo.java:369)
  15. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
  16. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
  17. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  18. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  19. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
  20. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
  21. at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  22. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
  23. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
  24. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
  25. at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
  26. at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
  27. at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
  28. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  29. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  30. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  31. at java.lang.reflect.Method.invoke(Method.java:606)
  32. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
  33. at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  34. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
  35. at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  36. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`kbf_test_portal`.`kbf_outbox_position`, CONSTRAINT `fk_outbox_position_correspondence_type_dict_id` FOREIGN KEY (`correspondence_type_dict_id`) REFERENCES `kbf_dict_correspondence_type` (`id`)
  37. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  38. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
  39. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  40. at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
  41. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  42. at com.mysql.jdbc.Util.getInstance(Util.java:381)
  43. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
  44. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
  45. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
  46. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
  47. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
  48. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
  49. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
  50. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
  51. at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:734)
  52. at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:314)
  53. ... 32 more
  54. INFO 9/18/15 3:02 PM: liquibase: db/changeLogs/20150915-consignment_type_association.xml::20150917-1-as::aszalaj: Successfully released change log lock
  55. [INFO] ------------------------------------------------------------------------
  56. [INFO] Reactor Summary:
  57. [INFO]
  58. [INFO] KBFPortalSuperpom .................................. SUCCESS [ 0.621 s]
  59. [INFO] KBFPortalDB ........................................ FAILURE [ 12.554 s]
  60. [INFO] KBFPortalCommons ................................... SKIPPED
  61. [INFO] KBF Portal Model Module ............................ SKIPPED
  62. [INFO] KBF FK Model Module ................................ SKIPPED
  63. [INFO] KBF Portal EJB Interfaces .......................... SKIPPED
  64. [INFO] KBFActiviti ........................................ SKIPPED
  65. [INFO] KBF Portal EJB Module .............................. SKIPPED
  66. [INFO] KBFPortalSchedulesEJB .............................. SKIPPED
  67. [INFO] KBFPortalDictionariesEJB ........................... SKIPPED
  68. [INFO] KBF Portal WAR ..................................... SKIPPED
  69. [INFO] KBFEPUAPService .................................... SKIPPED
  70. [INFO] KBFPortalEAR ....................................... SKIPPED
  71. [INFO] ------------------------------------------------------------------------
  72. [INFO] BUILD FAILURE
  73. [INFO] ------------------------------------------------------------------------
  74. [INFO] Total time: 13.820 s
  75. [INFO] Finished at: 2015-09-18T15:02:42+02:00
  76. [INFO] Final Memory: 24M/374M
  77. [INFO] ------------------------------------------------------------------------
  78. [ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:3.3.0:update (default) on project KBFPortalDB: Error setting up or running Liquibase: Migration failed for change set db/changeLogs/20150915-consignment_type_association.xml::20150917-1-as::aszalaj:
  79. [ERROR] Reason: liquibase.exception.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`kbf_test_portal`.`kbf_outbox_position`, CONSTRAINT `fk_outbox_position_correspondence_type_dict_id` FOREIGN KEY (`correspondence_type_dict_id`) REFERENCES `kbf_dict_correspondence_type` (`id`)
  80. [ERROR] -> [Help 1]
  81. [ERROR]
  82. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  83. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  84. [ERROR]
  85. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  86. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  87. [ERROR]
  88. [ERROR] After correcting the problems, you can resume the build with the command
  89. [ERROR] mvn <goals> -rf :KBFPortalDB
  90. Build step 'Invoke top-level Maven targets' marked build as failure
  91. Sending e-mails to: kamil.hajduczenia@comp.com.pl arkadiusz.szalaj@comp.com.pl dariusz.gonia@comp.com.pl damian.ratajczak@comp.com.pl
  92. No emails were triggered.
  93. Finished: FAILURE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement