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

Import Accounts throws NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2 (Tycho)
    • Fix Version/s: 3.3 (Lincoln)
    • Component/s: None
    • Labels:
      None

      Description

      Clicking on "Import Accounts" button in resource details page ends up with an exception:

      java.lang.IllegalArgumentException: Object class must not be null.
      at org.apache.commons.lang.Validate.notNull(Validate.java:192)
      at com.evolveum.midpoint.model.impl.controller.ModelController.importFromResource_aroundBody20(ModelController.java:1811)
      at com.evolveum.midpoint.model.impl.controller.ModelController$AjcClosure21.run(ModelController.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.util.aspect.MidpointAspect.wrapSubsystem(MidpointAspect.java:178)
      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)
      at com.evolveum.midpoint.util.aspect.MidpointAspect.processModelNdc(MidpointAspect.java:63)
      at com.evolveum.midpoint.model.impl.controller.ModelController.importFromResource(ModelController.java:1808)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:435)
      at com.sun.proxy.$Proxy136.importFromResource(Unknown Source)
      at com.evolveum.midpoint.web.page.admin.resources.PageResource.importFromResourcePerformed(PageResource.java:440)
      

        Attachments

          Activity

            People

            Assignee:
            semancik Radovan Semancik
            Reporter:
            semancik Radovan Semancik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: