Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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`)
- 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`)
- at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:316)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:122)
- at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1221)
- at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1204)
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:550)
- at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:43)
- at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:73)
- at liquibase.Liquibase.update(Liquibase.java:200)
- at org.liquibase.maven.plugins.LiquibaseUpdate.doUpdate(LiquibaseUpdate.java:33)
- at org.liquibase.maven.plugins.AbstractLiquibaseUpdateMojo.performLiquibaseTask(AbstractLiquibaseUpdateMojo.java:24)
- at org.liquibase.maven.plugins.AbstractLiquibaseMojo.execute(AbstractLiquibaseMojo.java:369)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
- at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
- at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
- at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
- at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
- at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:606)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
- 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`)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
- at com.mysql.jdbc.Util.getInstance(Util.java:381)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
- at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
- at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
- at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
- at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
- at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:734)
- at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:314)
- ... 32 more
- INFO 9/18/15 3:02 PM: liquibase: db/changeLogs/20150915-consignment_type_association.xml::20150917-1-as::aszalaj: Successfully released change log lock
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary:
- [INFO]
- [INFO] KBFPortalSuperpom .................................. SUCCESS [ 0.621 s]
- [INFO] KBFPortalDB ........................................ FAILURE [ 12.554 s]
- [INFO] KBFPortalCommons ................................... SKIPPED
- [INFO] KBF Portal Model Module ............................ SKIPPED
- [INFO] KBF FK Model Module ................................ SKIPPED
- [INFO] KBF Portal EJB Interfaces .......................... SKIPPED
- [INFO] KBFActiviti ........................................ SKIPPED
- [INFO] KBF Portal EJB Module .............................. SKIPPED
- [INFO] KBFPortalSchedulesEJB .............................. SKIPPED
- [INFO] KBFPortalDictionariesEJB ........................... SKIPPED
- [INFO] KBF Portal WAR ..................................... SKIPPED
- [INFO] KBFEPUAPService .................................... SKIPPED
- [INFO] KBFPortalEAR ....................................... SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 13.820 s
- [INFO] Finished at: 2015-09-18T15:02:42+02:00
- [INFO] Final Memory: 24M/374M
- [INFO] ------------------------------------------------------------------------
- [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:
- [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`)
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <goals> -rf :KBFPortalDB
- Build step 'Invoke top-level Maven targets' marked build as failure
- Sending e-mails to: kamil.hajduczenia@comp.com.pl arkadiusz.szalaj@comp.com.pl dariusz.gonia@comp.com.pl damian.ratajczak@comp.com.pl
- No emails were triggered.
- Finished: FAILURE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement