mostafa0050 / apndroid

Automatically exported from code.google.com/p/apndroid
1 stars 0 forks source link

New crash from Market: NPE #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In version 2.1.3:

java.lang.RuntimeException: Unable to start receiver 
com.google.code.apndroid.SwitchStateReceiver: java.lang.NullPointerException
  at android.app.ActivityThread.handleReceiver(ActivityThread.java:2646)
  at android.app.ActivityThread.access$3100(ActivityThread.java:119)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:123)
  at android.app.ActivityThread.main(ActivityThread.java:4363)
  at java.lang.reflect.Method.invokeNative(Method.java:-2)
  at java.lang.reflect.Method.invoke(Method.java:521)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
  at dalvik.system.NativeStart.main(NativeStart.java:-2)
Caused by: java.lang.NullPointerException: 
  at com.google.code.apndroid.NameUtil.removeSuffix(NameUtil.java:37)
  at com.google.code.apndroid.ApnDao.enableApnList(ApnDao.java:165)
  at com.google.code.apndroid.ApnDao.enableAllInDb(ApnDao.java:115)
  at com.google.code.apndroid.ApnDao.switchApnState(ApnDao.java:200)
  at com.google.code.apndroid.SwitchingAndMessagingUtils.switchAndNotify(SwitchingAndMessagingUtils.java:130)
  at com.google.code.apndroid.SwitchingAndMessagingUtils.switchAndNotify(SwitchingAndMessagingUtils.java:64)
  at com.google.code.apndroid.SwitchStateReceiver.onReceive(SwitchStateReceiver.java:39)
  at android.app.ActivityThread.handleReceiver(ActivityThread.java:2637)
  at android.app.ActivityThread.access$3100(ActivityThread.java:119)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:123)
  at android.app.ActivityThread.main(ActivityThread.java:4363)
  at java.lang.reflect.Method.invokeNative(Method.java:-2)
  at java.lang.reflect.Method.invoke(Method.java:521)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
  at dalvik.system.NativeStart.main(NativeStart.java:-2)

Original issue reported on code.google.com by martin.adamek on 11 Jun 2010 at 6:19

GoogleCodeExporter commented 9 years ago

Original comment by zeldigas on 23 Jun 2010 at 8:40

GoogleCodeExporter commented 9 years ago
Bulk closing Market reported problems, most of them solved in new code. Will 
track new ones again.

Original comment by martin.adamek on 18 Apr 2011 at 10:28