• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Stream CorruptedException invalid type code AC

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


I get this error when I try to read the data from file. Could someone please help me fix this??

Thanks
Shekar.
 
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Usual approach to an Exception:-

You will have to look at the API, find the name of the Exception at the bottom left, and read about it. It doesn't really tell you a lot, I am afraid.
Go to the line where the JVM thinks the problem occurred. You can tell where it is; it is in the getUserList method, line 50. Read that carefully and see whether that helps you. Compare it with examples in books or the Java Tutorials for what you are trying to do and see whether you have made a mistake in the code.

I am afraid you may find the problem is outwith your control. Check very carefully that the file you are reading from and your network connections are not corrupted.
 
reply
    Bookmark Topic Watch Topic
  • New Topic