Search Results

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: Agni ; Forum: Java and child forums
Forum: Java Oct 24th, 2009
Replies: 6
Views: 397
Posted By Agni
The null is because it's reading past the last line of the file. So when it has read the last line the 'while' is true, then it reads the next line(one after last one) then when you access the length...
Forum: Java Oct 22nd, 2009
Replies: 6
Views: 397
Posted By Agni
upload the data files if they are not too big, we'll see if we can help.
Forum: Java Oct 21st, 2009
Replies: 6
Views: 397
Posted By Agni
'tmp' string might be null. put a check like this after you do the 'readLine' and try


if(tmp != null)
{
//your code
}
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC