Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-18140

AM Error "Trying to redefine version 0.0 for path" thrown on AM startup with forgeops

    XMLWordPrintable

    Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 7.1.0
    • None
    • rest
    • Rank:
      1|i05bim:
    • AM Sustaining Sprint 89
    • 2

      Description

      When AM starts up in the latest 7.1.0 forgeops build the following warning is thrown

      {"timestamp":"2021-07-15T07:53:18.352Z","level":"ERROR","thread":"http-nio-8080-exec-3","logger":"org.forgerock.api.CrestApiProducer","message":"Trying to redefine version 0.0 for path ","context":"default","exception":"org.forgerock.api.DuplicateDescriptionException: Trying to redefine version 0.0 for path 
      at org.forgerock.api.models.Paths$Builder.merge(Paths.java:155)
      at org.forgerock.api.CrestApiProducer.merge(CrestApiProducer.java:118)
      at org.forgerock.api.CrestApiProducer.merge(CrestApiProducer.java:38)
      at org.forgerock.services.routing.AbstractRouter.buildApi(AbstractRouter.java:361)
      at org.forgerock.services.routing.AbstractRouter.notifyDescriptorChange(AbstractRouter.java:334)
      at org.forgerock.services.
      

      This error is AM specific and there is no indication as to what causes it. The unknown nature of this warning is a high risk for our customers moving into production.

      To recreate this error:
      Start Forgeops and see error.

      Full stacktrace:

      {"timestamp":"2021-07-15T07:53:18.352Z","level":"ERROR","thread":"http-nio-8080-exec-3","logger":"org.forgerock.api.CrestApiProducer","message":"Trying to redefine version 0.0 for path ","context":"default","exception":"org.forgerock.api.DuplicateDescriptionException: Trying to redefine version 0.0 for path 
      at org.forgerock.api.models.Paths$Builder.merge(Paths.java:155)
      at org.forgerock.api.CrestApiProducer.merge(CrestApiProducer.java:118)
      at org.forgerock.api.CrestApiProducer.merge(CrestApiProducer.java:38)
      at org.forgerock.services.routing.AbstractRouter.buildApi(AbstractRouter.java:361)
      at org.forgerock.services.routing.AbstractRouter.notifyDescriptorChange(AbstractRouter.java:334)
      at org.forgerock.services.routing.AbstractRouter.api(AbstractRouter.java:282)
      at org.forgerock.openam.core.rest.sms.tree.SmsRouteTree.api(SmsRouteTree.java:457)
      at org.forgerock.openam.core.rest.sms.tree.SmsRouteTree.api(SmsRouteTree.java:103)
      at org.forgerock.services.routing.AbstractRouter.buildApi(AbstractRouter.java:353)
      at org.forgerock.services.routing.AbstractRouter.notifyDescriptorChange(AbstractRouter.java:334)
      at org.forgerock.services.routing.AbstractRouter.api(AbstractRouter.java:282)
      at org.forgerock.openam.core.rest.sms.tree.SmsRouteTree.api(SmsRouteTree.java:457)
      at org.forgerock.openam.core.rest.sms.tree.SmsRouteTree.api(SmsRouteTree.java:103)
      at org.forgerock.services.routing.AbstractRouter.buildApi(AbstractRouter.java:353)
      at org.forgerock.services.routing.AbstractRouter.notifyDescriptorChange(AbstractRouter.java:334)
      at org.forgerock.services.routing.AbstractRouter.api(AbstractRouter.java:282)
      at org.forgerock.openam.core.rest.sms.tree.SmsRouteTree.api(SmsRouteTree.java:457)
      at org.forgerock.openam.core.rest.sms.SmsRequestHandler.api(SmsRequestHandler.java:1074)
      at org.forgerock.openam.core.rest.sms.SmsRequestHandler.api(SmsRequestHandler.java:156)
      at org.forgerock.services.routing.AbstractRouter.buildApi(AbstractRouter.java:353)
      at org.forgerock.services.routing.AbstractRouter.notifyDescriptorChange(AbstractRouter.java:334)
      at org.forgerock.services.routing.AbstractRouter.api(AbstractRouter.java:282)
      at org.forgerock.json.resource.FilterChain.api(FilterChain.java:268)
      at org.forgerock.json.resource.FilterChain.api(FilterChain.java:29)
      at org.forgerock.services.routing.AbstractRouter.buildApi(AbstractRouter.java:353)
      at org.forgerock.services.routing.AbstractRouter.notifyDescriptorChange(AbstractRouter.java:334)
      at org.forgerock.services.routing.AbstractRouter.api(AbstractRouter.java:282)
      at org.forgerock.services.routing.AbstractRouter.buildApi(AbstractRouter.java:359)
      at org.forgerock.services.routing.AbstractRouter.notifyDescriptorChange(AbstractRouter.java:334)
      at org.forgerock.services.routing.AbstractRouter.api(AbstractRouter.java:282)
      at org.forgerock.json.resource.InternalConnection.api(InternalConnection.java:100)
      at org.forgerock.json.resource.InternalConnection.api(InternalConnection.java:18)
      at org.forgerock.json.resource.http.HttpAdapter.updateDescriptor(HttpAdapter.java:900)
      at org.forgerock.json.resource.http.HttpAdapter.api(HttpAdapter.java:889)
      at org.forgerock.json.resource.http.HttpAdapter.api(HttpAdapter.java:168)
      at org.forgerock.http.handler.Handlers$HandlerDescribableAsDescribableHandler.api(Handlers.java:152)
      at org.forgerock.http.handler.Handlers$HandlerDescribableAsDescribableHandler.api(Handlers.java:136)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:59)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:51)
      at org.forgerock.services.routing.AbstractRouter.buildApi(AbstractRouter.java:353)
      at org.forgerock.services.routing.AbstractRouter.notifyDescriptorChange(AbstractRouter.java:334)
      at org.forgerock.services.routing.AbstractRouter.api(AbstractRouter.java:282)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:59)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:51)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:59)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:51)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:59)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:51)
      at org.forgerock.openam.http.GuiceHandler.api(GuiceHandler.java:57)
      at org.forgerock.openam.http.GuiceHandler.api(GuiceHandler.java:33)
      at org.forgerock.openam.http.HttpRoute$6.api(HttpRoute.java:182)
      at org.forgerock.openam.http.HttpRoute$6.api(HttpRoute.java:179)
      at org.forgerock.services.routing.AbstractRouter.buildApi(AbstractRouter.java:353)
      at org.forgerock.services.routing.AbstractRouter.notifyDescriptorChange(AbstractRouter.java:334)
      at org.forgerock.services.routing.AbstractRouter.api(AbstractRouter.java:282)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:59)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:51)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:59)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:51)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:59)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:51)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:59)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:51)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:59)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:51)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:59)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:51)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:59)
      at org.forgerock.http.handler.Handlers$1.api(Handlers.java:51)
      at org.forgerock.http.servlet.HttpFrameworkServlet.init(HttpFrameworkServlet.java:164)
      at javax.servlet.GenericServlet.init(GenericServlet.java:158)
      at org.forgerock.openam.http.OpenAMHttpFrameworkServlet.completeInitialisation(OpenAMHttpFrameworkServlet.java:40)
      at org.forgerock.openam.http.OpenAMHttpFrameworkServlet.init(OpenAMHttpFrameworkServlet.java:34)
      at javax.servlet.GenericServlet.init(GenericServlet.java:158)
      at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1134)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:761)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1707)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.base/java.lang.Thread.run(Thread.java:834)
      "}
      

        Attachments

          Issue Links

            Activity

              People

              Unassigned Unassigned
              mark.nienaber@forgerock.com Mark Nienaber
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated: