This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

about java.io.EOFException - can someone help please ?  RSS feed

 
achana chan
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi yet again.
I encountered a lot of errors, and I was told be several people that the exception messages sometimes send me down the wrong path. I have this exception :

Can someone please tell me how to debug this one ?
 
prabhat kumar
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
post the code from where u r getting this
 
Bill Wang
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by achana chan:
Hi yet again.
I encountered a lot of errors, and I was told be several people that the exception messages sometimes send me down the wrong path. I have this exception :

Can someone please tell me how to debug this one ?

It looks like that you try to read the binary objects from a resource. If so, check the size of the available bytes is no less than what you try to read. Again, posting your code will much helper to debug this.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!