SAP Knowledge Base Article - Preview

2290201 - Save as delimited text file fails "Error writing file" in HANA Studio

Symptom

In HANA Studio when attempting to save a result set as a delimited text file "Error writing file" is returned.  The file itself is created however it is empty. 

delimited error.png

delimited2.png

 

In the HANA Studio log the following error can be seen:

!ENTRY com.sap.dataexplorer.ui 4 0 0000-00-00 00:00:00.000

!MESSAGE

!STACK
0java.lang.reflect.InvocationTargetException
at com.sap.dataexplorer.ui.exporters.SaveAsDelimitedTextFileRunnable.run(SaveAsDelimitedTextFileRunnable.java:118)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: java.io.IOException: Stream Closed
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:326)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
at sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:316)
at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:149)
at java.io.OutputStreamWriter.close(OutputStreamWriter.java:233)
at com.sap.dataexplorer.ui.exporters.SaveAsDelimitedTextFileRunnable.run(SaveAsDelimitedTextFileRunnable.java:114)


Read more...

Environment

SAP HANA Database 1.0

Product

SAP HANA 1.0, platform edition

Keywords

KBA , HAN-STD , SAP HANA Studio (Eclipse) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.