Getting Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
49
What is a NullPointerException, and how do I fix it?
13711
java.lang.NullPointerException at org.glassfish.hk2.classmodel.reflect.impl.TypesImpl.getType
68787
Why The constructor ArrayAdapter(new View.OnKeyListener(){}, int, String[]) is undefined
93104
What is a NumberFormatException and how can I fix it?
108336
Nullable Object must have a value #2
97527
String's Maximum length in Java - calling length() method
147548
How to handle a static final field initializer that throws checked exception
61306
Why do I get "warning longer object length is not a multiple of shorter object length"?
58054
When is it OK to catch NullPointerException?
82652
String.length() vs Array.length
2116
IllegalArgumentException or NullPointerException for a null parameter?
42958
Method Overloading for null argument
98080
Android: Cannot invoke toString() on the primitive type int
8738
Should a retrieval method return 'null' or throw an exception when it can't produce the return value?
53319
ArgumentException or ArgumentNullException for string parameters?
155957
Method causes OutOfMemory error
67597
Can constructor return a null object?