org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o 1 - The regexp in Route with ID='11bdcbba1a6' is not valid: */blah/*

Sonatype JIRA | Kristine O'Connor | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Add a route with an invalid URL pattern => Enter in all required info and select Save => The page refreshes, and the route is not added => the following is from the log: 2008-08-19 13:50:28.902 WARN [btpool0-27:] - org.sonatype.nexus.rest.ApplicationBridge: Configuration error! org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o 1 - The regexp in Route with ID='11bdcbba1a6' is not valid: */blah/* at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRoutePattern(DefaultNexusConfiguration.java:1031) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createGroupsSettingPathMapping(DefaultNexusConfiguration.java:1054) at org.sonatype.nexus.DefaultNexus.createGroupsSettingPathMapping(DefaultNexus.java:595) at org.sonatype.nexus.rest.routes.RepositoryRouteListResourceHandler.post(RepositoryRouteListResourceHandler.java:180) at org.restlet.resource.Resource.handlePost(Resource.java:484) at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handlePost(AbstractNexusResourceHandler.java:405) at org.restlet.Finder.handle(Finder.java:297) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98) at org.restlet.Application.handle(Application.java:294) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120) at org.restlet.Component.handle(Component.java:231) at org.restlet.Server.handle(Server.java:282) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

    Sonatype JIRA | 9 years ago | Kristine O'Connor
    org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o 1 - The regexp in Route with ID='11bdcbba1a6' is not valid: */blah/*
  2. 0

    Add a route with an invalid URL pattern => Enter in all required info and select Save => The page refreshes, and the route is not added => the following is from the log: 2008-08-19 13:50:28.902 WARN [btpool0-27:] - org.sonatype.nexus.rest.ApplicationBridge: Configuration error! org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o 1 - The regexp in Route with ID='11bdcbba1a6' is not valid: */blah/* at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRoutePattern(DefaultNexusConfiguration.java:1031) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createGroupsSettingPathMapping(DefaultNexusConfiguration.java:1054) at org.sonatype.nexus.DefaultNexus.createGroupsSettingPathMapping(DefaultNexus.java:595) at org.sonatype.nexus.rest.routes.RepositoryRouteListResourceHandler.post(RepositoryRouteListResourceHandler.java:180) at org.restlet.resource.Resource.handlePost(Resource.java:484) at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handlePost(AbstractNexusResourceHandler.java:405) at org.restlet.Finder.handle(Finder.java:297) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98) at org.restlet.Application.handle(Application.java:294) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at org.restlet.Router.handle(Router.java:445) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:135) at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120) at org.restlet.Component.handle(Component.java:231) at org.restlet.Server.handle(Server.java:282) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

    Sonatype JIRA | 9 years ago | Kristine O'Connor
    org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o 1 - The regexp in Route with ID='11bdcbba1a6' is not valid: */blah/*

    Root Cause Analysis

    1. org.sonatype.nexus.configuration.validator.InvalidConfigurationException

      Configuration is invalid! Validation errors follows: o 1 - The regexp in Route with ID='11bdcbba1a6' is not valid: */blah/*

      at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRoutePattern()
    2. ${project.groupId}:${project.artifactId}
      DefaultNexus.createGroupsSettingPathMapping
      1. org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRoutePattern(DefaultNexusConfiguration.java:1031)
      2. org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createGroupsSettingPathMapping(DefaultNexusConfiguration.java:1054)
      3. org.sonatype.nexus.DefaultNexus.createGroupsSettingPathMapping(DefaultNexus.java:595)
      3 frames
    3. Nexus Core
      RepositoryRouteListResourceHandler.post
      1. org.sonatype.nexus.rest.routes.RepositoryRouteListResourceHandler.post(RepositoryRouteListResourceHandler.java:180)
      1 frame
    4. org.restlet.resource
      Resource.handlePost
      1. org.restlet.resource.Resource.handlePost(Resource.java:484)
      1 frame
    5. Nexus Core
      AbstractNexusResourceHandler.handlePost
      1. org.sonatype.nexus.rest.AbstractNexusResourceHandler.handlePost(AbstractNexusResourceHandler.java:405)
      1 frame
    6. org.restlet
      Router.handle
      1. org.restlet.Finder.handle(Finder.java:297)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      4. org.restlet.Router.handle(Router.java:445)
      5. org.restlet.Filter.doHandle(Filter.java:105)
      6. org.restlet.Filter.handle(Filter.java:135)
      7. org.restlet.Filter.doHandle(Filter.java:105)
      8. org.restlet.Filter.handle(Filter.java:135)
      9. org.restlet.Router.handle(Router.java:445)
      9 frames
    7. Nexus Core
      RetargetableRestlet.handle
      1. org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33)
      1 frame
    8. org.restlet
      Filter.doHandle
      1. org.restlet.Filter.doHandle(Filter.java:105)
      2. org.restlet.Filter.handle(Filter.java:135)
      3. org.restlet.Filter.doHandle(Filter.java:105)
      3 frames
    9. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89)
      1 frame
    10. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:135)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      3 frames
    11. com.noelios.restlet
      ApplicationHelper.handle
      1. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98)
      1 frame
    12. org.restlet
      Filter.handle
      1. org.restlet.Application.handle(Application.java:294)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      4. org.restlet.Router.handle(Router.java:445)
      5. org.restlet.Filter.doHandle(Filter.java:105)
      6. org.restlet.Filter.handle(Filter.java:135)
      7. org.restlet.Router.handle(Router.java:445)
      8. org.restlet.Filter.doHandle(Filter.java:105)
      9. org.restlet.Filter.handle(Filter.java:135)
      9 frames
    13. com.noelios.restlet
      ComponentHelper.handle
      1. com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120)
      1 frame
    14. org.restlet
      Server.handle
      1. org.restlet.Component.handle(Component.java:231)
      2. org.restlet.Server.handle(Server.java:282)
      2 frames
    15. com.noelios.restlet
      ServerServlet.service
      1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100)
      2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94)
      3. com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399)
      3 frames
    16. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    17. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
      2 frames
    18. org.jsecurity.web
      JSecurityFilter.doFilterInternal
      1. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
      2. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
      3. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
      4. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      5. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
      6. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
      7. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
      8. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      9. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
      10. org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
      10 frames
    19. Nexus Core
      NexusJSecurityFilter.doFilterInternal
      1. org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67)
      1 frame
    20. org.jsecurity.web
      OncePerRequestFilter.doFilter
      1. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      1 frame
    21. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    22. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
      1 frame