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

Unable to delete user account ERROR -

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.8 (Hyperion)
    • Fix Version/s: 1.8 (Hyperion)
    • Component/s: GUI
    • Labels:
      None

      Description

      Unknown error occured during save operation, reason: Object oid must not be null or empty.

      14:13:17,597 DEBUG [com.evolveum.midpoint.web.controller.account.UserDetailsController] http-8080-6 - Start processing of new accounts
      14:13:17,598 DEBUG [com.evolveum.midpoint.web.controller.account.UserDetailsController] http-8080-6 - Finished processing of new accounts
      14:13:17,598 DEBUG [com.evolveum.midpoint.web.controller.account.UserDetailsController] http-8080-6 - Start processing of deleted accounts
      14:13:17,599 DEBUG [com.evolveum.midpoint.web.controller.account.UserDetailsController] http-8080-6 - Following account is marked as candidate for delete in GUI: AccountShadowType(null,name=Localhost OpenDJ-barbossa,)
      14:13:17,599 ERROR [com.evolveum.midpoint.web.controller.account.UserDetailsController] http-8080-6 - Unknown error occured during save operation, reason: Object oid must not be null or empty..
      14:13:17,599 TRACE [com.evolveum.midpoint.web.controller.account.UserDetailsController] http-8080-6 - Unknown error occured during save operation.
      java.lang.IllegalArgumentException: Object oid must not be null or empty.
              at org.apache.commons.lang.Validate.notEmpty(Validate.java:321)
              at com.evolveum.midpoint.web.model.impl.ObjectManagerImpl.delete_aroundBody6(ObjectManagerImpl.java:122)
              at com.evolveum.midpoint.web.model.impl.ObjectManagerImpl$AjcClosure7.run(ObjectManagerImpl.java:1)
              at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
              at com.evolveum.midpoint.aspect.NdcAspect.markSubsystem(NdcAspect.java:70)
              at com.evolveum.midpoint.aspect.NdcAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_aspect_NdcAspect$com_evolveum_midpoint_aspect_NdcAspect$markSubsystem(NdcAspect.java:1)
              at com.evolveum.midpoint.aspect.NdcAspect.processWebNdc(NdcAspect.java:63)
              at com.evolveum.midpoint.web.model.impl.ObjectManagerImpl.delete(ObjectManagerImpl.java:121)
              at com.evolveum.midpoint.web.controller.account.UserDetailsController.savePerformed_aroundBody26(UserDetailsController.java:243)
              at com.evolveum.midpoint.web.controller.account.UserDetailsController$AjcClosure27.run(UserDetailsController.java:1)
              at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
              at com.evolveum.midpoint.aspect.NdcAspect.markSubsystem(NdcAspect.java:70)
              at com.evolveum.midpoint.aspect.NdcAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_aspect_NdcAspect$com_evolveum_midpoint_aspect_NdcAspect$markSubsystem(NdcAspect.java:1)
              at com.evolveum.midpoint.aspect.NdcAspect.processWebNdc(NdcAspect.java:63)
              at com.evolveum.midpoint.web.controller.account.UserDetailsController.savePerformed(UserDetailsController.java:211)
              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.el.parser.AstValue.invoke(AstValue.java:234)
              at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
              at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
              at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)
              at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
              at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:769)
              at javax.faces.component.UICommand.broadcast(UICommand.java:300)
              at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
              at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
              at com.evolveum.midpoint.web.security.MidPointMaintenanceFilter.doFilter_aroundBody8(MidPointMaintenanceFilter.java:100)
              at com.evolveum.midpoint.web.security.MidPointMaintenanceFilter$AjcClosure9.run(MidPointMaintenanceFilter.java:1)
              at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
              at com.evolveum.midpoint.aspect.NdcAspect.markSubsystem(NdcAspect.java:70)
              at com.evolveum.midpoint.aspect.NdcAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_aspect_NdcAspect$com_evolveum_midpoint_aspect_NdcAspect$markSubsystem(NdcAspect.java:1)
              at com.evolveum.midpoint.aspect.NdcAspect.processWebNdc(NdcAspect.java:63)
              at com.evolveum.midpoint.web.security.MidPointMaintenanceFilter.doFilter(MidPointMaintenanceFilter.java:72)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
              at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:60)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:109)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
              at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
              at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
              at java.lang.Thread.run(Thread.java:662)
      14:13:17,607 DEBUG [com.evolveum.midpoint.web.model.impl.ObjectManagerImpl] http-8080-6 - Listing 'http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd#UserType' objects.
      14:13:17,607 DEBUG [com.evolveum.midpoint.model.controller.ModelControllerImpl] http-8080-6 - Listing objects of type class com.evolveum.midpoint.xml.ns._public.common.common_1.UserType from 0 to 10 ordered DESCENDING by com.evolveum.midpoint.xml.ns._public.common.common_1.PropertyReferenceType@127e404.
      14:13:17,607 DEBUG [com.evolveum.midpoint.model.controller.ModelControllerImpl] http-8080-6 - Listing objects from repository.
      14:13:17,722 DEBUG [com.evolveum.midpoint.model.controller.ModelControllerImpl] http-8080-6 - *op* List Objects, st: SUCCESS, msg: null
          *op* com.evolveum.midpoint.repo.xml.XmlRepositoryService.listObjects, st: SUCCESS, msg: null
                  [p]objectType=class com.evolveum.midpoint.xml.ns._public.common.common_1.UserType
                  [p]paging=com.evolveum.midpoint.xml.ns._public.common.common_1.PagingType@137146d
      
      14:13:17,722 DEBUG [com.evolveum.midpoint.web.model.impl.ObjectManagerImpl] http-8080-6 - *op* List Objects, st: SUCCESS, msg: null
          *op* List Objects, st: SUCCESS, msg: null
              *op* com.evolveum.midpoint.repo.xml.XmlRepositoryService.listObjects, st: SUCCESS, msg: null
                      [p]objectType=class com.evolveum.midpoint.xml.ns._public.common.common_1.UserType
                      [p]paging=com.evolveum.midpoint.xml.ns._public.common.common_1.PagingType@137146d
      
      

        Attachments

          Activity

            People

            Assignee:
            mamut Peter Prochazka
            Reporter:
            mamut Peter Prochazka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: