query: Getting java.lang.NullPointerException error when assigning values to an array of user-defined class
positive_passages.docid: 49
positive_passages.text: What is a NullPointerException, and how do I fix it?
negative_passages.docid: 64332
negative_passages.text: avoiding null reference exceptions
negative_passages.docid: 39810
negative_passages.text: What is "string[] args" in Main class for?
negative_passages.docid: 480
negative_passages.text: What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it?
negative_passages.docid: 33103
negative_passages.text: How come invoking a (static) method on a null reference doesn't throw NullPointerException?
negative_passages.docid: 121864
negative_passages.text: Accessing members of items in a JSONArray with Java
negative_passages.docid: 8808
negative_passages.text: Strange Java null behavior in Method Overloading
negative_passages.docid: 33244
negative_passages.text: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
negative_passages.docid: 871
negative_passages.text: Why does PHP not complain when I treat a null value as an array like this?
negative_passages.docid: 42612
negative_passages.text: Generics, arrays, and the ClassCastException
negative_passages.docid: 111535
negative_passages.text: Why does the ArrayList implementation use Object[]?
negative_passages.docid: 11511
negative_passages.text: Error: Assigning to an array from an initializer list
negative_passages.docid: 109480
negative_passages.text: How do I assign a value to a whole array of integers?
negative_passages.docid: 90932
negative_passages.text: Initializing a member array in constructor initializer
negative_passages.docid: 124593
negative_passages.text: Passing directly an array initializer to a method parameter doesn't work
negative_passages.docid: 28147
negative_passages.text: java: (String[])List.toArray() gives ClassCastException
negative_passages.docid: 62924
negative_passages.text: What's the best way to get a Class object for an array type?