• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

"write end dead" or "pipe" broken error

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic