query: Android: "java.lang.NullPointerException: Attempt to invoke virtual method ... on a null object reference" when creating socket
positive_passages.docid: 49
positive_passages.text: What is a NullPointerException, and how do I fix it?
negative_passages.docid: 78586
negative_passages.text: Why doesn't "System.out.println" work in Android?
negative_passages.docid: 1605
negative_passages.text: What is the reason behind "non-static method cannot be referenced from a static context"?
negative_passages.docid: 114816
negative_passages.text: Is null reference possible?
negative_passages.docid: 64200
negative_passages.text: Can Java's NullPointerException be changed to report on which variable was null?
negative_passages.docid: 103797
negative_passages.text: Android:android.view.ViewRoot$CalledFromWrongThreadException - How to solve the problem?
negative_passages.docid: 97325
negative_passages.text: DialogFragment causing nullpointer crash
negative_passages.docid: 79586
negative_passages.text: System.NullPointerException: Attempt to de-reference a null object
negative_passages.docid: 87728
negative_passages.text: ArgumentNullException or NullReferenceException from extension method?
negative_passages.docid: 73774
negative_passages.text: Raw Sockets on Android
negative_passages.docid: 10818
negative_passages.text: NullPointerException : println needs a message in android
negative_passages.docid: 146476
negative_passages.text: Java: Why aren't NullPointerExceptions called NullReferenceExceptions?
negative_passages.docid: 128142
negative_passages.text: java.lang.NullPointerException at org.apache.jsp.foo_jsp._jspInit(foo_jsp.java:22)
negative_passages.docid: 55274
negative_passages.text: Java: Exception itself is null
negative_passages.docid: 64332
negative_passages.text: avoiding null reference exceptions
negative_passages.docid: 33103
negative_passages.text: How come invoking a (static) method on a null reference doesn't throw NullPointerException?
negative_passages.docid: 144423
negative_passages.text: "No enclosing instance of type" error while calling method from another class in Android