override def postStop() {
super.postStop()
stateData match {
case Connected(agent, _, _) =>
if (stateName == Streaming) {
agent ! AgentService.StopStreaming
}
context.unwatch(agent)
// DeviceRulesProcessor.scala:250
case _ =>
}
...
On Wednesday, May 7, 2014 6:09:04 PM UTC-7, Barry Kaplan wrote:
>
> Can't reproduce in a test yet, but it does happen from time to time:
>
> java.lang.NullPointerException: null
> at
> systeminsights.devicerules.service.DeviceRulesProcessor.postStop(DeviceRulesProcessor.scala:250)
>
> ~[vimana.jar:2.0]
> at
> akka.actor.dungeon.FaultHandling$class.finishTerminate(FaultHandling.scala:194)
>
> ~[vimana.jar:2.0]
> at
> akka.actor.dungeon.FaultHandling$class.terminate(FaultHandling.scala:159)
> ~[vimana.jar:2.0]
> at akka.actor.ActorCell.terminate(ActorCell.scala:306) ~[vimana.jar:2.0]
> at akka.actor.ActorCell.systemInvoke(ActorCell.scala:369) ~[vimana.jar:2.0]
> at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:256)
> ~[vimana.jar:2.0]
> at akka.dispatch.Mailbox.run(Mailbox.scala:211) ~[vimana.jar:2.0]
> at
> akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:506)
>
> [vimana.jar:2.0]
> at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
> [vimana.jar:2.0]
> at
> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
>
> [vimana.jar:2.0]
> at
> scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
> [vimana.jar:2.0]
> at
> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
>
> [vimana.jar:2.0]
>
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.