Hi Helix, Thanks We are using Dspace 1.8.2.
Does the code occur in the package you mention? It is an export of a community, containing several collections/items. It has had its name changed recently. Kev Kevin Evans Systems Developer, Research & Collaborative Systems, Enterprise Applications, Room 911, 9th Floor, Laver Building, University of Exeter, Exeter, Devon, EX4 4QE 01392 725573 -----Original Message----- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: 01 August 2013 19:21 To: Evans, Kevin Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] java.lang.NullPointerException when exporting metadata 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