java.lang.IllegalArgumentException

requirement failed: Given /Users/hickst/Documents/nxml2fries/papers/PMC1234335.csv, but readNXMLPaper only handles .nxml files!

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web434

  • via GitHub by clockfly
    ,
  • via GitHub by gebner
    ,
  • Stack trace

    • java.lang.IllegalArgumentException: requirement failed: Given /Users/hickst/Documents
    • xml2fries/papers/PMC1234335.csv, but readNXMLPaper only handles .nxml files! at scala.Predef$.require(Predef.scala:224) at org.clulab.reach.PaperReader$.readPaper(PaperReader.scala:74) at org.clulab.reach.PaperReader$.getMentionsFromPaper(PaperReader.scala:81) at org.clulab.reach.AssemblyCLI$$anonfun$processPapers$1.apply(AssemblyCLI.scala:51) at org.clulab.reach.AssemblyCLI$$anonfun$processPapers$1.apply(AssemblyCLI.scala:42) at scala.collection.parallel.mutable.ParArray$ParArrayIterator.foreach_quick(ParArray.scala:143) at scala.collection.parallel.mutable.ParArray$ParArrayIterator.foreach(ParArray.scala:136) at scala.collection.parallel.ParIterableLike$Foreach.leaf(ParIterableLike.scala:972) at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply$mcV$sp(Tasks.scala:49) at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48) at scala.collection.parallel.Task$$anonfun$tryLeaf$1.apply(Tasks.scala:48) at scala.collection.parallel.Task$class.tryLeaf(Tasks.scala:51) at scala.collection.parallel.ParIterableLike$Foreach.tryLeaf(ParIterableLike.scala:969) at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.internal(Tasks.scala:159) at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.internal(Tasks.scala:443) at scala.collection.parallel.AdaptiveWorkStealingTasks$WrappedTask$class.compute(Tasks.scala:149) at scala.collection.parallel.AdaptiveWorkStealingForkJoinTasks$WrappedTask.compute(Tasks.scala:443) at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    rprp
    Once,
    tyson925tyson925
    16 times, last one
    gehelgehel
    2 times, last one
    melezovmelezov
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    44 more bugmates