Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    In Scala, don’t use the get method with Option to access a result. Use getOrElse, a match expression, or foreach instead.

java.util.NoSuchElementException: None.get	at scala.None$.get(Option.scala:322)	at scala.None$.get(Option.scala:320)	at rapture.json.jsonBackends.jackson.internal.JacksonAst$.dereferenceObject(ast.scala:79)	at rapture.data.DataType$class.$accessInnerMap(data.scala:93)	at rapture.json.Json.$accessInnerMap(json.scala:131)	at rapture.data.DataType$class.$accessWith(data.scala:99)	at rapture.json.Json.$accessWith(json.scala:131)	at net.hearthstats.core.CardData$$anon$1.construct(CardData.scala:34)	at net.hearthstats.core.CardData$$anon$1.construct(CardData.scala:34)	at rapture.data.Extractor.safeConstruct(extractors.scala:96)	at rapture.data.Extractor$$anon$3$$anonfun$construct$1.apply(extractors.scala:59)	at rapture.data.Extractor$$anon$3$$anonfun$construct$1.apply(extractors.scala:58)	at scala.collection.immutable.List.map(List.scala:274)	at rapture.data.Extractor$$anon$3.construct(extractors.scala:58)	at rapture.data.Extractor$$anon$3.construct(extractors.scala:56)	at rapture.data.Extractor.safeConstruct(extractors.scala:96)	at rapture.data.Extractor$$anon$6$$anonfun$construct$4.apply(extractors.scala:86)	at rapture.data.Extractor$$anon$6$$anonfun$construct$4.apply(extractors.scala:85)	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.HashMap$HashMap1.foreach(HashMap.scala:221)	at scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:428)	at scala.collection.TraversableLike$class.map(TraversableLike.scala:245)	at scala.collection.AbstractTraversable.map(Traversable.scala:104)	at rapture.data.Extractor$$anon$6.construct(extractors.scala:85)	at rapture.data.Extractor$$anon$6.construct(extractors.scala:83)	at rapture.data.Extractor.safeConstruct(extractors.scala:96)	at rapture.data.DataType$$anonfun$as$1.apply(data.scala:127)	at rapture.core.modes$ThrowExceptions.wrap(modes.scala:105)	at rapture.data.DataType$class.as(data.scala:125)	at rapture.json.Json.as(json.scala:131)	at net.hearthstats.core.CardData$.delayedEndpoint$net$hearthstats$core$CardData$1(CardData.scala:34)	at net.hearthstats.core.CardData$delayedInit$body.apply(CardData.scala:28)	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:76)	at scala.App$$anonfun$main$1.apply(App.scala:76)	at scala.collection.immutable.List.foreach(List.scala:383)	at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)	at scala.App$class.main(App.scala:76)	at net.hearthstats.core.CardData$.main(CardData.scala:28)	at net.hearthstats.core.CardData.main(CardData.scala)