geeksville / arduleader

An android ground controller (and other things) for Mavlink/Arduplane
Other
143 stars 92 forks source link

java.lang.NullPointerException #141

Open geeksville opened 10 years ago

geeksville commented 10 years ago
java.lang.NullPointerException
at com.geeksville.gmaps.DrawableFactory$$anonfun$remove$1.reflMethod$Method1(Drawables.scala:27)
at com.geeksville.gmaps.DrawableFactory$class.remove(Drawables.scala:27)
at com.geeksville.gmaps.PolylineFactory.remove(Drawables.scala:81)
at com.geeksville.gmaps.Scene$$anonfun$clearSegments$1.apply(Scene.scala:90)
at com.geeksville.gmaps.Scene$$anonfun$clearSegments$1.apply(Scene.scala:90)
at scala.collection.immutable.List.foreach(List.scala:309)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
at scala.collection.mutable.ListBuffer.foreach(ListBuffer.scala:45)
at com.geeksville.gmaps.Scene.clearSegments(Scene.scala:90)
at com.geeksville.andropilot.gui.MyMapFragment$$anonfun$handleWaypoints$1$$anonfun$apply$11.apply(MyMapFragment.scala:695)
at com.geeksville.andropilot.gui.MyMapFragment.handleWaypoints(MyMapFragment.scala:598)
at com.geeksville.andropilot.gui.MyMapFragment$$anonfun$onVehicleReceive$1$$anonfun$applyOrElse$2$$anonfun$apply$mcV$sp$1.apply$mcV$sp(MyMapFragment.scala:455)
at com.geeksville.andropilot.gui.MyMapFragment$$anonfun$onVehicleReceive$1$$anonfun$applyOrElse$2$$anonfun$apply$mcV$sp$1.apply(MyMapFragment.scala:453)
at com.geeksville.andropilot.gui.MyMapFragment$$anonfun$onVehicleReceive$1$$anonfun$applyOrElse$2$$anonfun$apply$mcV$sp$1.apply(MyMapFragment.scala:453)
at com.geeksville.util.ThreadTools$$anon$1.run(ThreadTools.scala:11)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4898)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
at com.geeksville.gmaps.DrawableFactory$$anonfun$remove$1.reflMethod$Method1(Drawables.scala:27)
at com.geeksville.gmaps.DrawableFactory$class.remove(Drawables.scala:27)
at com.geeksville.gmaps.PolylineFactory.remove(Drawables.scala:81)
at com.geeksville.gmaps.Scene$$anonfun$clearSegments$1.apply(Scene.scala:90)
at com.geeksville.gmaps.Scene$$anonfun$clearSegments$1.apply(Scene.scala:90)
at scala.collection.immutable.List.foreach(List.scala:309)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
at scala.collection.mutable.ListBuffer.foreach(ListBuffer.scala:45)
at com.geeksville.gmaps.Scene.clearSegments(Scene.scala:90)
at com.geeksville.andropilot.gui.MyMapFragment$$anonfun$handleWaypoints$1$$anonfun$apply$11.apply(MyMapFragment.scala:695)
at com.geeksville.andropilot.gui.MyMapFragment.handleWaypoints(MyMapFragment.scala:598)
at com.geeksville.andropilot.gui.MyMapFragment$$anonfun$onVehicleReceive$1$$anonfun$applyOrElse$2$$anonfun$apply$mcV$sp$1.apply$mcV$sp(MyMapFragment.scala:455)
at com.geeksville.andropilot.gui.MyMapFragment$$anonfun$onVehicleReceive$1$$anonfun$applyOrElse$2$$anonfun$apply$mcV$sp$1.apply(MyMapFragment.scala:453)
at com.geeksville.andropilot.gui.MyMapFragment$$anonfun$onVehicleReceive$1$$anonfun$applyOrElse$2$$anonfun$apply$mcV$sp$1.apply(MyMapFragment.scala:453)
at com.geeksville.util.ThreadTools$$anon$1.run(ThreadTools.scala:11)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4898)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
at dalvik.system.NativeStart.main(Native Method)