created this as JIRA for this as well 
https://jira.duraspace.org/browse/DS-3082
if somebody has a suggestion how to remedy this - please let me know 


when running fresh install in dspace 5 with oracle I get errors

I looked into the details of creating bitstreamformatregistry entries:


DatabaseRegistryUpdater afterMigrate
 calls DatabaseManager.create
    calls DatabaseManager.getColumnNames(table), where table = 
'bitstreamformatregistry'

getColumnNames unfortunately returns an empty list

although I can see in the DB that the table has columns


----
here are the log messages

2016-02-25 15:06:31,834 ERROR org.dspace.storage.rdbms.DatabaseRegistryUpdater 
@ Error attempting to update Bitstream Format and/or Metadata Registries
java.lang.NullPointerException
        at org.dspace.storage.rdbms.ColumnInfo.canonicalize(ColumnInfo.java:154)
        at 
org.dspace.storage.rdbms.TableRow.canonicalizeAndCheck(TableRow.java:661)
        at org.dspace.storage.rdbms.TableRow.setColumn(TableRow.java:499)
        at 
org.dspace.storage.rdbms.DatabaseManager.doInsertGeneric(DatabaseManager.java:1827)
        at 
org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:715)
        at 
org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:476)
        at org.dspace.content.BitstreamFormat.create(BitstreamFormat.java:403)
        at 
org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:182)
        at 
org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:136)
        at 
org.dspace.storage.rdbms.DatabaseRegistryUpdater.updateRegistries(DatabaseRegistryUpdater.java:63)
        at 
org.dspace.storage.rdbms.DatabaseRegistryUpdater.afterMigrate(DatabaseRegistryUpdater.java:129)
        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:864)
        at org.flywaydb.core.Flyway$1.execute(Flyway.java:811)
        at org.flywaydb.core.Flyway.execute(Flyway.java:1171)
        at org.flywaydb.core.Flyway.migrate(Flyway.java:811)
        at 
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:419)
        at 
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:338)
        at 
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1373)
        at 
org.dspace.storage.rdbms.DatabaseManager.getDbName(DatabaseManager.java:1491)
        at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:191)
        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)
2016-02-25 15:06:32,064 ERROR org.dspace.storage.rdbms.DatabaseRegistryUpdater 
@ Error attempting to add/update default DSpace Groups
java.lang.NullPointerException
        at java.util.regex.Matcher.getTextLength(Matcher.java:1234)
        at java.util.regex.Matcher.reset(Matcher.java:308)
        at java.util.regex.Matcher.<init>(Matcher.java:228)
        at java.util.regex.Pattern.matcher(Pattern.java:1088)
        at 
org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager.java:541)
        at 
org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:505)
        at org.dspace.eperson.Group.find(Group.java:683)
        at org.dspace.eperson.Group.initDefaultGroupNames(Group.java:1500)
        at 
org.dspace.storage.rdbms.DatabaseRegistryUpdater.afterMigrate(DatabaseRegistryUpdater.java:141)
        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:864)
        at org.flywaydb.core.Flyway$1.execute(Flyway.java:811)
        at org.flywaydb.core.Flyway.execute(Flyway.java:1171)
        at org.flywaydb.core.Flyway.migrate(Flyway.java:811)
        at 
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:419)
        at 
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:338)
        at 
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1373)
        at 
org.dspace.storage.rdbms.DatabaseManager.getDbName(DatabaseManager.java:1491)
        at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:191)
        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)




________________ 
Monika Mevenkamp
[email protected]

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to