query: Why BufferedReader gives me exception When it found nothing
positive_passages.docid: 49
positive_passages.text: What is a NullPointerException, and how do I fix it?
negative_passages.docid: 32262
negative_passages.text: How can I read a file even when getting an "in use by another process" exception?
negative_passages.docid: 9285
negative_passages.text: Reading a plain text file in Java
negative_passages.docid: 91050
negative_passages.text: Why doesn't Java allow to throw a checked exception from static initialization block?
negative_passages.docid: 480
negative_passages.text: What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it?
negative_passages.docid: 46944
negative_passages.text: Null pointer Exception - findViewById()
negative_passages.docid: 84786
negative_passages.text: ExecuteReader requires an open and available Connection. The connection's current state is Connecting
negative_passages.docid: 135931
negative_passages.text: What does "Method '~' of object '~' failed" at runtime mean?
negative_passages.docid: 140940
negative_passages.text: java.sql.SQLException: No data found
negative_passages.docid: 35651
negative_passages.text: java.lang.IllegalStateException: Scanner closed
negative_passages.docid: 151546
negative_passages.text: Selenium Webdriver: No such element exception even though element gets available after waiting for some time
negative_passages.docid: 60420
negative_passages.text: Can constructors throw exceptions in Java?
negative_passages.docid: 146476
negative_passages.text: Java: Why aren't NullPointerExceptions called NullReferenceExceptions?
negative_passages.docid: 127867
negative_passages.text: Do I need to close() both FileReader and BufferedReader?
negative_passages.docid: 95706
negative_passages.text: In Java how can I validate a thrown exception with JUnit?
negative_passages.docid: 92797
negative_passages.text: How to debug NullPointerException in selenium-java
negative_passages.docid: 158002
negative_passages.text: Is it a bad idea to use printStackTrace() for caugt Exceptions?