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