wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes EOF exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "EOF exception " Watch "EOF exception " New topic
Author

EOF exception

Harish Yerneni
Ranch Hand

Joined: Sep 15, 2004
Posts: 94
Ranchers,

I am trying to read delete flag (one byte can be 1 or 0 in value) using raf.readUnsignedByte(). I am successful until the last record. While reading the last record's delete flag value, i am getting EOF exception. Note: I am able to read all other fields from the last record if I comment this function and assign 0 to delete flag value.

When I did a google search, i found this bug info

Any thoughts? How did everybody read that delete flag, if different?

thanks,

Harish


SCJP 1.4 | SCWCD 1.4 | SCJD (WIP)
Harish Yerneni
Ranch Hand

Joined: Sep 15, 2004
Posts: 94
Guys,

I found a similar postand got my problem working

thanks,

Harish
 
Don't get me started about those stupid light bulbs.
 
subject: EOF exception