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

Reconciliation for sample1 with default installation results in JSON resource exception

    XMLWordPrintable

    Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • OpenIDM 2.0.0
    • OpenIDM 2.0.1
    • _Samples

      Description

      When I try to reconcile with the default example just after installation (e.g. `curl --header "X-OpenIDM-Username: admin" --header "X-OpenIDM-Password: admin" --request POST "http://localhost:8080/openidm/sync?_action=recon&mapping=systemXmlfileAccounts_managedUser"`) I get a JSON resource exception:

      -> JSON resource exception
      /filters/0 onRequest script encountered exception
      -> org.forgerock.openidm.router.JsonResourceRouterService$Filter.onRequest(JsonResourceRouterService.java:349)
      -> org.forgerock.openidm.router.JsonResourceRouterService$Filter.filter(JsonResourceRouterService.java:419)
      -> org.forgerock.json.resource.JsonResourceFilterChain$1.handle(JsonResourceFilterChain.java:59)
      -> org.forgerock.json.resource.JsonResourceFilterChain.handle(JsonResourceFilterChain.java:53)
      -> org.forgerock.openidm.router.JsonResourceRouterService.handle(JsonResourceRouterService.java:205)
      -> org.forgerock.json.resource.JsonResourceAccessor.action(JsonResourceAccessor.java:178)
      -> org.forgerock.json.resource.restlet.JsonServerResource.post(JsonServerResource.java:360)
      -> org.restlet.resource.ServerResource.doHandle(ServerResource.java:380)
      -> org.forgerock.restlet.ExtendedServerResource.doHandle(ExtendedServerResource.java:56)
      -> org.forgerock.json.resource.restlet.JsonServerResource.doHandle(JsonServerResource.java:248)
      -> org.restlet.resource.ServerResource.handle(ServerResource.java:850)
      -> org.restlet.resource.Finder.handle(Finder.java:510)
      -> org.forgerock.json.resource.restlet.JsonResourceRestlet.handle(JsonResourceRestlet.java:63)
      -> org.restlet.routing.Filter.doHandle(Filter.java:156)
      -> org.restlet.routing.Filter.handle(Filter.java:203)
      -> org.restlet.routing.Router.doHandle(Router.java:497)
      -> org.restlet.routing.Router.handle(Router.java:737)
      -> org.restlet.routing.Filter.doHandle(Filter.java:156)
      -> org.restlet.routing.Filter.handle(Filter.java:203)
      -> org.restlet.routing.Filter.doHandle(Filter.java:156)
      -> org.restlet.routing.Filter.handle(Filter.java:203)
      -> org.restlet.routing.Filter.doHandle(Filter.java:156)
      -> org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
      -> org.restlet.routing.Filter.handle(Filter.java:203)
      -> org.restlet.routing.Filter.doHandle(Filter.java:156)
      -> org.restlet.routing.Filter.handle(Filter.java:203)
      -> org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
      -> org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
      -> org.restlet.Application.handle(Application.java:388)
      -> org.restlet.ext.servlet.ServletAdapter.service(ServletAdapter.java:203)
      -> org.forgerock.restlet.RestletRouterServlet.service(RestletRouterServlet.java:139)
      -> org.forgerock.openidm.restlet.Servlet.service(Servlet.java:178)
      -> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      -> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
      -> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
      -> org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
      -> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
      -> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:480)
      -> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
      -> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
      -> org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)
      -> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
      -> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
      -> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
      -> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
      -> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
      -> org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:66)
      -> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
      -> org.eclipse.jetty.server.Server.handle(Server.java:346)
      -> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
      -> org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
      -> org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
      -> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
      -> org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
      -> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
      -> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
      -> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
      -> java.lang.Thread.run(Thread.java:680)
      TypeError: Cannot read property "length" from null (org.forgerock.openidm.router.JsonResourceRouterService$Filter/filters/0/onRequest#15)
      -> org.forgerock.openidm.router.JsonResourceRouterService$Filter.onRequest(JsonResourceRouterService.java:349)
      -> org.forgerock.openidm.router.JsonResourceRouterService$Filter.filter(JsonResourceRouterService.java:419)
      -> org.forgerock.json.resource.JsonResourceFilterChain$1.handle(JsonResourceFilterChain.java:59)
      -> org.forgerock.json.resource.JsonResourceFilterChain.handle(JsonResourceFilterChain.java:53)
      -> org.forgerock.openidm.router.JsonResourceRouterService.handle(JsonResourceRouterService.java:205)
      -> org.forgerock.json.resource.JsonResourceAccessor.action(JsonResourceAccessor.java:178)
      -> org.forgerock.json.resource.restlet.JsonServerResource.post(JsonServerResource.java:360)
      -> org.restlet.resource.ServerResource.doHandle(ServerResource.java:380)
      -> org.forgerock.restlet.ExtendedServerResource.doHandle(ExtendedServerResource.java:56)
      -> org.forgerock.json.resource.restlet.JsonServerResource.doHandle(JsonServerResource.java:248)
      -> org.restlet.resource.ServerResource.handle(ServerResource.java:850)
      -> org.restlet.resource.Finder.handle(Finder.java:510)
      -> org.forgerock.json.resource.restlet.JsonResourceRestlet.handle(JsonResourceRestlet.java:63)
      -> org.restlet.routing.Filter.doHandle(Filter.java:156)
      -> org.restlet.routing.Filter.handle(Filter.java:203)
      -> org.restlet.routing.Router.doHandle(Router.java:497)
      -> org.restlet.routing.Router.handle(Router.java:737)
      -> org.restlet.routing.Filter.doHandle(Filter.java:156)
      -> org.restlet.routing.Filter.handle(Filter.java:203)
      -> org.restlet.routing.Filter.doHandle(Filter.java:156)
      -> org.restlet.routing.Filter.handle(Filter.java:203)
      -> org.restlet.routing.Filter.doHandle(Filter.java:156)
      -> org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
      -> org.restlet.routing.Filter.handle(Filter.java:203)
      -> org.restlet.routing.Filter.doHandle(Filter.java:156)
      -> org.restlet.routing.Filter.handle(Filter.java:203)
      -> org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
      -> org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
      -> org.restlet.Application.handle(Application.java:388)
      -> org.restlet.ext.servlet.ServletAdapter.service(ServletAdapter.java:203)
      -> org.forgerock.restlet.RestletRouterServlet.service(RestletRouterServlet.java:139)
      -> org.forgerock.openidm.restlet.Servlet.service(Servlet.java:178)
      -> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      -> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
      -> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
      -> org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
      -> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
      -> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:480)
      -> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
      -> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
      -> org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)
      -> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
      -> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
      -> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
      -> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
      -> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
      -> org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:66)
      -> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
      -> org.eclipse.jetty.server.Server.handle(Server.java:346)
      -> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
      -> org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
      -> org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
      -> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
      -> org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
      -> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
      -> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
      -> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
      -> java.lang.Thread.run(Thread.java:680)

        Attachments

          Activity

            People

            pbryan Paul C. Bryan [X] (Inactive)
            Mark Mark Craig
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: