grails.web.mapping.exceptions.UrlMappingException: Unable to establish controller name to dispatch for [org.grails.web.m apping.RegexUrlMapping$1@32648142]. Dynamic closure invocation returned null. Check your mapping file is correct, when a ssigning the controller name as a request parameter it cannot be an optional token!

GitHub | runwolf | 4 months ago
  1. 0

    Controller forward does not seem to work with grails 3.1.X and spring-security-core:3.1.1

    GitHub | 4 months ago | runwolf
    grails.web.mapping.exceptions.UrlMappingException: Unable to establish controller name to dispatch for [org.grails.web.m apping.RegexUrlMapping$1@32648142]. Dynamic closure invocation returned null. Check your mapping file is correct, when a ssigning the controller name as a request parameter it cannot be an optional token!
  2. 0

    Grails 3: redirect doesn't work in UrlMappings.groovy

    GitHub | 1 year ago | SmirnoffYM
    grails.web.mapping.exceptions.UrlMappingException: Unable to establish controller name to dispatch for [null]. Dynamic closure invocation returned null. Check your mapping file is correct, when assigning the controller name as a request parameter it cannot be an optional token!
  3. 0

    Error in Urlmappings.groovy with static resources

    GitHub | 7 months ago | rbatllet
    grails.web.mapping.exceptions.UrlMappingException: Unable to establish controller name to dispatch for [null]. Dynamic closure invocation returned null. Check your mapping file is correct, when assigning the controller name as a request parameter it cannot be an optional token!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error in Urlmappings.groovy with static resources

    GitHub | 7 months ago | rbatllet
    grails.web.mapping.exceptions.UrlMappingException: Unable to establish controller name to dispatch for [null]. Dynamic closure invocation returned null. Check your mapping file is correct, when assigning the controller name as a request parameter it cannot be an optional token!
  6. 0

    Rendering static file as URI in Grails 3

    Stack Overflow | 5 months ago | Shashank Agrawal
    grails.web.mapping.exceptions.UrlMappingException: Unable to establish controller name to dispatch for [null]. Dynamic closure invocation returned null. Check your mapping file is correct, when assigning the controller name as a request parameter it cannot be an optional token!

    Root Cause Analysis

    1. grails.web.mapping.exceptions.UrlMappingException

      Unable to establish controller name to dispatch for [org.grails.web.m apping.RegexUrlMapping$1@32648142]. Dynamic closure invocation returned null. Check your mapping file is correct, when a ssigning the controller name as a request parameter it cannot be an optional token!

      at grails.artefact.Interceptor$Trait$Helper.doesMatch()
    2. Grails
      Interceptor$Trait$Helper.doesMatch
      1. grails.artefact.Interceptor$Trait$Helper.doesMatch(Interceptor.groovy:97)
      2. grails.artefact.Interceptor$Trait$Helper.doesMatch(Interceptor.groovy:69)
      2 frames
    3. grails.plugin.springsecurity
      DebugFilter.doFilter
      1. grails.plugin.springsecurity.web.UpdateRequestContextHolderExceptionTranslationFilter.doFilter(UpdateRequestContextHolderExceptionTranslationFilter.groovy:64)
      2. grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.groovy:53)
      3. grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62)
      4. grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.groovy:58)
      5. grails.plugin.springsecurity.web.filter.DebugFilter.doFilter(DebugFilter.groovy:72)
      5 frames
    4. grails.plugin.cache
      AbstractFilter.doFilter
      1. grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:193)
      2. grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
      2 frames
    5. grails.artefact.controller
      RequestForwarder$Trait$Helper.forward
      1. grails.artefact.controller.support.RequestForwarder$Trait$Helper.forward(RequestForwarder.groovy:111)
      1 frame
    6. com.la
      PublicEventController$$EPsqmRW5.index
      1. com.la.PublicEventController$$EPsqmRW5.index(PublicEventController.groovy:39)
      1 frame
    7. grails.plugin.springsecurity
      SecurityRequestHolderFilter.doFilter
      1. grails.plugin.springsecurity.web.UpdateRequestContextHolderExceptionTranslationFilter.doFilter(UpdateRequestContextHolderExceptionTranslationFilter.groovy:64)
      2. grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.groovy:53)
      3. grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62)
      4. grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.groovy:58)
      5. grails.plugin.springsecurity.web.filter.DebugFilter.invokeWithWrappedRequest(DebugFilter.groovy:102)
      6. grails.plugin.springsecurity.web.filter.DebugFilter.doFilter(DebugFilter.groovy:69)
      7. grails.plugin.springsecurity.web.UpdateRequestContextHolderExceptionTranslationFilter.doFilter(UpdateRequestContextHolderExceptionTranslationFilter.groovy:64)
      8. grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.groovy:53)
      9. grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62)
      10. grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.groovy:58)
      10 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames