java.lang.NullPointerException

Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference

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 web21088

  • via GitHub by WERUreo
    , 8 months ago
    Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference
  • Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference
  • via GitHub by l3d00m
    , 1 year ago
    Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference
  • Stack trace

    • java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference at java.util.ArrayList.addAll(ArrayList.java:188) at com.zulip.android.activities.ZulipActivity.combineList(ZulipActivity.java:804) at com.zulip.android.activities.ZulipActivity.refreshPeopleDrawer(ZulipActivity.java:792) at com.zulip.android.activities.ZulipActivity.setUpPeopleDrawerAdapter(ZulipActivity.java:689) at com.zulip.android.activities.ZulipActivity.onCreate(ZulipActivity.java:293) at android.app.Activity.performCreate(Activity.java:6237) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)

    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

    2 times, 9 months ago
    56 times, 1 year ago
    18 times, 6 months ago
    133 times, 9 months ago
    Once, 1 year ago
    13 more bugmates