Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expired JWT token causes nested exception #1539

Open
temi opened this issue Jul 18, 2023 · 0 comments
Open

Expired JWT token causes nested exception #1539

temi opened this issue Jul 18, 2023 · 0 comments

Comments

@temi
Copy link
Contributor

temi commented Jul 18, 2023

In branch - feature/cognito

Caused by: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.grails.core.exceptions.GrailsRuntimeException: org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.StackOverflowError
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:102)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:102)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:102)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:711)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:385)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
        at org.grails.web.mapping.UrlMappingUtils.forwardRequestForUrlMappingInfo(UrlMappingUtils.java:243)
        at org.grails.web.errors.GrailsExceptionResolver.forwardRequest(GrailsExceptionResolver.java:215)
        at org.grails.web.errors.GrailsExceptionResolver.resolveViewOrForward(GrailsExceptionResolver.java:199)
        at org.grails.web.errors.GrailsExceptionResolver.resolveException(GrailsExceptionResolver.java:93)
        at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1327)
        at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1138)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1084)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:102)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:102)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:102)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:711)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:385)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
        at org.grails.web.mapping.UrlMappingUtils.forwardRequestForUrlMappingInfo(UrlMappingUtils.java:243)
        at org.grails.web.errors.GrailsExceptionResolver.forwardRequest(GrailsExceptionResolver.java:215)
        at org.grails.web.errors.GrailsExceptionResolver.resolveViewOrForward(GrailsExceptionResolver.java:199)
        at org.grails.web.errors.GrailsExceptionResolver.resolveException(GrailsExceptionResolver.java:93)
        at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1327)
        at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1138)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1084)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:102)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:102)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:102)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:711)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:385)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
        at org.grails.web.mapping.UrlMappingUtils.forwardRequestForUrlMappingInfo(UrlMappingUtils.java:243)

temi added a commit to AtlasOfLivingAustralia/ecodata-client-plugin that referenced this issue Jul 28, 2023
…lect#1532

- catches expired JWT token exception
- search species when offline now searches all species when first attempt returns no result
- isOffline is not overridden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant