We found an issue attempting to export the metadata from a collection with many items on a DSpace 3.2 instance upgraded from DSpace 1.6.
Way to replicate:
1) Add a couple of items to a collection
2) Set column archived="f" in the "item" table
3) Export metadata CSV
The user will receive a silent error. The full stack trace is eaten so it is difficult to find where the problem originates.
The problem is this line in DSpaceCSV.java:
String owningCollectionHandle = i.getOwningCollection().getHandle();
The "i" object is never validated before this call.