amnaredo / test

0 stars 0 forks source link

Uninformative error when JSON missing $type attribute #275

Open amnaredo opened 2 years ago

amnaredo commented 2 years ago
java.util.NoSuchElementException: None.get
    scala.None$.get(Option.scala:529)
    scala.None$.get(Option.scala:527)
    upickle.AttributeTagged$$anon$4.visitEnd(Api.scala:254)

This error happens when the JSON is expected to have an attribute $type ID: 320 Original Author: JamesMcIntosh