java.lang.RuntimeException: Error attempting to update Bitstream Format and/or Metadata Registries

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sakai JIRA by Ivan Masár, 1 year ago
Error attempting to update Bitstream Format and/or Metadata Registries
via Sakai JIRA by Terry Brady, 9 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
via Sakai JIRA by Tom Desair (Atmire), 9 months ago
Error attempting to update Bitstream Format and/or Metadata Registries
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)
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 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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.