I try to submit a method config with a root-entity type of "sample set"
but got the error below....
Can FC have a better error reporting?
I was able to submit because I noted that I had mispelled a column name, but it does it seem like the error message could be more helpful?
-eddie
Error 500: next on empty iterator
Occurred: April 1, 2016 2:55 PM -04:00
Source: rawls
Stack Trace:
at scala.collection.Iterator$$anon$2.next (Iterator.scala:39)
at scala.collection.Iterator$$anon$2.next (Iterator.scala:37)
at scala.collection.IndexedSeqLike$Elements.next (IndexedSeqLike.scala:63)
at scala.collection.IterableLike$class.head (IterableLike.scala:107)
at scala.collection.mutable.ArrayBuffer.scala$collection$IndexedSeqOptimized$$super$head (ArrayBuffer.scala:48)
at scala.collection.IndexedSeqOptimized$class.head (IndexedSeqOptimized.scala:126)
at scala.collection.mutable.ArrayBuffer.head (ArrayBuffer.scala:48)
at org.broadinstitute.dsde.rawls.dataaccess.slick.AttributeComponent$attributeQuery$.assertConsistentValueListMembers (AttributeComponent.scala:134)
at org.broadinstitute.dsde.rawls.dataaccess.slick.AttributeComponent$attributeQuery$.insertAttributeRecords (AttributeComponent.scala:58)
at org.broadinstitute.dsde.rawls.dataaccess.slick.WorkflowComponent$workf$$$$f8ade4e12c3e16ea1345c182f9e82$$$$$saveInputResolutions$1.apply (WorkflowComponent.scala:134)
at org.broadinstitute.dsde.rawls.dataaccess.slick.WorkflowComponent$workf$$$$f8ade4e12c3e16ea1345c182f9e82$$$$$saveInputResolutions$1.apply (WorkflowComponent.scala:130)
at scala.collection.TraversableLike$$anonfun$map$1.apply (TraversableLike.scala:245)
at scala.collection.TraversableLike$$anonfun$map$1.apply (TraversableLike.scala:245)
at scala.collection.immutable.List.foreach (List.scala:381)
at scala.collection.TraversableLike$class.map (TraversableLike.scala:245)
at scala.collection.immutable.List.map (List.scala:285)
at org.broadinstitute.dsde.rawls.dataaccess.slick.WorkflowComponent$workflowQuery$.org$broadinstitute$dsde$rawls$dataaccess$slick$WorkflowComponent$workflowQuery$$saveInputResolutions (WorkflowComponent.scala:130)
at org.broadinstitute.dsde.rawls.dataaccess.slick.WorkflowComponent$workflowQuery$$anonfun$save$1$$anonfun$apply$6.apply (WorkflowComponent.scala:123)
at org.broadinstitute.dsde.rawls.dataaccess.slick.WorkflowComponent$workflowQuery$$anonfun$save$1$$anonfun$apply$6.apply (WorkflowComponent.scala:122)
at slick.backend.DatabaseComponent$DatabaseDef$$anonfun$runInContext$1.apply (DatabaseComponent.scala:146)
at slick.backend.DatabaseComponent$DatabaseDef$$anonfun$runInContext$1.apply (DatabaseComponent.scala:146)
at scala.concurrent.Future$$anonfun$flatMap$1.apply (Future.scala:251)
at scala.concurrent.Future$$anonfun$flatMap$1.apply (Future.scala:249)
at scala.concurrent.impl.CallbackRunnable.run (Promise.scala:32)
at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec (ExecutionContextImpl.scala:121)
at scala.concurrent.forkjoin.ForkJoinTask.doExec (ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask (ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker (ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run (ForkJoinWorkerThread.java:107)