java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.reflect.InvocationTargetException: null at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.groovy:53)[spring-security-core-3.0.0.jar:na] at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62)[spring-security-core-3.0.0.jar:na] at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.groovy:58)[spring-security-core-3.0.0.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_71] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_71] Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'net.test.command.UserCommand$__clinit__closure1@433c198' with class 'net.test.command.UserCommand$__clinit__closure1' to class 'java.util.Map' at com.github.rahulsom.swaggydoc.SwaggyDataService.getModels(SwaggyDataService.groovy:390)[swaggydoc-grails3-0.26.0.jar:na] at com.github.rahulsom.swaggydoc.SwaggyDataService.$tt__apiDetails(SwaggyDataService.groovy:151)[swaggydoc-grails3-0.26.0.jar:na] at grails.transaction.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:96)[grails-core-3.0.11.jar:3.0.11] at grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:93)[grails-core-3.0.11.jar:3.0.11] at com.github.rahulsom.swaggydoc.ApiController.show(ApiController.groovy:29)[swaggydoc-grails3-0.26.0.jar:na] ... 6 more
No Bugmate found.