This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: EOF exception
 
It's not a secret anymore!