Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-1528

Importing previous backup does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2 (Crius)
    • Fix Version/s: 2.2 (Crius)
    • Component/s: Repository
    • Labels:
      None
    • Environment:

      postgresql repo

      Description

      1. make complete backup: export all objects of type "Object"
      2. shut down apache
      3. drop database/create database
      4. import the backup: keep oid, overwrite

      java.lang.IllegalStateException: Subresult com.evolveum.midpoint.model.importer.ObjectImporter.importObjectToRepository of operation com.evolveum.midpoint.common.operation.import.object is still UNKNOWN during cleanup
      

      the last error in idm.log is:

      Caused by: java.lang.NullPointerException: null
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.fillTransitiveHierarchy(SqlRepositoryServiceImpl.java:538) ~[repo-sql-impl-2.2-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.fillHierarchy(SqlRepositoryServiceImpl.java:515) ~[repo-sql-impl-2.2-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.overwriteAddObjectAttempt(SqlRepositoryServiceImpl.java:415) ~[repo-sql-impl-2.2-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.addObjectAttempt(SqlRepositoryServiceImpl.java:339) ~[repo-sql-impl-2.2-SNAPSHOT.jar:na]
              ... 123 common frames omitted
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vix Ivan Noris
              Reporter:
              vix Ivan Noris
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: