Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference
49
What is a NullPointerException, and how do I fix it?
147603
How can I call a method in an object from outside the JVM?
64200
Can Java's NullPointerException be changed to report on which variable was null?
22639
Error : Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout
119799
Android: Issue during Arraylist declaration
111535
Why does the ArrayList implementation use Object[]?
79586
System.NullPointerException: Attempt to de-reference a null object
128903
ExecuteScalar throws NullReferenceException
480
What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it?
146476
Java: Why aren't NullPointerExceptions called NullReferenceExceptions?
80631
NullPointerException but compiling?
35129
Why does String.valueOf(null) throw a NullPointerException?
33244
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
33103
How come invoking a (static) method on a null reference doesn't throw NullPointerException?
110247
Java: Difference between the setPreferredSize() and setSize() methods in components
66284
NullPointerException when Creating an Array of objects
89628
How to handle OutOfMemoryError in Java?