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

Deleting already deleted account fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.8 (Hyperion)
    • Fix Version/s: 1.8 (Hyperion)
    • Component/s: Model, Provisioning
    • Labels:
      None

      Description

      User has account on resource (OpenDJ), created from OpenIDM
      The account is deleted directly from resource (outside OpenIDM)
      The user is deleted in OpenIDM. The delete fails.

      Error:
      Delete user failed: Provisioning invocation failed (deleteObject) : Error on getting object : NullPointerException : null

      [#|2011-02-11T19:02:05.214+0100|INFO|sun-appserver2.1|com.sun.xml.ws.server.sei.EndpointMethodHandler|_ThreadID=25;_ThreadName=p: thread-pool-1; w: 5;|Provisioning invocation failed (deleteObject)
      com.forgerock.openidm.xml.ns._public.model.model_1.FaultMessage: Provisioning invocation failed (deleteObject)
      at com.forgerock.openidm.model.ModelService.createFaultMessage(ModelService.java:658)
      at com.forgerock.openidm.model.ModelService.deleteObject(ModelService.java:574)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
      ...
      Caused by: com.forgerock.openidm.xml.ns._public.provisioning.provisioning_1.FaultMessage: Error on getting object
      at com.forgerock.openidm.provisioning.service.ProvisioningService.createFaultMessage(ProvisioningService.java:869)
      at com.forgerock.openidm.provisioning.service.ProvisioningService.getObject(ProvisioningService.java:301)
      at com.forgerock.openidm.model.ModelService.resolveAccount(ModelService.java:231)
      at com.forgerock.openidm.model.ModelService.deleteObject(ModelService.java:542)
      ... 45 more
      Caused by: java.lang.NullPointerException
      at com.forgerock.openidm.provisioning.schema.util.ObjectValueWriter.merge(ObjectValueWriter.java:84)
      at com.forgerock.openidm.provisioning.service.ProvisioningService.completeResourceObjectShadow(ProvisioningService.java:721)
      at com.forgerock.openidm.provisioning.service.ProvisioningService.getObject(ProvisioningService.java:275)
      ... 47 more

        Attachments

          Activity

            People

            Assignee:
            lazyman Viliam Repan
            Reporter:
            lazyman Viliam Repan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: