Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

saving pipelines triggers sql exception #568

Open
GSC-DEVARCH opened this issue Jan 13, 2016 · 1 comment
Open

saving pipelines triggers sql exception #568

GSC-DEVARCH opened this issue Jan 13, 2016 · 1 comment
Assignees

Comments

@GSC-DEVARCH
Copy link

Hi,

after using some time the 2.3.0 release we get on saving pipelines the following exception:

2016-01-13 10:14:41,172 [http-bio-127.0.0.1-28080-exec-6] WARN org.eclipse.persistence.logging.default - 2016-01-13 10:14:41.172--UnitOfWork(1750418939)--
2016-01-13 10:14:41,175 [http-bio-127.0.0.1-28080-exec-6] ERROR cz.cuni.mff.xrg.odcs.frontend.AppEntry - Uncaught exception
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (unifiedviews.exec_context_dpu, CONSTRAINT FK_exec_context_dpu_dpu_instance_id FOREIGN KEY (dpu_instance_id) REFERENCES dpu_instance (id))
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_91]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_91]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_91]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_91]
at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) ~[mysql-connector-java-5.1.37.jar:5.1.37]
at com.mysql.jdbc.Util.getInstance(Util.java:387) ~[mysql-connector-java-5.1.37.jar:5.1.37]
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934) ~[mysql-connector-java-5.1.37.jar:5.1.37]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3870) ~[mysql-connector-java-5.1.37.jar:5.1.37]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3806) ~[mysql-connector-java-5.1.37.jar:5.1.37]
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2470) ~[mysql-connector-java-5.1.37.jar:5.1.37]

kind regards,

Bert

@bertvannuffelen
Copy link

a more deeper observation, led to the following case:

the exception is triggered after deleting a dpu from the pipeline and then trying to save it.

kind regards,

Bert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants