java.lang.reflect.InvocationTargetException: null

GitHub | tjeerdnet | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. 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()
  2. com.github.rahulsom
    SwaggyDataService.$tt__apiDetails
    1. com.github.rahulsom.swaggydoc.SwaggyDataService.getModels(SwaggyDataService.groovy:390)[swaggydoc-grails3-0.26.0.jar:na]
    2. com.github.rahulsom.swaggydoc.SwaggyDataService.$tt__apiDetails(SwaggyDataService.groovy:151)[swaggydoc-grails3-0.26.0.jar:na]
    2 frames
  3. Grails
    GrailsTransactionTemplate.execute
    1. grails.transaction.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:96)[grails-core-3.0.11.jar:3.0.11]
    2. grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:93)[grails-core-3.0.11.jar:3.0.11]
    2 frames
  4. com.github.rahulsom
    ApiController.show
    1. com.github.rahulsom.swaggydoc.ApiController.show(ApiController.groovy:29)[swaggydoc-grails3-0.26.0.jar:na]
    1 frame
  5. grails.plugin.springsecurity
    SecurityRequestHolderFilter.doFilter
    1. grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.groovy:53)[spring-security-core-3.0.0.jar:na]
    2. grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:62)[spring-security-core-3.0.0.jar:na]
    3. grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.groovy:58)[spring-security-core-3.0.0.jar:na]
    3 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_71]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_71]
    3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_71]
    3 frames