Hi Job,

That error appears to be saying that the AIP (zip file) you are ingesting 
is referencing a Group that doesn't exist in your system.  So, DSpace looks 
to be trying to ingest that AIP and either it is referencing a Group that 
doesn't exist, or maybe it tried to create a Group and failed to do so.

I'd recommend looking for other *prior* errors in your log file.  Or, more 
closely analyze the AIP to see if the groups in the "DSPACE-ROLES" section 
look correct based on your system.

It could also be that you should be using the "restore/replace mode" (-r) 
instead of the "submission mode" (-s), as those modes have different 
behaviors: 
https://wiki.lyrasis.org/display/DSDOC8x/AIP+Backup+and+Restore#AIPBackupandRestore-Thedifferencebetween%22Submit%22and%22Restore/Replace%22modes

Tim
On Thursday, May 22, 2025 at 6:05:30 PM UTC-5 [email protected] wrote:

> Hi all,
>
> Using *DSPACE 8.1*
>
> I did something like:
>
> dspace packager -s -t AIP -e [email protected] -p 123456789/999 aip-XXX.zip
>
> But, get, the following error
>
> Ingesting package located at aip-XX.zip
> java.lang.NullPointerException: Cannot invoke 
> "org.dspace.eperson.Group.getID()" because "groupChild" is null
>         at 
> org.dspace.eperson.GroupServiceImpl.addMember(GroupServiceImpl.java:151)
>         at 
> org.dspace.content.packager.RoleIngester.ingestDocument(RoleIngester.java:363)
>         at 
> org.dspace.content.packager.RoleIngester.ingest(RoleIngester.java:432)
>         at 
> org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:319)
>         at 
> org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:248)
>         at 
> org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1128)
>         at 
> org.dspace.content.packager.METSManifest.crosswalkObjectOtherAdminMD(METSManifest.java:1042)
>         at 
> org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:447)
>         at 
> org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:250)
>         at org.dspace.app.packager.Packager.ingest(Packager.java:537)
>         at org.dspace.app.packager.Packager.main(Packager.java:408)
>         at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>         at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
>         at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.base/java.lang.reflect.Method.invoke(Method.java:569)
>         at 
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:283)
>         at 
> org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:134)
>         at 
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:99)
>
>
> Eperson is a admin in Administrator Group
>
> Some
> What I can do?
>
> Thanks
>
> Job
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-community/56f92e6e-1dec-463c-b8e3-bbf8b9e4f0f6n%40googlegroups.com.

Reply via email to