Why do I get NullPointerException while adding elements to an array?
49
What is a NullPointerException, and how do I fix it?
87728
ArgumentNullException or NullReferenceException from extension method?
146476
Java: Why aren't NullPointerExceptions called NullReferenceExceptions?
73120
Nullpointerexception when trying to send data from activity to class
10867
How to avoid ArrayIndexOutOfBoundsException or IndexOutOfBoundsException?
72675
I don't understand why this is causeing my program to crash?
28147
java: (String[])List.toArray() gives ClassCastException
102290
Cannot assign null to anonymous property of type array
89947
ConcurrentModificationException when adding inside a foreach loop in ArrayList
68247
Concurrent Modification Exception : adding to an ArrayList
18071
Why is the array empty after the while loop?
97642
Initializing an array in Java using the 'advanced' for each loop
26032
How do I declare and initialize an array in Java?
64200
Can Java's NullPointerException be changed to report on which variable was null?
46944
Null pointer Exception - findViewById()
149666
Why can't a null-reference exception name the object that has a null reference?
111535
Why does the ArrayList implementation use Object[]?