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

NPE in FilteredIterable during livesync

    Details

      Description

      service_name="openidm" event_source="org.forgerock.openidm.servlet.internal.ServletConnectionFactory$3 filterGenericError" event_logger="org.forgerock.openidm.servlet.internal.ServletConnectionFactory" event_status="WARNING" event_description="Resource exception: 500 Internal Server Error: "Internal Server Error"" event_thrown=" 
      org.forgerock.json.resource.InternalServerErrorException: Internal Server Error 
      at org.forgerock.json.resource.ResourceException.getException(ResourceException.java:221) 
      at org.forgerock.openidm.util.ResourceUtil.adapt(ResourceUtil.java:195) 
      at org.forgerock.openidm.sync.impl.SynchronizationService.actionInstance(SynchronizationService.java:417) 
      at org.forgerock.json.resource.Resources$SingletonHandler.handleAction(Resources.java:513) 
      at org.forgerock.json.resource.Router.handleAction(Router.java:208) 
      at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:57) 
      at org.forgerock.json.resource.Filters$ConditionalFilter.filterAction(Filters.java:52) 
      at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:55) 
      at org.forgerock.json.resource.Filters$CrossCutFilterAdapter$1.handleContinue(Filters.java:148) 
      at org.forgerock.openidm.core.filter.ScriptedFilter.filterActionRequest(ScriptedFilter.java:119) 
      at org.forgerock.json.resource.Filters$CrossCutFilterAdapter.filterAction(Filters.java:145) 
      at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:55) 
      at org.forgerock.json.resource.Filters$CrossCutFilterAdapter$1.handleContinue(Filters.java:148) 
      at org.forgerock.json.resource.Filters$UntypedCrossCutFilterAdapter$1.handleContinue(Filters.java:380) 
      at org.forgerock.openidm.servlet.internal.ServletConnectionFactory$3.filterGenericRequest(ServletConnectionFactory.java:502) 
      at org.forgerock.json.resource.Filters$UntypedCrossCutFilterAdapter.filterActionRequest(Filters.java:324) 
      at org.forgerock.json.resource.Filters$CrossCutFilterAdapter.filterAction(Filters.java:145) 
      at org.forgerock.json.resource.FilterChain$Cursor.handleAction(FilterChain.java:55) 
      at org.forgerock.json.resource.FilterChain.handleAction(FilterChain.java:205) 
      at org.forgerock.json.resource.Resources$InternalConnection.actionAsync(Resources.java:394) 
      at org.forgerock.json.resource.AbstractAsynchronousConnection.action(AbstractAsynchronousConnection.java:37) 
      at org.forgerock.json.resource.AbstractConnectionWrapper.action(AbstractConnectionWrapper.java:65) 
      at org.forgerock.openidm.servlet.internal.ServletConnectionFactory$1$1.action(ServletConnectionFactory.java:256) 
      at org.forgerock.json.resource.AbstractConnectionWrapper.action(AbstractConnectionWrapper.java:65) 
      at org.forgerock.openidm.provisioner.openicf.impl.OpenICFProvisionerService$4.handle(OpenICFProvisionerService.java:2237) 
      at org.identityconnectors.framework.impl.api.StreamHandlerUtil$ObjectStreamHandlerAdapter.handle(StreamHandlerUtil.java:88) 
      at org.identityconnectors.framework.impl.api.BufferedResultsProxy.invoke(BufferedResultsProxy.java:253) 
      at org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy.invoke(DelegatingTimeoutProxy.java:93) 
      at com.sun.proxy.$Proxy24.sync(Unknown Source) 
      at org.forgerock.openidm.provisioner.openicf.impl.OpenICFProvisionerService.liveSynchronize(OpenICFProvisionerService.java:2177) 
      at org.forgerock.openidm.provisioner.impl.SystemObjectSetService.liveSync(SystemObjectSetService.java:463) 
      at org.forgerock.openidm.provisioner.impl.SystemObjectSetService.execute(SystemObjectSetService.java:434) 
      at org.forgerock.openidm.quartz.impl.SchedulerServiceJob.execute(SchedulerServiceJob.java:117) 
      at org.quartz.core.JobRunShell.run(JobRunShell.java:223) 
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) 
      Caused by: java.lang.NullPointerException 
      at org.forgerock.util.Iterables$FilteredIterable$1.<init>(Iterables.java:68) 
      at org.forgerock.util.Iterables$FilteredIterable.iterator(Iterables.java:67) 
      at org.forgerock.openidm.sync.impl.SynchronizationService.syncAllMappings(SynchronizationService.java:257) 
      at org.forgerock.openidm.sync.impl.SynchronizationService.notifyUpdate(SynchronizationService.java:307) 
      at org.forgerock.openidm.sync.impl.SynchronizationService.actionInstance(SynchronizationService.java:383) 
      ... 32 more 
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andi Andi Egloff
                Reporter:
                patrickdiligent patrick diligent
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: