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

Assigning organization does not work from GUI (NPE)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.1
    • Component/s: Repository
    • Labels:
      None

      Description

      1. edit user
      2. assign any org. unit
      3. save

      Exception:

      2013-11-26 09:56:10,907 [MODEL] [http-bio-8080-exec-7] TRACE (com.evolveum.midpoint.model.controller.ModelUtils): null.
      com.evolveum.midpoint.util.exception.SystemException: null
              at com.evolveum.midpoint.repo.sql.SqlBaseService.handleGeneralRuntimeException(SqlBaseService.java:288) ~[repo-sql-impl-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.modifyObjectAttempt(SqlRepositoryServiceImpl.java:1032) ~[repo-sql-impl-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.modifyObject_aroundBody12(SqlRepositoryServiceImpl.java:964) ~[repo-sql-impl-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl$AjcClosure13.run(SqlRepositoryServiceImpl.java:1) ~[repo-sql-impl-2.2.1-SNAPSHOT.jar:na]
              at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.6.12.jar:na]
              at com.evolveum.midpoint.util.aspect.MidpointAspect.wrapSubsystem(MidpointAspect.java:192) [util-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.util.aspect.MidpointAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_util_aspect_MidpointAspect$com_evolveum_midpoint_util_aspect_MidpointAspect$wrapSubsystem(MidpointAspect.java:1) [util-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.util.aspect.MidpointAspect.processRepositoryNdc(MidpointAspect.java:72) [util-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.modifyObject(SqlRepositoryServiceImpl.java:908) ~[repo-sql-impl-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.repo.cache.RepositoryCache.modifyObject_aroundBody10(RepositoryCache.java:237) ~[repo-cache-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.repo.cache.RepositoryCache$AjcClosure11.run(RepositoryCache.java:1) ~[repo-cache-2.2.1-SNAPSHOT.jar:na]
              at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.6.12.jar:na]
              at com.evolveum.midpoint.util.aspect.MidpointAspect.wrapSubsystem(MidpointAspect.java:192) [util-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.util.aspect.MidpointAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_util_aspect_MidpointAspect$com_evolveum_midpoint_util_aspect_MidpointAspect$wrapSubsystem(MidpointAspect.java:1) [util-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.util.aspect.MidpointAspect.processRepositoryNdc(MidpointAspect.java:72) [util-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.repo.cache.RepositoryCache.modifyObject(RepositoryCache.java:235) ~[repo-cache-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.lens.ChangeExecutor.executeModification(ChangeExecutor.java:701) ~[model-impl-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.lens.ChangeExecutor.executeDelta(ChangeExecutor.java:527) ~[model-impl-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.lens.ChangeExecutor.executeChanges(ChangeExecutor.java:153) ~[model-impl-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.lens.Clockwork.processSecondary(Clockwork.java:268) ~[model-impl-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.lens.Clockwork.click(Clockwork.java:183) ~[model-impl-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.lens.Clockwork.run(Clockwork.java:113) ~[model-impl-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.controller.ModelController.executeChanges_aroundBody2(ModelController.java:382) [model-impl-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.controller.ModelController$AjcClosure3.run(ModelController.java:1) [model-impl-2.2.1-SNAPSHOT.jar:na]
              at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) [aspectjrt-1.6.12.jar:na]
              at com.evolveum.midpoint.util.aspect.MidpointAspect.wrapSubsystem(MidpointAspect.java:192) [util-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.util.aspect.MidpointAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_util_aspect_MidpointAspect$com_evolveum_midpoint_util_aspect_MidpointAspect$wrapSubsystem(MidpointAspect.java:1) [util-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.util.aspect.MidpointAspect.processModelNdc(MidpointAspect.java:77) [util-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.model.controller.ModelController.executeChanges(ModelController.java:310) [model-impl-2.2.1-SNAPSHOT.jar:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]
      . . .
      Caused by: java.lang.NullPointerException: null
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.recomputeHierarchy(SqlRepositoryServiceImpl.java:1075) ~[repo-sql-impl-2.2.1-SNAPSHOT.jar:na]
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.modifyObjectAttempt(SqlRepositoryServiceImpl.java:1007) ~[repo-sql-impl-2.2.1-SNAPSHOT.jar:na]
              ... 107 common frames omitted
      2013-11-26 09:56:10,907 [] [http-bio-8080-exec-7] ERROR (com.evolveum.midpoint.web.page.admin.users.PageUser): Update user failed, reason: null
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: