java.lang.RuntimeException: Unable to start receiver info.eigenein.openwifi.receivers.ScanResultsReceiver: java.lang.NullPointerException
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2431)
at android.app.ActivityThread.access$1500(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at android.os.Parcel.readException(Parcel.java:1437)
at android.os.Parcel.readException(Parcel.java:1385)
at android.location.ILocationManager$Stub$Proxy.getLastLocation(ILocationManager.java:651)
at android.location.LocationManager.getLastKnownLocation(LocationManager.java:1144)
at info.eigenein.openwifi.helpers.CurrentLocationTracker.getLocation(CurrentLocationTracker.java:40)
at info.eigenein.openwifi.receivers.ScanResultsReceiver.onReceive(ScanResultsReceiver.java:32)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2424)
... 10 more
java.lang.NullPointerException
at android.os.Parcel.readException(Parcel.java:1437)
at android.os.Parcel.readException(Parcel.java:1385)
at android.location.ILocationManager$Stub$Proxy.getLastLocation(ILocationManager.java:651)
at android.location.LocationManager.getLastKnownLocation(LocationManager.java:1144)
at info.eigenein.openwifi.helpers.CurrentLocationTracker.getLocation(CurrentLocationTracker.java:40)
at info.eigenein.openwifi.receivers.ScanResultsReceiver.onReceive(ScanResultsReceiver.java:32)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2424)
at android.app.ActivityThread.access$1500(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: Unable to start receiver info.eigenein.openwifi.receivers.ScanResultsReceiver: java.lang.NullPointerException at android.app.ActivityThread.handleReceiver(ActivityThread.java:2431) at android.app.ActivityThread.access$1500(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5103) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at android.os.Parcel.readException(Parcel.java:1437) at android.os.Parcel.readException(Parcel.java:1385) at android.location.ILocationManager$Stub$Proxy.getLastLocation(ILocationManager.java:651) at android.location.LocationManager.getLastKnownLocation(LocationManager.java:1144) at info.eigenein.openwifi.helpers.CurrentLocationTracker.getLocation(CurrentLocationTracker.java:40) at info.eigenein.openwifi.receivers.ScanResultsReceiver.onReceive(ScanResultsReceiver.java:32) at android.app.ActivityThread.handleReceiver(ActivityThread.java:2424) ... 10 more java.lang.NullPointerException at android.os.Parcel.readException(Parcel.java:1437) at android.os.Parcel.readException(Parcel.java:1385) at android.location.ILocationManager$Stub$Proxy.getLastLocation(ILocationManager.java:651) at android.location.LocationManager.getLastKnownLocation(LocationManager.java:1144) at info.eigenein.openwifi.helpers.CurrentLocationTracker.getLocation(CurrentLocationTracker.java:40) at info.eigenein.openwifi.receivers.ScanResultsReceiver.onReceive(ScanResultsReceiver.java:32) at android.app.ActivityThread.handleReceiver(ActivityThread.java:2424) at android.app.ActivityThread.access$1500(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5103) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method)