My apologies for the self-reply, but it turns out the issue was just a
missing (and later, present-but-incorrect) mets.xml in my zipfile.

-Phunk

Brian 'Phunk' Gadoury wrote:
> Hello,
>
> I am getting a java.lang.NullPointerException at
> java.util.zip.ZipFile.getInputStream when attempting to deposit a zipfile
> into a collection on a DSpace server using SWORD. Naturally, this causes
> an HTTP 500 error response from the server. (I get proper responses for
> all other error conditions such as unrecognized packaging, invalid
> content-type, invalid auth, etc.)
>
> I get the same results using both the sword2ruby lib (after an X-Packaging
> fix) and the web-based client at http://client.swordapp.org/client/. The
> zipfiles I've tried are all small and valid/non-corrupted, etc.. For
> reference, I am using the collection.post_media!() method within the
> sword2ruby lib.
>
> I do not personally have access to the DSpace server, but I have gotten an
> excerpt of the logs for these events. I am completely out of ideas on what
> I can try differently on my client-side. Does anyone have any suggestions?
>
> Here's an excerpt from the log for one of the events:
>
> [SNIP]


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
sword-app-tech mailing list
sword-app-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sword-app-tech

Reply via email to