query: Getting a NullPointerException when trying to iterate over a Queue? (Java)
positive_passages.docid: 49
positive_passages.text: What is a NullPointerException, and how do I fix it?
negative_passages.docid: 42612
negative_passages.text: Generics, arrays, and the ClassCastException
negative_passages.docid: 92797
negative_passages.text: How to debug NullPointerException in selenium-java
negative_passages.docid: 128142
negative_passages.text: java.lang.NullPointerException at org.apache.jsp.foo_jsp._jspInit(foo_jsp.java:22)
negative_passages.docid: 140738
negative_passages.text: Does setting Java objects to null do anything anymore?
negative_passages.docid: 8808
negative_passages.text: Strange Java null behavior in Method Overloading
negative_passages.docid: 33103
negative_passages.text: How come invoking a (static) method on a null reference doesn't throw NullPointerException?
negative_passages.docid: 119573
negative_passages.text: NullPointerException in Java with no StackTrace
negative_passages.docid: 480
negative_passages.text: What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it?
negative_passages.docid: 6527
negative_passages.text: How to avoid java.util.ConcurrentModificationException when iterating through and removing elements from an ArrayList
negative_passages.docid: 20449
negative_passages.text: Is there a way to access an iteration-counter in Java's for-each loop?
negative_passages.docid: 68247
negative_passages.text: Concurrent Modification Exception : adding to an ArrayList
negative_passages.docid: 24887
negative_passages.text: java.lang.NullPointerException at javax.faces.webapp.UIComponentClassicTagBase.setJspId
negative_passages.docid: 8738
negative_passages.text: Should a retrieval method return 'null' or throw an exception when it can't produce the return value?
negative_passages.docid: 156764
negative_passages.text: I get exception when using Thread.sleep(x) or wait()
negative_passages.docid: 142239
negative_passages.text: Java "ConcurrentModificationException" runtime error when iterating .next()
negative_passages.docid: 20020
negative_passages.text: NullPointerException accessing views in onCreate()