Skip to content

Exception and no TSV's #15

@sgt101

Description

@sgt101

Hello, I get :

Exception in thread "main" java.lang.ClassCastException: play.api.libs.json.JsNull$ cannot be cast to play.api.libs.json.JsString
at com.clearcut.nlp.JSONReader$$anonfun$1.apply(JSONReader.scala:40)
at com.clearcut.nlp.JSONReader$$anonfun$1.apply(JSONReader.scala:40)
at scala.Option.map(Option.scala:145)
at com.clearcut.nlp.JSONReader.fetchNext(JSONReader.scala:40)
at com.clearcut.nlp.JSONReader.next(JSONReader.scala:18)
at com.clearcut.nlp.JSONReader.next(JSONReader.scala:7)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at com.clearcut.nlp.JSONReader.foreach(JSONReader.scala:7)
at com.clearcut.nlp.Main$delayedInit$body.apply(Main.scala:116)
at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:71)
at scala.App$$anonfun$main$1.apply(App.scala:71)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
at scala.App$class.main(App.scala:71)
at com.clearcut.nlp.Main$.main(Main.scala:10)
at com.clearcut.nlp.Main.main(Main.scala)

And no .tsv file appears. There are .parsed files that have data in them in my *.json.split directory, but only 2 out of 457 have any data in them.

What's gone wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions