The Artima Developer Community
Sponsored Link

Java Buzz Forum
StreamCorruptedException and Class Loading

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Paul Brown

Posts: 284
Nickname: paulrbrown
Registered: Dec, 2003

Paul Brown is an entrepreneur
StreamCorruptedException and Class Loading Posted: Mar 28, 2005 7:44 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Paul Brown.
Original Post: StreamCorruptedException and Class Loading
Feed Title: mult.ifario.us
Feed URL: http://feeds.feedburner.com/MultifariousCategoryJava
Feed Description: Software. Business. Java. XML. Web Services.
Latest Java Buzz Posts
Latest Java Buzz Posts by Paul Brown
Latest Posts From mult.ifario.us

Advertisement
Here's an otherwise innocuous utility method: public static Object toObject(byte[] bytes) throws IOException, ClassNotFoundException { ByteArrayInputStream bis = new ByteArrayInputStream(bytes); ObjectInputStream ois = new ObjectInputStream(bis); return ois.readObject(); } Why would something that works in a unit testing environment fail with a StreamCorruptedException in a more complex container? (HINT: ...

Read: StreamCorruptedException and Class Loading

Topic: [Mar 21, 2005 04:10 PST] 1 Links Previous Topic   Next Topic Topic: Mason and Melissa at Little City [Flickr]

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use