aspose file tools*
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 Spring in Action this week in the Spring 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EOF exception