java.lang.Exception: java.lang.InternalError: Thread starting during runtime shutdown
at com.geeksville.andropilot.AndroidAnalytics.reportException(MyApplication.scala:22)
at com.geeksville.util.AnalyticsService$.reportException(AnalyticsService.scala:32)
at com.geeksville.util.ThreadTools$$anonfun$reportUncaughtExceptions$1.apply(ThreadTools.scala:35)
at com.geeksville.util.ThreadTools$$anonfun$reportUncaughtExceptions$1.apply(ThreadTools.scala:33)
at com.geeksville.util.ThreadTools$$anon$2.uncaughtException(ThreadTools.scala:75)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
Caused by: java.lang.InternalError: Thread starting during runtime shutdown
at java.lang.Thread.nativeCreate(Native Method)
at java.lang.Thread.start(Thread.java:1063)
at scala.concurrent.forkjoin.ForkJoinPool.tryAddWorker(ForkJoinPool.java:1672)
at scala.concurrent.forkjoin.ForkJoinPool.signalWork(ForkJoinPool.java:1966)
at scala.concurrent.forkjoin.ForkJoinPool.externalPush(ForkJoinPool.java:1829)
at scala.concurrent.forkjoin.ForkJoinPool.execute(ForkJoinPool.java:2955)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinPool.execute(AbstractDispatcher.scala:381)
at akka.dispatch.ExecutorServiceDelegate$class.execute(ThreadPoolBuilder.scala:212)
at akka.dispatch.Dispatcher$LazyExecutorServiceDelegate.execute(Dispatcher.scala:43)
at akka.dispatch.Dispatcher.registerForExecution(Dispatcher.scala:118)
at akka.dispatch.Dispatcher.dispatch(Dispatcher.scala:59)
at akka.actor.dungeon.Dispatch$class.sendMessage(Dispatch.scala:123)
at akka.actor.ActorCell.sendMessage(ActorCell.scala:369)
at akka.actor.Cell$class.sendMessage(ActorCell.scala:290)
at akka.actor.ActorCell.sendMessage(ActorCell.scala:369)
at akka.actor.RepointableActorRef.$bang(RepointableActorRef.scala:166)
at com.geeksville.akka.EventStream$Subscriber.notify(EventStream.scala:19)
at com.geeksville.akka.EventStream$Subscriber.notify(EventStream.scala:15)
at scala.collection.mutable.Publisher$$anonfun$publish$1.apply(Publisher.scala:54)
at scala.collection.mutable.Publisher$$anonfun$publish$1.apply(Publisher.scala:51)
at scala.collection.mutable.HashMap$$anon$1$$anonfun$foreach$2.apply(HashMap.scala:102)
at scala.collection.mutable.HashMap$$anon$1$$anonfun$foreach$2.apply(HashMap.scala:102)
at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:226)
at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:39)
at scala.collection.mutable.HashMap$$anon$1.foreach(HashMap.scala:102)
at scala.collection.mutable.Publisher$class.publish(Publisher.scala:51)
at com.geeksville.akka.EventStream.publish(EventStream.scala:48)
at com.geeksville.mavlink.MavlinkReceiver$class.handleIncomingPacket(MavlinkReceiver.scala:24)
at com.geeksville.mavlink.MavlinkStreamReceiver.handleIncomingPacket(MavlinkStreamReceiver.scala:29)
at com.geeksville.mavlink.MavlinkStreamReceiver$$anonfun$com$geeksville$mavlink$MavlinkStreamReceiver$$rxWorker$1$$anonfun$apply$3.apply(MavlinkStreamReceiver.scala:171)
at com.geeksville.mavlink.MavlinkStreamReceiver$$anonfun$com$geeksville$mavlink$MavlinkStreamReceiver$$rxWorker$1.apply(MavlinkStreamReceiver.scala:134)
at com.geeksville.mavlink.MavlinkStreamReceiver$$anonfun$com$geeksville$mavlink$MavlinkStreamReceiver$$rxWorker$1.apply(MavlinkStreamReceiver.scala:93)
at com.geeksville.util.Using$.using(Using.scala:20)
at com.geeksville.mavlink.MavlinkStreamReceiver.com$geeksville$mavlink$MavlinkStreamReceiver$$rxWorker(MavlinkStreamReceiver.scala:93)
at com.geeksville.mavlink.MavlinkStreamReceiver$$anonfun$1.apply(MavlinkStreamReceiver.scala:49)
at com.geeksville.mavlink.MavlinkStreamReceiver$$anonfun$1.apply(MavlinkStreamReceiver.scala:49)
at com.geeksville.util.ThreadTools$$anon$1.run(ThreadTools.scala:11)
at java.lang.Thread.run(Thread.java:818)
java.lang.Exception: java.lang.InternalError: Thread starting during runtime shutdown
at com.geeksville.andropilot.AndroidAnalytics.reportException(MyApplication.scala:22)
at com.geeksville.util.AnalyticsService$.reportException(AnalyticsService.scala:32)
at com.geeksville.util.ThreadTools$$anonfun$reportUncaughtExceptions$1.apply(ThreadTools.scala:35)
at com.geeksville.util.ThreadTools$$anonfun$reportUncaughtExceptions$1.apply(ThreadTools.scala:33)
at com.geeksville.util.ThreadTools$$anon$2.uncaughtException(ThreadTools.scala:75)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
Caused by: java.lang.InternalError: Thread starting during runtime shutdown
at java.lang.Thread.nativeCreate(Native Method)
at java.lang.Thread.start(Thread.java:1063)
at scala.concurrent.forkjoin.ForkJoinPool.tryAddWorker(ForkJoinPool.java:1672)
at scala.concurrent.forkjoin.ForkJoinPool.signalWork(ForkJoinPool.java:1966)
at scala.concurrent.forkjoin.ForkJoinPool.externalPush(ForkJoinPool.java:1829)
at scala.concurrent.forkjoin.ForkJoinPool.execute(ForkJoinPool.java:2955)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinPool.execute(AbstractDispatcher.scala:381)
at akka.dispatch.ExecutorServiceDelegate$class.execute(ThreadPoolBuilder.scala:212)
at akka.dispatch.Dispatcher$LazyExecutorServiceDelegate.execute(Dispatcher.scala:43)
at akka.dispatch.Dispatcher.registerForExecution(Dispatcher.scala:118)
at akka.dispatch.Dispatcher.dispatch(Dispatcher.scala:59)
at akka.actor.dungeon.Dispatch$class.sendMessage(Dispatch.scala:123)
at akka.actor.ActorCell.sendMessage(ActorCell.scala:369)
at akka.actor.Cell$class.sendMessage(ActorCell.scala:290)
at akka.actor.ActorCell.sendMessage(ActorCell.scala:369)
at akka.actor.RepointableActorRef.$bang(RepointableActorRef.scala:166)
at com.geeksville.akka.EventStream$Subscriber.notify(EventStream.scala:19)
at com.geeksville.akka.EventStream$Subscriber.notify(EventStream.scala:15)
at scala.collection.mutable.Publisher$$anonfun$publish$1.apply(Publisher.scala:54)
at scala.collection.mutable.Publisher$$anonfun$publish$1.apply(Publisher.scala:51)
at scala.collection.mutable.HashMap$$anon$1$$anonfun$foreach$2.apply(HashMap.scala:102)
at scala.collection.mutable.HashMap$$anon$1$$anonfun$foreach$2.apply(HashMap.scala:102)
at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:226)
at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:39)
at scala.collection.mutable.HashMap$$anon$1.foreach(HashMap.scala:102)
at scala.collection.mutable.Publisher$class.publish(Publisher.scala:51)
at com.geeksville.akka.EventStream.publish(EventStream.scala:48)
at com.geeksville.mavlink.MavlinkReceiver$class.handleIncomingPacket(MavlinkReceiver.scala:24)
at com.geeksville.mavlink.MavlinkStreamReceiver.handleIncomingPacket(MavlinkStreamReceiver.scala:29)
at com.geeksville.mavlink.MavlinkStreamReceiver$$anonfun$com$geeksville$mavlink$MavlinkStreamReceiver$$rxWorker$1$$anonfun$apply$3.apply(MavlinkStreamReceiver.scala:171)
at com.geeksville.mavlink.MavlinkStreamReceiver$$anonfun$com$geeksville$mavlink$MavlinkStreamReceiver$$rxWorker$1.apply(MavlinkStreamReceiver.scala:134)
at com.geeksville.mavlink.MavlinkStreamReceiver$$anonfun$com$geeksville$mavlink$MavlinkStreamReceiver$$rxWorker$1.apply(MavlinkStreamReceiver.scala:93)
at com.geeksville.util.Using$.using(Using.scala:20)
at com.geeksville.mavlink.MavlinkStreamReceiver.com$geeksville$mavlink$MavlinkStreamReceiver$$rxWorker(MavlinkStreamReceiver.scala:93)
at com.geeksville.mavlink.MavlinkStreamReceiver$$anonfun$1.apply(MavlinkStreamReceiver.scala:49)
at com.geeksville.mavlink.MavlinkStreamReceiver$$anonfun$1.apply(MavlinkStreamReceiver.scala:49)
at com.geeksville.util.ThreadTools$$anon$1.run(ThreadTools.scala:11)
at java.lang.Thread.run(Thread.java:818)