java.lang.IllegalStateException: cannot create children while terminating or terminated
at akka.actor.dungeon.Children$class.makeChild(Children.scala:200)
at akka.actor.dungeon.Children$class.attachChild(Children.scala:40)
at akka.actor.ActorCell.attachChild(ActorCell.scala:369)
at akka.actor.ActorSystemImpl.actorOf(ActorSystem.scala:554)
at com.geeksville.akka.Stopper$.stop(Stopper.scala:46)
at com.geeksville.andropilot.service.AndropilotService.btDetached(AndropilotService.scala:580)
at com.geeksville.andropilot.service.AndropilotService.onBluetoothDisconnect(AndropilotService.scala:458)
at com.geeksville.andropilot.service.BluetoothConnection$BTInputWrapper.close(BluetoothConnection.scala:67)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.geeksville.util.Using$.using(Using.scala:22)
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:841)
java.lang.IllegalStateException: cannot create children while terminating or terminated
at akka.actor.dungeon.Children$class.makeChild(Children.scala:200)
at akka.actor.dungeon.Children$class.attachChild(Children.scala:40)
at akka.actor.ActorCell.attachChild(ActorCell.scala:369)
at akka.actor.ActorSystemImpl.actorOf(ActorSystem.scala:554)
at com.geeksville.akka.Stopper$.stop(Stopper.scala:46)
at com.geeksville.andropilot.service.AndropilotService.btDetached(AndropilotService.scala:580)
at com.geeksville.andropilot.service.AndropilotService.onBluetoothDisconnect(AndropilotService.scala:458)
at com.geeksville.andropilot.service.BluetoothConnection$BTInputWrapper.close(BluetoothConnection.scala:67)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.geeksville.util.Using$.using(Using.scala:22)
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:841)