java.lang.reflect.InvocationTargetException: null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

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)
at com.github.rahulsom.swaggydoc.SwaggyDataService.$tt__apiDetails(SwaggyDataService.groovy:151)
at grails.transaction.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:96)
at grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:93)
at com.github.rahulsom.swaggydoc.ApiController.show(ApiController.groovy:29)
at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.groovy:53)
at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62)
at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.groovy:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.