GroovyRuntimeException: Ambiguous method overloading in OLALFilters
tonyerskine opened this issue · comments
I think this is happening when the view start time is null because I'm not rendering a view.
see pull request #3
Jan 15 12:31:01 ip-172-31-22-37 ERROR: servlet.GrailsDispatcherServlet HandlerInterceptor.afterCompletion threw exception Jan 15 12:31:01 ip-172-31-22-37 groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Long#minus. Jan 15 12:31:01 ip-172-31-22-37 Cannot: resolve which method to invoke for [null] due to overlapping prototypes between: Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: [class java.lang.Character] Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: [class java.lang.Number] Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at filters.OLALFilters$_closure1_closure2_closure5.doCall(OLALFilters.groovy:42) Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198) Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63) Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at com.odobo.grails.plugin.springsecurity.rest.RestTokenValidationFilter.processFilterChain(RestTokenValidationFilter.groovy:106) Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at com.odobo.grails.plugin.springsecurity.rest.RestTokenValidationFilter.doFilter(RestTokenValidationFilter.groovy:72) Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53) Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at com.odobo.grails.plugin.springsecurity.rest.RestAuthenticationFilter.doFilter(RestAuthenticationFilter.groovy:108) Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:82) Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at com.odobo.grails.plugin.springsecurity.rest.RestLogoutFilter.doFilter(RestLogoutFilter.groovy:63) Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82) Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622) Jan 15 12:31:01 ip-172-31-22-37 ip-172-31-22-37: at java.lang.Thread.run(Thread.java:748)