Empty CSV file on export
Hi
I am trying to export a view filled with many attributes such as ID, content, description, Priority, Severity etc and some user defined attributes to a CSV file. The file has the headers (only first row) and the rest of the rows are empty(actual data in the module) . Initially the same export function was working well and generating files correctly , but recently it doesn't work. Could there be a specific reason?
Thanks
2 answers
I did raise a PMR for this, but IBM dropped/lost it when they switched support systems recently.
A work around for me for this issue is
1) check there are no Primary Text / Content fields with blank entries, if there are, you will find a stacktrace error similar the the following in the log
/rm/export/csv] ERROR ing.server.rrs.importer.format.ExportResultsWriter - Unexpected exception java.lang.RuntimeException: java.lang.StringIndexOutOfBoundsException at com.ibm.rdm.fronting.server.rrs.importer.xls.XlsViewQueryResultsWriter.write(XlsViewQueryResultsWriter.java:651 at com.ibm.rdm.fronting.server.rrs.importer.format.ExportResultsWriter.render(ExportResultsWriter.java:111)PS: My XLS files were literally empty - 0 byte files, no content, no headers.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 13 '17, 2:36 a.m.How should I ask a question in the Forum if I want to receive useful answers?
lakshmi shree
Apr 13 '17, 6:15 a.m.HI Ralph
Donald Nong
Apr 13 '17, 6:20 a.m.You'd better modify the original post as most people will read it first. Have you verified that the view has any artifacts? What about other views?
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 13 '17, 6:27 a.m.This never worked with Doors Next Version 0.9 M3 would be a valid answer to your question.
lakshmi shree
Jul 23 '17, 1:36 a.m.Hi Ralph