Quantcast
Channel: Ask the FireCloud Team — GATK-Forum
Viewing all articles
Browse latest Browse all 1147

delete method config error

$
0
0

I used a method config and generated some submissions.

I want to delete the config because the WDL has a mistake.

I want to delete the config so it doesn't clutter my workspace so I don't click it on accident and run an erroneous WDL.

I want to delete the config because the error in the WDL means that the data entity model doesn't get updated after the WDL finishes.

I try to delete the config but get a message/error as seen below.

I guess that the error is that the deletion is unpermitted because the submission I made refers to the method config I want to delete.

If a deletion would be unpermitted, then perhaps the delete button should not be shown in such cases?

If deleting a config is only allowed on configs that have not been used, then the purpose of the delete button is limited. Or perhaps the ability to delete submisisons should be allowed?

Confirm Delete
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 6, 2016 12:11 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)

Viewing all articles
Browse latest Browse all 1147

Trending Articles