java.lang.reflect.UndeclaredThrowableException

GitHub | gsartori | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    [:]

    at grails.plugin.springsecurity.SpringSecurityService.reloadDBRoleHierarchy()
  2. grails.plugin.springsecurity
    SpringSecurityService$reloadDBRoleHierarchy.call
    1. grails.plugin.springsecurity.SpringSecurityService.reloadDBRoleHierarchy(SpringSecurityService.groovy:154)
    2. grails.plugin.springsecurity.SpringSecurityService$reloadDBRoleHierarchy.call(Unknown Source)
    2 frames
  3. test
    TestService.createRole
    1. test.TestService.createRole(TestService.groovy:21)
    1 frame
  4. Unknown
    BootStrap$_closure1.doCall
    1. BootStrap$_closure1$_closure3.doCall(BootStrap.groovy:11)
    2. BootStrap$_closure1.doCall(BootStrap.groovy:9)
    2 frames
  5. Grails
    Environment.executeForCurrentEnvironment
    1. grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:437)
    2. grails.util.Environment.executeForEnvironment(Environment.java:430)
    3. grails.util.Environment.executeForCurrentEnvironment(Environment.java:406)
    3 frames
  6. org.grails.web
    GrailsConfigUtils.executeGrailsBootstraps
    1. org.grails.web.servlet.boostrap.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:62)
    2. org.grails.web.servlet.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:65)
    2 frames
  7. org.grails.plugins
    BootStrapClassRunner.onStartup
    1. org.grails.plugins.web.servlet.context.BootStrapClassRunner.onStartup(BootStrapClassRunner.groovy:53)
    1 frame
  8. Grails
    GrailsApplicationPostProcessor.onApplicationEvent
    1. grails.boot.config.GrailsApplicationPostProcessor.onApplicationEvent(GrailsApplicationPostProcessor.groovy:238)
    2. grails.boot.config.GrailsApplicationPostProcessor.onApplicationEvent(GrailsApplicationPostProcessor.groovy)
    2 frames
  9. Spring Context
    AbstractApplicationContext.finishRefresh
    1. org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
    2. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
    3. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:381)
    4. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:335)
    5. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:855)
    5 frames
  10. Spring Boot
    EmbeddedWebApplicationContext.finishRefresh
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:140)
    1 frame
  11. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
    1 frame
  12. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
    3. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
    4 frames
  13. Grails
    GrailsApp$run.call
    1. grails.boot.GrailsApp.run(GrailsApp.groovy:55)
    2. grails.boot.GrailsApp.run(GrailsApp.groovy:374)
    3. grails.boot.GrailsApp.run(GrailsApp.groovy:363)
    4. grails.boot.GrailsApp$run.call(Unknown Source)
    4 frames
  14. test
    Application.main
    1. test.Application.main(Application.groovy:23)
    1 frame