java.lang.NullPointerException at $[0]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10

  • via Stack Overflow by jean d'arme
    , 9 months ago
    java.lang.NullPointerException at $[0]
  • via GitHub by cesarnorena
    , 3 months ago
    Expected one of [0, 1] but was 0 at path $.value
  • via GitHub by dvinz
    , 3 months ago
    Expected a long but was NULL at path $.items[0].updatedDate
  • Stack trace

    • com.squareup.moshi.JsonDataException: java.lang.NullPointerException at $[0] at com.squareup.moshi.AdapterMethodsFactory$1.toJson( at com.squareup.moshi.CollectionJsonAdapter.toJson( at com.squareup.moshi.CollectionJsonAdapter$2.toJson( at com.squareup.moshi.JsonAdapter$1.toJson( at com.squareup.moshi.JsonAdapter.toJson( at com.squareup.moshi.JsonAdapter.toJson( at at$getCallLogs$2( at$lambda$2( at$$Lambda$ Source) at rx.internal.util.ActionSubscriber.onNext( at rx.observers.SafeSubscriber.onNext( at rx.internal.operators.OperatorObserveOn$ at$ at android.os.Handler.handleCallback( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke( at$ at at dalvik.system.NativeStart.main(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.