java.lang.RuntimeException: Unable to start service org.onesocialweb.client.android.service.AndroidOswService@43a44f50 with Intent { act=action_keepalive flg=0x4 cmp=org.onesocialweb.client.android/.service.AndroidOswService (has extras) }: java.lang.NullPointerException

Google Groups | Jon Spriggs | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Collected logs after regular force close messages in OSW android application

    Google Groups | 7 years ago | Jon Spriggs
    java.lang.RuntimeException: Unable to start service org.onesocialweb.client.android.service.AndroidOswService@43a44f38 with Intent { act=action_keepalive flg=0x4 cmp=org.onesocialweb.client.android/.service.AndroidOswService (has extras) }: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.onesocialweb.client.android.service.AsmackOswService.sendRawData()
    2. org.onesocialweb.client
      AndroidOswService.onStart
      1. org.onesocialweb.client.android.service.AsmackOswService.sendRawData(AsmackOswService.java:26)
      2. org.onesocialweb.client.android.service.AndroidOswService.keepAlive(AndroidOswService.java:678)
      3. org.onesocialweb.client.android.service.AndroidOswService.onStart(AndroidOswService.java:254)
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Service.onStartCommand(Service.java:306)
      2. android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2869)
      3. android.app.ActivityThread.access$3500(ActivityThread.java:118)
      4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1925)
      5. android.os.Handler.dispatchMessage(Handler.java:99)
      6. android.os.Looper.loop(Looper.java:123)
      7. android.app.ActivityThread.main(ActivityThread.java:4358)
      7 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:521)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame