Upgraded to DSpace 6.3: filter-media command gives java.lang.NullPointerException

16 views
Skip to first unread message

Sakib Ahmed

unread,
Sep 29, 2019, 3:56:26 AM9/29/19
to DSpace Community
Dear All

I upgraded from Dspace 5.3 to 6.3 with Mirage2 theme enabled. After running "filter-media" command I received "java.lang.NullPointerException" for more than half of all items. Newly uploaded are indexing fine with all bitstream and thumbnail. But most of my old files aren't indexing bitstream. 


Your help in solving this is highly appreciated.


bitstream_error.JPG

Kim Shepherd

unread,
Sep 29, 2019, 8:18:36 PM9/29/19
to Sakib Ahmed, DSpace Community
Hi Sakib

Did anything else change while you were migrating? Eg. if you had multiple assetstores configured, perhaps you've rolled those into a single assetstore, or the 6.3 configuration files haven't been updated to reflect multiple assetstores?
The reason I ask, is your stack trace refers to "Assetstore 1", while I'm pretty sure 0 is the starting index for assetstores...

Cheers

Kim

M: k...@shepherd.nz
T: @kimshepherd

0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC


--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/fef95098-821a-4e74-a8f6-cae1c2563b77%40googlegroups.com.

Sakib Ahmed

unread,
Sep 29, 2019, 11:24:10 PM9/29/19
to Kim Shepherd, DSpace Community
Thanks Kim.

That's exactly what I found. Though I edited local.cfg file for additional assetstore, dspace wasn't reading that. I had to edit "/dspace/config/spring/api/bitstore.xml" for 2nd assetstore.  Now it's indexing all bitstream fine.

Thanks

Regards

Sakib Ahmed
Assistant System Programmer
Ayesha Abed Library
Brac University

66, Mohakhali, Dhaka-1212
Phone # 88-02-9844051-4 ext.4131
Mobile # +88-015-36211341
               +88-017-53758889
University Web: bracu.ac.bd
Library Web Site: library.bracu.ac.bd

Reply all
Reply to author
Forward
0 new messages