RuntimeException in VersioncheckService

Bug #800449 reported by pjv
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Collectionista
Fix Released
Low
Unassigned

Bug Description

via bugsense:

java.lang.RuntimeException: Unable to start service net.lp.collectionista.versioncheck.VersioncheckService@45d8ae28 with null: java.lang.NullPointerException
Class: java.lang.RuntimeException
File: ActivityThread.java:2882
Affects: ● OS: 2.1-update1 ● Apps: 0.3.4

java.lang.RuntimeException: Unable to start service net.lp.collectionista.versioncheck.VersioncheckService@45d8ae28 with null: java.lang.NullPointerException

at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2882)

at android.app.ActivityThread.access$3500(ActivityThread.java:119)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1926)

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(Native Method)

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(Native Method)
Caused by: java.lang.NullPointerException

at com.tomgibara.android.veecheck.VeecheckService.onStart(VeecheckService.java:62)

at android.app.Service.onStartCommand(Service.java:306)

at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2873)

... 10 more

java.lang.RuntimeException: Unable to start service net.lp.collectionista.versioncheck.VersioncheckService@44a7f610 with null: java.lang.NullPointerException
Class: java.lang.RuntimeException
File: ActivityThread.java:3063
Affects: ● OS: 2.2.2 ● Apps: 0.3.4

java.lang.RuntimeException: Unable to start service net.lp.collectionista.versioncheck.VersioncheckService@44a7f610 with null: java.lang.NullPointerException

at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3063)

at android.app.ActivityThread.access$3600(ActivityThread.java:125)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2096)

at android.os.Handler.dispatchMessage(Handler.java:99)

at android.os.Looper.loop(Looper.java:123)

at android.app.ActivityThread.main(ActivityThread.java:4627)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:521)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)

at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException

at com.tomgibara.android.veecheck.VeecheckService.onStart(VeecheckService.java:62)

at android.app.Service.onStartCommand(Service.java:420)

at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3053)

... 10 more

Revision history for this message
pjv (pjv) wrote :

Cause is that intent can be null if service was purposefully killed by user or task killer: http://stackoverflow.com/questions/4679654/unable-to-start-service-service-name-with-null. Solved by custom building veecheck library and using a nullcheck.

Revision history for this message
pjv (pjv) wrote :

TODO: report bug to veecheck

Changed in collectionista:
importance: Undecided → Low
status: New → Fix Committed
pjv (pjv)
Changed in collectionista:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.