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

Sakai JIRA | Ivan Masár | 1 year ago
  1. 0

    $ ant fresh_install ... [java] 2015-10-08 10:52:08,420 INFO org.hibernate.tool.hbm2ddl.TableMetadata @ HHH000037: Columns: [dspace_object, resource_id, status, resource_type_id, doi_id, doi] [java] 2015-10-08 10:52:08,421 INFO org.dspace.storage.rdbms.DatabaseRegistryUpdater @ Updating Bitstream Format Registry based on /dspace/config/registries/bitstream-formats.xml [java] Caught exception: [java] java.lang.RuntimeException: Error attempting to update Bitstream Format and/or Metadata Registries [java] at org.dspace.storage.rdbms.DatabaseRegistryUpdater.updateRegistries(DatabaseRegistryUpdater.java:83) [java] at org.dspace.storage.rdbms.DatabaseRegistryUpdater.afterMigrate(DatabaseRegistryUpdater.java:110) [java] at org.flywaydb.core.internal.command.DbMigrate$3.doInTransaction(DbMigrate.java:226) [java] at org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72) [java] at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:223) [java] at org.flywaydb.core.Flyway$1.execute(Flyway.java:1059) [java] at org.flywaydb.core.Flyway$1.execute(Flyway.java:1006) [java] at org.flywaydb.core.Flyway.execute(Flyway.java:1418) [java] at org.flywaydb.core.Flyway.migrate(Flyway.java:1006) [java] at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:558) [java] at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:477) [java] at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:257) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [java] at java.lang.reflect.Method.invoke(Method.java:606) [java] at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226) [java] at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78) [java] Caused by: java.lang.NullPointerException [java] at org.dspace.core.AbstractHibernateDAO.getHibernateSession(AbstractHibernateDAO.java:40) [java] at org.dspace.core.AbstractHibernateDAO.createCriteria(AbstractHibernateDAO.java:100) [java] at org.dspace.content.dao.impl.BitstreamFormatDAOImpl.findByMIMEType(BitstreamFormatDAOImpl.java:50) [java] at org.dspace.content.BitstreamFormatServiceImpl.findByMIMEType(BitstreamFormatServiceImpl.java:90) [java] at org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:173) [java] at org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:139) [java] at org.dspace.storage.rdbms.DatabaseRegistryUpdater.updateRegistries(DatabaseRegistryUpdater.java:59) [java] ... 17 more

    Sakai JIRA | 1 year ago | Ivan Masár
    java.lang.RuntimeException: Error attempting to update Bitstream Format and/or Metadata Registries
  2. 0

    $ ant fresh_install ... [java] 2015-10-08 10:52:08,420 INFO org.hibernate.tool.hbm2ddl.TableMetadata @ HHH000037: Columns: [dspace_object, resource_id, status, resource_type_id, doi_id, doi] [java] 2015-10-08 10:52:08,421 INFO org.dspace.storage.rdbms.DatabaseRegistryUpdater @ Updating Bitstream Format Registry based on /dspace/config/registries/bitstream-formats.xml [java] Caught exception: [java] java.lang.RuntimeException: Error attempting to update Bitstream Format and/or Metadata Registries [java] at org.dspace.storage.rdbms.DatabaseRegistryUpdater.updateRegistries(DatabaseRegistryUpdater.java:83) [java] at org.dspace.storage.rdbms.DatabaseRegistryUpdater.afterMigrate(DatabaseRegistryUpdater.java:110) [java] at org.flywaydb.core.internal.command.DbMigrate$3.doInTransaction(DbMigrate.java:226) [java] at org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72) [java] at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:223) [java] at org.flywaydb.core.Flyway$1.execute(Flyway.java:1059) [java] at org.flywaydb.core.Flyway$1.execute(Flyway.java:1006) [java] at org.flywaydb.core.Flyway.execute(Flyway.java:1418) [java] at org.flywaydb.core.Flyway.migrate(Flyway.java:1006) [java] at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:558) [java] at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:477) [java] at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:257) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [java] at java.lang.reflect.Method.invoke(Method.java:606) [java] at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226) [java] at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78) [java] Caused by: java.lang.NullPointerException [java] at org.dspace.core.AbstractHibernateDAO.getHibernateSession(AbstractHibernateDAO.java:40) [java] at org.dspace.core.AbstractHibernateDAO.createCriteria(AbstractHibernateDAO.java:100) [java] at org.dspace.content.dao.impl.BitstreamFormatDAOImpl.findByMIMEType(BitstreamFormatDAOImpl.java:50) [java] at org.dspace.content.BitstreamFormatServiceImpl.findByMIMEType(BitstreamFormatServiceImpl.java:90) [java] at org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:173) [java] at org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:139) [java] at org.dspace.storage.rdbms.DatabaseRegistryUpdater.updateRegistries(DatabaseRegistryUpdater.java:59) [java] ... 17 more

    Sakai JIRA | 1 year ago | Ivan Masár
    java.lang.RuntimeException: Error attempting to update Bitstream Format and/or Metadata Registries
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.dspace.core.AbstractHibernateDAO.getHibernateSession()
    2. DSpace Kernel :: API and Implementation
      AbstractHibernateDAO.createCriteria
      1. org.dspace.core.AbstractHibernateDAO.getHibernateSession(AbstractHibernateDAO.java:40)
      2. org.dspace.core.AbstractHibernateDAO.createCriteria(AbstractHibernateDAO.java:100)
      2 frames
    3. org.dspace.content
      BitstreamFormatDAOImpl.findByMIMEType
      1. org.dspace.content.dao.impl.BitstreamFormatDAOImpl.findByMIMEType(BitstreamFormatDAOImpl.java:50)
      1 frame
    4. DSpace Kernel :: API and Implementation
      DatabaseRegistryUpdater.afterMigrate
      1. org.dspace.content.BitstreamFormatServiceImpl.findByMIMEType(BitstreamFormatServiceImpl.java:90)
      2. org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:173)
      3. org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:139)
      4. org.dspace.storage.rdbms.DatabaseRegistryUpdater.updateRegistries(DatabaseRegistryUpdater.java:59)
      5. org.dspace.storage.rdbms.DatabaseRegistryUpdater.afterMigrate(DatabaseRegistryUpdater.java:110)
      5 frames
    5. ${project.artifactId}
      Flyway.migrate
      1. org.flywaydb.core.internal.command.DbMigrate$3.doInTransaction(DbMigrate.java:226)
      2. org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)
      3. org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:223)
      4. org.flywaydb.core.Flyway$1.execute(Flyway.java:1059)
      5. org.flywaydb.core.Flyway$1.execute(Flyway.java:1006)
      6. org.flywaydb.core.Flyway.execute(Flyway.java:1418)
      7. org.flywaydb.core.Flyway.migrate(Flyway.java:1006)
      7 frames
    6. DSpace Kernel :: API and Implementation
      DatabaseUtils.main
      1. org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:558)
      2. org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:477)
      3. org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:257)
      3 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    8. DSpace Kernel :: API and Implementation
      ScriptLauncher.main
      1. org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226)
      2. org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
      2 frames