Dears we recently updated DSPACE from 5.x to 6.4 and the site is up and running smoothly, however I am stuck in a problem regarding export of AIP.
Info:
DSpace version: 6.4
If I run this command, I get the following error:
/data/bin/dspace packager -d -a -t AIP -e
dsp...@xx.com -i 10938/0 dspace-aip.zip
Warning at xsl:stylesheet on line 14 column 35
Unrecognized version 1.1: treated as 1.0
Disseminating DSpace SITE [ hdl=10938/0 ] to dspace-aip.zip
Also disseminating all child objects (recursive mode)..
This may take a while, please check your logs for ongoing status while we process each package.
Exception: Failed to export Roles via packager (see wrapped error message for more details)
org.dspace.content.crosswalk.CrosswalkInternalException: Failed to export Roles via packager (see wrapped error message for more details)
at org.dspace.content.crosswalk.RoleCrosswalk.disseminateElement(RoleCrosswalk.java:236)
at org.dspace.content.packager.AbstractMETSDisseminator.crosswalkToMetsElement(AbstractMETSDisseminator.java:1356)
at org.dspace.content.packager.AbstractMETSDisseminator.makeMdSec(AbstractMETSDisseminator.java:626)
at org.dspace.content.packager.AbstractMETSDisseminator.addToAmdSec(AbstractMETSDisseminator.java:739)
at org.dspace.content.packager.AbstractMETSDisseminator.addAmdSec(AbstractMETSDisseminator.java:765)
at org.dspace.content.packager.AbstractMETSDisseminator.makeManifest(AbstractMETSDisseminator.java:862)
at org.dspace.content.packager.AbstractMETSDisseminator.writeZipPackage(AbstractMETSDisseminator.java:334)
at org.dspace.content.packager.AbstractMETSDisseminator.disseminate(AbstractMETSDisseminator.java:271)
at org.dspace.content.packager.DSpaceAIPDisseminator.disseminate(DSpaceAIPDisseminator.java:165)
at org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:102)
at org.dspace.app.packager.Packager.disseminate(Packager.java:642)
at org.dspace.app.packager.Packager.main(Packager.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
Caused by: org.dspace.content.packager.PackageException: java.lang.NullPointerException, Reason: java.lang.NullPointerException
at org.dspace.content.packager.RoleDisseminator.writeToStream(RoleDisseminator.java:255)
at org.dspace.content.packager.RoleDisseminator.disseminate(RoleDisseminator.java:106)
at org.dspace.content.crosswalk.RoleCrosswalk.disseminateElement(RoleCrosswalk.java:205)
... 17 more
Caused by: java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
at java.util.regex.Matcher.reset(Matcher.java:309)
at java.util.regex.Matcher.<init>(Matcher.java:229)
at java.util.regex.Pattern.matcher(Pattern.java:1093)
at org.dspace.content.packager.PackageUtils.translateGroupNameForExport(PackageUtils.java:822)
at org.dspace.content.packager.RoleDisseminator.writeGroup(RoleDisseminator.java:307)
at org.dspace.content.packager.RoleDisseminator.writeToStream(RoleDisseminator.java:229)
... 19 more
[DSPACE LOG SHOW]
2023-01-25 15:36:53,696 WARN net.sf.ehcache.CacheManager @ Creating a new instance of CacheManager using the diskStorePath "/tmp" which is already used by an existing CacheManager.
The source of the configuration was net.sf.ehcache.config.generator.ConfigurationSource$URLConfigurationSource@3794ff96.
The diskStore path for this CacheManager will be set to /tmp/ehcache_auto_created_1674653813695.
To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.
2023-01-25 15:36:55,808 WARN org.dspace.content.packager.PackageUtils @ DSpace Object (ID='128', type ='3') no longer exists -- translating COLLECTION_128_DEFAULT_READ to ORPHANED_3_GROUP_128_DEFAULT_READ.
2023-01-25 15:36:55,809 WARN org.dspace.content.packager.PackageUtils @ DSpace Object (ID='12', type ='3') no longer exists -- translating COLLECTION_12_DEFAULT_READ to ORPHANED_3_GROUP_12_DEFAULT_READ.
2023-01-25 15:36:55,870 WARN org.dspace.content.packager.PackageUtils @ DSpace Object (ID='14', type ='3') no longer exists -- translating COLLECTION_14_DEFAULT_READ to ORPHANED_3_GROUP_14_DEFAULT_READ.
==============================
however If i add any index number example:
/data/bin/dspace packager -d -a -t AIP -e
dsp...@xx.com -i 10938/10938 dspace-aip.zip
Warning at xsl:stylesheet on line 14 column 35
Unrecognized version 1.1: treated as 1.0
Disseminating DSpace ITEM [ hdl=10938/21000 ] to dspace-aip.zip
Also disseminating all child objects (recursive mode)..
This may take a while, please check your logs for ongoing status while we process each package.
CREATED a total of 1 dissemination package files.
Would you like to view a list of all files that were created? [y/n]: y
CREATED package file: /tmp/TEST/dspace-aip.zip
[Dspace log file]
2023-01-25 15:44:36,439 WARN net.sf.ehcache.CacheManager @ Creating a new instance of CacheManager using the diskStorePath "/tmp" which is already used by an existing CacheManager.
The source of the configuration was net.sf.ehcache.config.generator.ConfigurationSource$URLConfigurationSource@7ff832ee.
The diskStore path for this CacheManager will be set to /tmp/ehcache_auto_created_1674654276439.
To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.
2023-01-25 15:44:38,047 WARN org.dspace.content.crosswalk.MODSDisseminationCrosswalk @ WARNING: MODS: No MODS mapping for "dc.description.provenance"
2023-01-25 15:44:38,048 WARN org.dspace.content.crosswalk.MODSDisseminationCrosswalk @ WARNING: MODS: No MODS mapping for "dc.contributor.department"
2023-01-25 15:44:38,048 WARN org.dspace.content.crosswalk.MODSDisseminationCrosswalk @ WARNING: MODS: No MODS mapping for "dc.contributor.department"
2023-01-25 15:44:38,048 WARN org.dspace.content.crosswalk.MODSDisseminationCrosswalk @ WARNING: MODS: No MODS mapping for "dc.subject.classificationsource"
2023-01-25 15:44:38,048 WARN org.dspace.content.crosswalk.MODSDisseminationCrosswalk @ WARNING: MODS: No MODS mapping for "dc.contributor.institution"
===========================================
any idea whats happening and why i am not able to export the whole site?
thank you!