Dear friends please request your help, we have done manual debugging of the records adding the respective license, but the error continues:
My local.cfg file: assetstore.dir = /dspace6/assetstore assetstore.dir.1 = /dspace6/assetstore2 /dspace6/config/spring/api/bitstore.xml: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd" default-lazy-init="true"> <bean name="org.dspace.storage.bitstore.BitstreamStorageService" class="org.dspace.storage.bitstore.BitstreamStorageServiceImpl"> <property name="incoming" value="0"/> <property name="stores"> <map> <entry key="0" value-ref="localStore"/> <!--<entry key="1" value-ref="s3Store"/>--> </map> </property> </bean> <bean name="localStore" class="org.dspace.storage.bitstore.DSBitStoreService" scope="singleton"> <property name="baseDir" value="${assetstore.dir}"/> </bean> <bean name="s3Store" class="org.dspace.storage.bitstore.S3BitStoreService" scope="singleton"> <!-- AWS Security credentials, with policies for specified bucket --> <property name="awsAccessKey" value=""/> <property name="awsSecretKey" value=""/> <!-- S3 bucket name to store assets in. example: longsight-dspace-auk --> <property name="bucketName" value=""/> <!-- AWS S3 Region to use: {us-east-1, us-west-1, eu-west-1, eu-central-1, ap-southeast-1, ... } --> <!-- Optional, sdk default is us-east-1 --> <property name="awsRegionName" value=""/> <!-- Subfolder to organize assets within the bucket, in case this bucket is shared --> <!-- Optional, default is root level of bucket --> <property name="subfolder" value=""/> </bean> <bean name="localStore2" class="org.dspace.storage.bitstore.DSBitStoreService" scope="singleton"> <property name="baseDir" value="${assetstore.dir.1}"/> </bean> <bean name="s3Store2" class="org.dspace.storage.bitstore.S3BitStoreService" scope="singleton"> <!-- AWS Security credentials, with policies for specified bucket --> <property name="awsAccessKey" value=""/> <property name="awsSecretKey" value=""/> <!-- S3 bucket name to store assets in. example: longsight-dspace-auk --> <property name="bucketName" value=""/> <!-- AWS S3 Region to use: {us-east-1, us-west-1, eu-west-1, eu-central-1, ap-southeast-1, ... } --> <!-- Optional, sdk default is us-east-1 --> <property name="awsRegionName" value=""/> <!-- Subfolder to organize assets within the bucket, in case this bucket is shared --> <!-- Optional, default is root level of bucket --> <property name="subfolder" value=""/> </bean> <!-- <bean name="localStore2 ... --> <!-- <bean name="s3Store2 ... --> </beans> Hi, I use dspace v. 6.3, jspui, and when executing "dspace oai import ", I get this error: java.lang.NullPointerException at org.dspace.storage.bitstore.Bi <http://org.dspace.storage.bitstore.bi/>tstreamStorageServiceImpl.retr ieve(BitstreamStorageServiceImpl.java:216) at org.dspace.content.BitstreamServiceImpl.retrieve(BitstreamSe rviceImpl.java:309) at org.dspace.xoai.util.ItemUtils.retrieveMetadata(ItemUtils. java:298) at org.dspace.xoai.app.XOAI.index(XOAI.java:421) at org.dspace.xoai.app.XOAI.index(XOAI.java:280) at org.dspace.xoai.app.XOAI.index(XOAI.java:179) at org.dspace.xoai.app.XOAI.index(XOAI.java:145) at org.dspace.xoai.app.XOAI.main(XOAI.java:560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptL auncher.java:229) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher. java:81) El martes, 26 de febrero de 2019, 0:04:39 (UTC-5), Freddy Guerrero escribió: > > Hi, I use dspace v. 6.3, jspui, and when executing "dspace oai import ", > I get this error: > > java.lang.NullPointerException > at org.dspace.storage.bitstore.BitstreamStorageServiceImpl.retr > ieve(BitstreamStorageServiceImpl.java:216) > at org.dspace.content.BitstreamServiceImpl.retrieve(BitstreamSe > rviceImpl.java:309) > at org.dspace.xoai.util.ItemUtils.retrieveMetadata(ItemUtils. > java:298) > at org.dspace.xoai.app.XOAI.index(XOAI.java:421) > at org.dspace.xoai.app.XOAI.index(XOAI.java:280) > at org.dspace.xoai.app.XOAI.index(XOAI.java:179) > at org.dspace.xoai.app.XOAI.index(XOAI.java:145) > at org.dspace.xoai.app.XOAI.main(XOAI.java:560) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce > ssorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe > thodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptL > auncher.java:229) > at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher. > java:81) > -- 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 Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/ae9f56dd-409d-4ebe-bb24-2838f863bbeb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.