-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
In the words of @kiivihal:
that could very well by a mapping or harvesting issue. It happens when you run a process on something that has no content
Reproduction:
- Upload a sipzip
- Process, analyze and save it. This works
- Enter OAI-PMH url
- Press 'Harvest'. The dataset then appears as 'sourced'.
- Press 'Process'. This appears to work but is so fast that I suspect nothing is actually done.
- Press 'analyze'. This fails with the following stacktrace:
[error] d.DatasetActor - next on empty iterator
java.util.NoSuchElementException: next on empty iterator
at scala.collection.Iterator$$anon$2.next(Iterator.scala:39)
at scala.collection.Iterator$$anon$2.next(Iterator.scala:37)
at scala.collection.MapLike$$anon$2.next(MapLike.scala:216)
at scala.collection.IterableLike$class.head(IterableLike.scala:107)
at scala.collection.AbstractIterable.head(Iterable.scala:54)
at analysis.TreeNode$.apply(TreeNode.scala:90)
at analysis.Analyzer$$anonfun$receive$1$$anonfun$applyOrElse$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(Analyzer.scala:82)
at analysis.Analyzer$$anonfun$receive$1$$anonfun$applyOrElse$1$$anonfun$apply$mcV$sp$1.apply(Analyzer.scala:76)
at analysis.Analyzer$$anonfun$receive$1$$anonfun$applyOrElse$1$$anonfun$apply$mcV$sp$1.apply(Analyzer.scala:76)
at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)