Closed aelmahmoudy closed 9 years ago
The problem happens when 'Use cell (GSM/UMTS/LTE/CDMA)' option is enabled.
I am running OMNI 4.4.4, so it should work.
Just updated to MozillaNlpBackend 0.10.0 and UnifiedNlp (for GAPPS-free) 1.3.0 and I am getting the same crash. It also seems to go away when I turn off "Use cell". I am running a Galaxy Nexus with CyanogenMod CM11 M12:
I/ActivityManager( 1238): Start proc org.microg.nlp.backend.ichnaea for service org.microg.nlp.backend.ichnaea/.BackendService: pid=22681 uid=10512 gids={50512, 3003}
D/NlpLocationBackendHelper(22194): Not (yet) bound.
D/ActivityThread(22681): handleBindApplication:org.microg.nlp.backend.ichnaea
D/ActivityThread(22681): setTargetHeapUtilization:0.75
D/ActivityThread(22681): setTargetHeapMinFree:2097152
D/NlpLocationBackendHelper(22194): Bound to: ComponentInfo{org.microg.nlp.backend.ichnaea/org.microg.nlp.backend.ichnaea.BackendService}
D/AndroidRuntime(22681): Shutting down VM
W/dalvikvm(22681): threadid=1: thread exiting with uncaught exception (group=0x4191ece0)
E/AndroidRuntime(22681): FATAL EXCEPTION: main
E/AndroidRuntime(22681): Process: org.microg.nlp.backend.ichnaea, PID: 22681
E/AndroidRuntime(22681): java.lang.NullPointerException
E/AndroidRuntime(22681): at org.microg.nlp.api.CellBackendHelper.loadCells(CellBackendHelper.java:263)
E/AndroidRuntime(22681): at org.microg.nlp.api.CellBackendHelper.onCellsChanged(CellBackendHelper.java:199)
E/AndroidRuntime(22681): at org.microg.nlp.api.CellBackendHelper.access$100(CellBackendHelper.java:53)
E/AndroidRuntime(22681): at org.microg.nlp.api.CellBackendHelper$1$1.onCellInfoChanged(CellBackendHelper.java:90)
E/AndroidRuntime(22681): at android.telephony.PhoneStateListener$2.handleMessage(PhoneStateListener.java:404)
E/AndroidRuntime(22681): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(22681): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(22681): at android.app.ActivityThread.main(ActivityThread.java:5146)
E/AndroidRuntime(22681): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(22681): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(22681): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime(22681): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime(22681): at dalvik.system.NativeStart.main(Native Method)
D/IchnaeaBackendService(22681): Activating instance at process 22681
D/IchnaeaBackendService(22681): Cells: 0
I/wpa_supplicant( 1357): wlan0: CTRL-EVENT-SCAN-STARTED
W/BroadcastQueue( 1238): Skipping deliver [background] BroadcastRecord{4240b290 u-1 android.net.wifi.SCAN_RESULTS} to ReceiverList{42063840 22681 org.microg.nlp.backend.ichnaea/10512/u0 remote:41f44f90}: process crashing
Should be fixed in 0.10.1 as of microg/android_external_UnifiedNlpApi@06d1132344b4600ae00bda63d4da0acff7de42f0
When I upgraded the backend to v0.10.0 (and UnifiedNlp to 1.3.0), Ichnaea backend keeps crashing, here's what I find in logcat: