Error 500: Cannot delete or update a parent row: a foreign key constraint fails (`rawls`.`SUBMISSION`, CONSTRAINT `FK_SUB_METHOD_CONFIG` FOREIGN KEY (`METHOD_CONFIG_ID`) REFERENCES `METHOD_CONFIG` (`ID`) ON DELETE NO ACTION ON UPDATE NO ACTION)
Occurred: April 1, 2016 5:17 PM -04:00
Source: rawls
Stack Trace:
at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)
at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance (Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance (Util.java:404)
at com.mysql.jdbc.Util.getInstance (Util.java:387)
at com.mysql.jdbc.SQLError.createSQLException (SQLError.java:932)
at com.mysql.jdbc.MysqlIO.checkErrorPacket (MysqlIO.java:3878)
at com.mysql.jdbc.MysqlIO.checkErrorPacket (MysqlIO.java:3814)
at com.mysql.jdbc.MysqlIO.sendCommand (MysqlIO.java:2478)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect (MysqlIO.java:2625)
at com.mysql.jdbc.ConnectionImpl.execSQL (ConnectionImpl.java:2551)
at com.mysql.jdbc.PreparedStatement.executeInternal (PreparedStatement.java:1861)
at com.mysql.jdbc.PreparedStatement.executeUpdateInternal (PreparedStatement.java:2073)
at com.mysql.jdbc.PreparedStatement.executeUpdateInternal (PreparedStatement.java:2009)
at com.mysql.jdbc.PreparedStatement.executeLargeUpdate (PreparedStatement.java:5094)
at com.mysql.jdbc.PreparedStatement.executeUpdate (PreparedStatement.java:1994)
at com.zaxxer.hikari.proxy.PreparedStatementProxy.executeUpdate (PreparedStatementProxy.java:61)
at com.zaxxer.hikari.proxy.PreparedStatementJavassistProxy.executeUpdate (PreparedStatementJavassistProxy.java:-1)
at slick.driver.JdbcActionComponent$DeleteActionExtensionMethodsImpl$$anon$4$$anonfun$4.apply (JdbcActionComponent.scala:273)
at slick.driver.JdbcActionComponent$DeleteActionExtensionMethodsImpl$$anon$4$$anonfun$4.apply (JdbcActionComponent.scala:271)
at slick.jdbc.JdbcBackend$SessionDef$class.withPreparedStatement (JdbcBackend.scala:347)
at slick.jdbc.JdbcBackend$BaseSession.withPreparedStatement (JdbcBackend.scala:407)
at slick.driver.JdbcActionComponent$DeleteActionExtensionMethodsImpl$$anon$4.run (JdbcActionComponent.scala:271)
at slick.driver.JdbcActionComponent$DeleteActionExtensionMethodsImpl$$anon$4.run (JdbcActionComponent.scala:270)
at slick.driver.JdbcActionComponent$SimpleJdbcDriverAction.run (JdbcActionComponent.scala:32)
at slick.driver.JdbcActionComponent$SimpleJdbcDriverAction.run (JdbcActionComponent.scala:29)
at slick.dbio.SynchronousDatabaseAction$FusedAndThenAction$$anonfun$run$4.apply (DBIOAction.scala:508)
at slick.dbio.SynchronousDatabaseAction$FusedAndThenAction$$anonfun$run$4.apply (DBIOAction.scala:508)
at scala.collection.Iterator$class.foreach (Iterator.scala:742)
at scala.collection.AbstractIterator.foreach (Iterator.scala:1194)
at scala.collection.IterableLike$class.foreach (IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach (Iterable.scala:54)
at slick.dbio.SynchronousDatabaseAction$FusedAndThenAction.run (DBIOAction.scala:508)
at slick.backend.DatabaseComponent$DatabaseDef$$anon$2.liftedTree1$1 (DatabaseComponent.scala:237)
at slick.backend.DatabaseComponent$DatabaseDef$$anon$2.run (DatabaseComponent.scala:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
at java.lang.Thread.run (Thread.java:745)
Hide Stack Trace
↧
unable to delete a method config but the WDL in the repo is still there
↧