You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 06-17 21:30:50.251 3264: 3598 W/GmsGcmMcsSvc ]
Exception while connecting!
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.NetworkInfo.isRoaming()' on a null object reference
at org.microg.gms.gcm.GcmPrefs.getNetworkPrefForInfo(GcmPrefs.java:103)
at org.microg.gms.gcm.McsService.connect(McsService.java:370)
at org.microg.gms.gcm.McsService.handleMessage(McsService.java:535)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:154)
at org.microg.gms.gcm.McsService$HandlerThread.run(McsService.java:152)
[ 06-17 21:30:50.251 3264: 3598 D/GmsGcmMcsSvc ]
Teardown initiated, reason: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.NetworkInfo.isRoaming()' on a null object reference
The problem is here but it is caused by the fact that there isn't a null check for the two call of cm.getActiveNetworkInfo()here.
ConnectivityManager.getActiveNetworkInfo(): a NetworkInfo object for the current default network or **null** if no default network is currently active.
The text was updated successfully, but these errors were encountered:
I get this at boot:
The problem is here but it is caused by the fact that there isn't a null check for the two call of
cm.getActiveNetworkInfo()
here.ConnectivityManager.getActiveNetworkInfo():
a NetworkInfo object for the current default network or **null** if no default network is currently active.
The text was updated successfully, but these errors were encountered: