Jørgen Løland wrote:
Mark Hiles wrote:
Based on what I've read, I'm not going to get the number of results
and store in
an array, I'll just use 2 ArrayLists instead..
I'm still getting my null pointer exception for some reason. It must be
happening inside the rs.next() method when I call it..
If this had been true the stack trace would have printed more
information I guess. The stack trace stops
at line 308 because rs is null when you call rs.next().
Can you do a null check before the while loop and after executing the
statement
if(rs == null) {
System.out.println("it is null");
}
Narayanan