Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2201

Unable to complete installation of DSpace with non-empty variable "db.schema" configuration file "build.properties"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2
    • Fix Version/s: 5.1
    • Component/s: DSpace API
    • Labels:
    • Environment:
      DB: Oracle
    • Attachments:
      0
    • Comments:
      12
    • Documentation Status:
      In Comments

      Description

      If the variable "db.schema" is not empty in the configuration file _ [dspace-source]/build.properties_, installation ends with this error:

      [java] 2014-10-17 00:30:14,649 FATAL org.dspace.administer.RegistryLoader @ anonymous::error_loading_registries:
      [java] java.lang.NullPointerException
      [java]     at org.dspace.storage.rdbms.ColumnInfo.canonicalize(ColumnInfo.java:154)
      [java]     at org.dspace.storage.rdbms.TableRow.canonicalizeAndCheck(TableRow.java:579)
      [java]     at org.dspace.storage.rdbms.TableRow.setColumn(TableRow.java:437)
      [java]     at org.dspace.storage.rdbms.DatabaseManager.doInsertGeneric(DatabaseManager.java:1834)
      [java]     at org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:675)
      [java]     at org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:447)
      [java]     at org.dspace.content.BitstreamFormat.create(BitstreamFormat.java:403)
      [java]     at org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:172)
      [java]     at org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:138)
      [java]     at org.dspace.administer.RegistryLoader.main(RegistryLoader.java:75)
      [java] Error:
      [java]  - null
      
      BUILD FAILED
      /opt/dspace-src-42/dspace/target/dspace-4.2-build/build.xml:858: Java returned: 1
      

      http://dspace.2283337.n4.nabble.com/Ant-fresh-install-fails-with-Oracle-FATAL-org-dspace-administer-RegistryLoader-anonymous-error-loadi-td4660521.html#a4674240
      http://sourceforge.net/p/dspace/mailman/message/30239571/
      http://sourceforge.net/p/dspace/mailman/dspace-tech/thread/1356006154.27480.YahooMailClassic@web125305.mail.ne1.yahoo.com/

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ctu-developers CTU Developers
                Reviewer:
                Ivan Masár
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: