Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.io.IOException: Stream closed

800601Jan 13 2009 — edited Jan 13 2009
Hi


I get this error : how to solve it :

java.io.IOException: Stream closed
at java.io.BufferedWriter.ensureOpen(Unknown Source)
at java.io.BufferedWriter.flushBuffer(Unknown Source)
at java.io.BufferedWriter.flush(Unknown Source)
at tableA.main(tableA.java:546)
} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			finally{
				try
				{
					if(writeProv != null){
						writeProv.flush();
						writeProv.close();
					}
					if(fw != null)
						fw.close();
				}
				catch(IOException e)
				{
					e.printStackTrace();
				}
			}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 10 2009
Added on Jan 13 2009
3 comments
5,499 views