[
https://issues.apache.org/jira/browse/LIVY-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcelo Vanzin reassigned LIVY-517:
-----------------------------------
Assignee: Gyorgy Gal
> NPE in session manager cleanup thread
> -------------------------------------
>
> Key: LIVY-517
> URL: https://issues.apache.org/jira/browse/LIVY-517
> Project: Livy
> Issue Type: Bug
> Components: Server
> Affects Versions: 0.5.0
> Reporter: Marcelo Vanzin
> Assignee: Gyorgy Gal
> Priority: Minor
> Fix For: 0.7.0
>
>
> Saw this when running unit tests. Tests pass, but there is this exception in
> the output which may mean a more serious bug.
> {noformat}
> Exception in thread "session gc thread" java.lang.NullPointerException
> at
> org.apache.livy.sessions.SessionManager.delete(SessionManager.scala:111)
> at
> org.apache.livy.sessions.SessionManager$$anonfun$collectGarbage$2.apply(SessionManager.scala:152)
> at
> org.apache.livy.sessions.SessionManager$$anonfun$collectGarbage$2.apply(SessionManager.scala:152)
> at
> scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
> at
> scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
> at scala.collection.immutable.List.foreach(List.scala:392)
> at
> scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
> at scala.collection.immutable.List.map(List.scala:296)
> at
> org.apache.livy.sessions.SessionManager.collectGarbage(SessionManager.scala:152)
> at
> org.apache.livy.sessions.SessionManager$GarbageCollector.run(SessionManager.scala:181)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)