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

GitHub | kunall17 | 1 month 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

    GitHub comment 297#274714077

    GitHub | 1 month ago | kunall17
    java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference
  2. 0

    GitHub comment 120#240272736

    GitHub | 6 months ago | niftynei
    java.lang.RuntimeException: java.sql.SQLException: Could not perform raw query for SELECT s.id as _id, s.name, s.color, count(case when m.id > -1 or messages.read = 1 then 1 end) as unread FROM streams as s LEFT JOIN messages as m ON s.id=m.stream group by s.name order by s.name COLLATE NOCASE
  3. 0

    GitHub comment 45#223051077

    GitHub | 9 months ago | niftynei
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.zulip.android.dev/com.zulip.android.activities.ZulipActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 238#269354728

    GitHub | 2 months ago | kunall17
    java.lang.RuntimeException: Unable to destroy activity {com.zulip.android.dev/com.zulip.android.activities.ZulipActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.os.Handler.removeCallbacks(java.lang.Runnable)' on a null object reference

  1. chenjunjun 1 times, last 2 months ago
  2. Indri Yunita 18 times, last 2 months ago
  3. ajinkya_w 2 times, last 4 months ago
  4. marcbouvierdav 1 times, last 5 months ago
  5. 0x60 133 times, last 5 months ago
7 more registered users
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Java RT
    ArrayList.addAll
    1. java.util.ArrayList.addAll(ArrayList.java:188)
    1 frame
  3. com.zulip.android
    ZulipActivity.onCreate
    1. com.zulip.android.activities.ZulipActivity.combineList(ZulipActivity.java:804)
    2. com.zulip.android.activities.ZulipActivity.refreshPeopleDrawer(ZulipActivity.java:792)
    3. com.zulip.android.activities.ZulipActivity.setUpPeopleDrawerAdapter(ZulipActivity.java:689)
    4. com.zulip.android.activities.ZulipActivity.onCreate(ZulipActivity.java:293)
    4 frames
  4. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6237)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    4 frames