java.lang.RuntimeException

Error attempting to update Bitstream Format and/or Metadata Registries

Solutions on the web48953

  • via Sakai JIRA by Ivan Masár, 1 year ago
    Error attempting to update Bitstream Format and/or Metadata Registries
  • via Sakai JIRA by Tom Desair (Atmire), 3 months ago
    Error attempting to update Bitstream Format and/or Metadata Registries
  • via Sakai JIRA by Ivan Masár, 1 year ago
    Error attempting to update Bitstream Format and/or Metadata Registries
  • Stack trace

    • java.lang.RuntimeException: Error attempting to update Bitstream Format and/or Metadata Registries at org.dspace.storage.rdbms.DatabaseRegistryUpdater.updateRegistries(DatabaseRegistryUpdater.java:83) at org.dspace.storage.rdbms.DatabaseRegistryUpdater.afterMigrate(DatabaseRegistryUpdater.java:110) at org.flywaydb.core.internal.command.DbMigrate$3.doInTransaction(DbMigrate.java:226) at org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72) at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:223) at org.flywaydb.core.Flyway$1.execute(Flyway.java:1059) at org.flywaydb.core.Flyway$1.execute(Flyway.java:1006) at org.flywaydb.core.Flyway.execute(Flyway.java:1418) at org.flywaydb.core.Flyway.migrate(Flyway.java:1006) at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:558) at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:477) at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:257) 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:226) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78) Caused by: java.lang.NullPointerException at org.dspace.core.AbstractHibernateDAO.getHibernateSession(AbstractHibernateDAO.java:40) at org.dspace.core.AbstractHibernateDAO.createCriteria(AbstractHibernateDAO.java:100) at org.dspace.content.dao.impl.BitstreamFormatDAOImpl.findByMIMEType(BitstreamFormatDAOImpl.java:50) at org.dspace.content.BitstreamFormatServiceImpl.findByMIMEType(BitstreamFormatServiceImpl.java:90) at org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:173) at org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:139) at org.dspace.storage.rdbms.DatabaseRegistryUpdater.updateRegistries(DatabaseRegistryUpdater.java:59) ... 17 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.