Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-12406

Backport OPENIDM-12379: /openidm/recon endpoint fails on an upgraded repository

    XMLWordPrintable

Details

    Description

      Linked to OPENIDM-12356

      A customer has been testing an upgrade from 6.0.0.2 to 6.5.0 and has updated their test system using the steps in https://backstage.forgerock.com/docs/idm/6.5/release-notes/index.html#chap-update-compatibility. Having completed the update, they have found that the /openidm/recon endpoint returns an error:

       

      {
       "code": 500,
       "reason": "Internal Server Error",
       "message": "cannot assign instance of org.forgerock.guava.common.util.concurrent.AtomicDouble to field org.forgerock.openidm.util.DurationStatistics.deltaMean of type org.forgerock.openidm.util.DurationStatistics$AtomicDouble in instance of org.forgerock.openidm.util.DurationStatistics"
      }
      

       

       

      This endpoint is used by the /openidm/endpoint/mappingDetails which in turn is used by the Mappings page in the Admin UI. Therefore, attempting to use this page returns an Internal Server Error.

      Investigation shows that this seems to be a problem with the existing data in the genericobjects table. This data was created under a 6.0.0.2 installation that has then updated to 6.5.0, & the data has not been updated in the repo. 

       The 'fix' is to clear the genericobjectproperties table as per OPENIDM-12356 however presumably this should be covered within the upgrade process.

      N.B this also affects 6.0.0.4

       

      Attachments

        Issue Links

          Activity

            People

              mark.offutt Mark Offutt [X] (Inactive)
              jakub.janoska Jakub Janoska [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: