java.util.NoSuchElementException: None.get

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.util.NoSuchElementException: None.get
at scala.None$.get(Option.scala:344)
at scala.None$.get(Option.scala:342)
at org.elinker.core.api.filter.SimilarityFilter.org$elinker$core$api$filter$SimilarityFilter$$computeSimilarity(SimilarityFilter.scala:44)
at org.elinker.core.api.filter.SimilarityFilter$$anonfun$filterByStringSimilarity$1.apply(SimilarityFilter.scala:33)
at org.elinker.core.api.filter.SimilarityFilter$$anonfun$filterByStringSimilarity$1.apply(SimilarityFilter.scala:33)
at scala.collection.TraversableLike$$anonfun$filterImpl$1.apply(TraversableLike.scala:259)
at scala.collection.Iterator$class.foreach(Iterator.scala:743)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1195)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
at scala.collection.TraversableLike$class.filterImpl(TraversableLike.scala:258)
at scala.collection.TraversableLike$class.filter(TraversableLike.scala:270)
at org.elinker.core.api.filter.SimilarityFilter.filterByStringSimilarity(SimilarityFilter.scala:33)
at org.elinker.core.api.process.EntityLinker$$anonfun$receive$1$$anonfun$8.apply(EntityLinker.scala:186)
at org.elinker.core.api.process.EntityLinker$$anonfun$receive$1$$anonfun$8.apply(EntityLinker.scala:186)
at scala.collection.TraversableLike$$anonfun$filterImpl$1.apply(TraversableLike.scala:259)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
at scala.collection.TraversableLike$class.filterImpl(TraversableLike.scala:258)
at scala.collection.TraversableLike$class.filter(TraversableLike.scala:270)
at org.elinker.core.api.process.EntityLinker$$anonfun$receive$1.applyOrElse(EntityLinker.scala:186)
at org.elinker.core.api.process.EntityLinker.aroundReceive(EntityLinker.scala:29)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
at akka.actor.ActorCell.invoke(ActorCell.scala:487)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)
at akka.dispatch.Mailbox.run(Mailbox.scala:221)
at akka.dispatch.Mailbox.exec(Mailbox.scala:231)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 2 hours ago
Once, 4 days ago
Samebug visitor profile picture
Unknown user
Once, 4 days ago
Once, 2 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.