This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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, 3rd edition
subject: "write end dead" or "pipe" broken error
It's not a secret anymore!