Assuming you're running DSpace 3, here's the offending line: https://github.com/DSpace/DSpace/blob/dspace-3.2/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/MetadataExportReader.java#L187
There are several things that could possibly be null: out, csv and csv.toString() and csv.toString().getBytes("UTF-8"). Is it possible you're exporting something that results in an empty CSV? BTW index-update doesn't do anything related to CSV export. It updates metadata in the Lucene index from database. CSV export exports metadata from database. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette