This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark ""write end dead" or "pipe" broken error" Watch ""write end dead" or "pipe" broken error" New topic

"write end dead" or "pipe" broken error

Jimmy Anderson

Joined: Aug 22, 2003
Posts: 3
I am trying to write a program using the PipedInputStream and PipedOutputStream classes. I either get a "pipe broken" or " write end dead" error. There are four classes in all, the first class Prime I won't include, it simply creates a file and populates it with the first 5 prime numbers. The code follows. Some of the code is commented out because I have been playing around trying to get it to work. Any help as to why it won't work would be appreciated.
Thanks in advance.

[ February 05, 2004: Message edited by: Jim Yingst ]
jQuery in Action, 2nd edition
subject: "write end dead" or "pipe" broken error
Similar Threads
Question about PipedOUtputStream / PipedInputStream
What does this code mean?
send files over the socket
? - Is there a way to validate 1 XML record at a time, using the SAX or other parser!
Problem with ZipInputStream .........