java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I discovered this error with Vagrant-DSpace, but I don't believe it's an error with Vagrant-DSpace, the NPE happens in the DatabaseManager. Here is the NPE: java.lang.NullPointerException at org.dspace.storage.rdbms.DatabaseManager.retrieveColumnInfo(DatabaseManager.java:1411) at org.dspace.storage.rdbms.DatabaseManager.getColumnInfoInternal(DatabaseManager.java:1380) at org.dspace.storage.rdbms.DatabaseManager.getColumnInfo(DatabaseManager.java:800) at org.dspace.storage.rdbms.DatabaseManager.getPrimaryKeyColumnInfo(DatabaseManager.java:1268) at org.dspace.storage.rdbms.DatabaseManager.update(DatabaseManager.java:731) at org.dspace.eperson.Group.update(Group.java:1140) at org.dspace.content.packager.RoleIngester.ingestDocument(RoleIngester.java:350) at org.dspace.content.packager.RoleIngester.ingest(RoleIngester.java:471) at org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:337) at org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:259) at org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1193) at org.dspace.content.packager.METSManifest.crosswalkObjectOtherAdminMD(METSManifest.java:1106) at org.dspace.content.packager.AbstractMETSIngester.replaceObject(AbstractMETSIngester.java:645) at org.dspace.content.packager.AbstractMETSIngester.replace(AbstractMETSIngester.java:1191) at org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:241) at org.dspace.app.packager.Packager.replace(Packager.java:727) at org.dspace.app.packager.Packager.main(Packager.java:373) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) java.lang.NullPointerException Here is the command I type to get this error: cd ~ && dspace/bin/dspace packager -u -r -a -f -t AIP -e dspacedemo+admin@gmail.com -i 10673/0 -o skipIfParentMissing=true -o createMetadataFields=true /vagrant/content/aips/SITE@10673-0.zip
    via by Hardy Pottinger,
  • I discovered this error with Vagrant-DSpace, but I don't believe it's an error with Vagrant-DSpace, the NPE happens in the DatabaseManager. Here is the NPE: java.lang.NullPointerException at org.dspace.storage.rdbms.DatabaseManager.retrieveColumnInfo(DatabaseManager.java:1411) at org.dspace.storage.rdbms.DatabaseManager.getColumnInfoInternal(DatabaseManager.java:1380) at org.dspace.storage.rdbms.DatabaseManager.getColumnInfo(DatabaseManager.java:800) at org.dspace.storage.rdbms.DatabaseManager.getPrimaryKeyColumnInfo(DatabaseManager.java:1268) at org.dspace.storage.rdbms.DatabaseManager.update(DatabaseManager.java:731) at org.dspace.eperson.Group.update(Group.java:1140) at org.dspace.content.packager.RoleIngester.ingestDocument(RoleIngester.java:350) at org.dspace.content.packager.RoleIngester.ingest(RoleIngester.java:471) at org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:337) at org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:259) at org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1193) at org.dspace.content.packager.METSManifest.crosswalkObjectOtherAdminMD(METSManifest.java:1106) at org.dspace.content.packager.AbstractMETSIngester.replaceObject(AbstractMETSIngester.java:645) at org.dspace.content.packager.AbstractMETSIngester.replace(AbstractMETSIngester.java:1191) at org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:241) at org.dspace.app.packager.Packager.replace(Packager.java:727) at org.dspace.app.packager.Packager.main(Packager.java:373) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) java.lang.NullPointerException Here is the command I type to get this error: cd ~ && dspace/bin/dspace packager -u -r -a -f -t AIP -e dspacedemo+admin@gmail.com -i 10673/0 -o skipIfParentMissing=true -o createMetadataFields=true /vagrant/content/aips/SITE@10673-0.zip
    via by Hardy Pottinger,
    • java.lang.NullPointerException at org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:513) at org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:467) at org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1193) at org.dspace.content.packager.METSManifest.crosswalkObjectOtherAdminMD(METSManifest.java:1114) at org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:464) at org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:240) at org.dspace.app.packager.Packager.ingest(Packager.java:571) at org.dspace.app.packager.Packager.main(Packager.java:431) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:227) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:79)
    No Bugmate found.