Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2017-12-20 20:14:53.137 ERROR --- [ main] o.s.boot.SpringApplication : Application startup failed
- org.springframework.security.acls.model.NotFoundException: Unable to find ACL information for object identity 'org.springframework.security.acls.domain.ObjectIdentityImpl[Type: com.testacl.Report; Identifier: 7]'
- at grails.plugin.springsecurity.acl.AclService.$tt__readAclsById(AclService.groovy:329)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1427)
- at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
- at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:925)
- at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:908)
- at org.codehaus.groovy.runtime.InvokerHelper.invokeMethodSafe(InvokerHelper.java:76)
- at grails.plugin.springsecurity.acl.AclService$_readAclsById_closure15.doCall(AclService.groovy)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1427)
- at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
- at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
- at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at groovy.lang.Closure.call(Closure.java:414)
- at groovy.lang.Closure.call(Closure.java:430)
- at grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:94)
- at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
- at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:91)
- at grails.plugin.springsecurity.acl.AclService.readAclsById(AclService.groovy)
- at grails.plugin.springsecurity.acl.AclService.$tt__readAclById(AclService.groovy:312)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1427)
- at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
- at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:925)
- at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:908)
- at org.codehaus.groovy.runtime.InvokerHelper.invokeMethodSafe(InvokerHelper.java:76)
- at grails.plugin.springsecurity.acl.AclService$_readAclById_closure13.doCall(AclService.groovy)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1427)
- at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
- at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
- at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at groovy.lang.Closure.call(Closure.java:414)
- at groovy.lang.Closure.call(Closure.java:430)
- at grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:94)
- at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
- at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:91)
- at grails.plugin.springsecurity.acl.AclService.readAclById(AclService.groovy)
- at grails.plugin.springsecurity.acl.AclService.$tt__readAclById(AclService.groovy:307)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1427)
- at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
- at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:925)
- at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:908)
- at org.codehaus.groovy.runtime.InvokerHelper.invokeMethodSafe(InvokerHelper.java:76)
- at grails.plugin.springsecurity.acl.AclService$_readAclById_closure12.doCall(AclService.groovy)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1427)
- at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
- at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
- at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at groovy.lang.Closure.call(Closure.java:414)
- at groovy.lang.Closure.call(Closure.java:430)
- at grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:94)
- at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
- at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:91)
- at grails.plugin.springsecurity.acl.AclService.readAclById(AclService.groovy)
- at grails.plugin.springsecurity.acl.AclService.$tt__createAcl(AclService.groovy:84)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1427)
- at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
- at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:925)
- at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:908)
- at org.codehaus.groovy.runtime.InvokerHelper.invokeMethodSafe(InvokerHelper.java:76)
- at grails.plugin.springsecurity.acl.AclService$_createAcl_closure1.doCall(AclService.groovy)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1427)
- at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
- at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
- at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at groovy.lang.Closure.call(Closure.java:414)
- at groovy.lang.Closure.call(Closure.java:430)
- at grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:94)
- at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
- at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:91)
- at grails.plugin.springsecurity.acl.AclService.createAcl(AclService.groovy)
- at org.springframework.security.acls.model.MutableAclService$createAcl.call(Unknown Source)
- at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
- at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
- at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
- at com.testacl.SampleDataService$_grantPermissions_closure3.doCall(SampleDataService.groovy:64)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1427)
- at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
- at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
- at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at groovy.lang.Closure.call(Closure.java:414)
- at com.testacl.SampleDataService$_grantPermissions_closure3.call(SampleDataService.groovy)
- at groovy.lang.Closure.call(Closure.java:430)
- at com.testacl.SampleDataService$_grantPermissions_closure3.call(SampleDataService.groovy)
- at org.codehaus.groovy.runtime.DefaultGroovyMethods.times(DefaultGroovyMethods.java:14474)
- at org.codehaus.groovy.runtime.dgm$643.invoke(Unknown Source)
- at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
- at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
- at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
- at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
- at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
- at com.testacl.SampleDataService.grantPermissions(SampleDataService.groovy:56)
- at com.testacl.SampleDataService.$tt__createSampleData(SampleDataService.groovy:25)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1427)
- at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
- at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:925)
- at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:908)
- at org.codehaus.groovy.runtime.InvokerHelper.invokeMethodSafe(InvokerHelper.java:76)
- at com.testacl.SampleDataService$_createSampleData_closure1.doCall(SampleDataService.groovy)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1427)
- at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
- at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
- at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at groovy.lang.Closure.call(Closure.java:414)
- at com.testacl.SampleDataService$_createSampleData_closure1.call(SampleDataService.groovy)
- at groovy.lang.Closure.call(Closure.java:430)
- at com.testacl.SampleDataService$_createSampleData_closure1.call(SampleDataService.groovy)
- at grails.gorm.transactions.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:94)
- at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
- at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:91)
- at com.testacl.SampleDataService.createSampleData(SampleDataService.groovy)
- at com.testacl.SampleDataService$createSampleData.call(Unknown Source)
- at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
- at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
- at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
- at acltest.BootStrap$_closure1.doCall(BootStrap.groovy:8)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1427)
- at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
- at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
- at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1087)
- at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
- at groovy.lang.Closure.call(Closure.java:414)
- at groovy.lang.Closure.call(Closure.java:408)
- at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:541)
- at grails.util.Environment.executeForEnvironment(Environment.java:534)
- at grails.util.Environment.executeForCurrentEnvironment(Environment.java:510)
- at org.grails.web.servlet.boostrap.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:74)
- at org.grails.web.servlet.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:65)
- at org.grails.plugins.web.servlet.context.BootStrapClassRunner.onStartup(BootStrapClassRunner.groovy:53)
- at grails.boot.config.GrailsApplicationPostProcessor.onApplicationEvent(GrailsApplicationPostProcessor.groovy:261)
- at grails.boot.config.GrailsApplicationPostProcessor.onApplicationEvent(GrailsApplicationPostProcessor.groovy)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
- at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
- at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
- at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
- at grails.boot.GrailsApp.run(GrailsApp.groovy:83)
- at grails.boot.GrailsApp.run(GrailsApp.groovy:387)
- at grails.boot.GrailsApp.run(GrailsApp.groovy:374)
- at grails.boot.GrailsApp$run.call(Unknown Source)
- at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
- at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
- at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
- at acltest.Application.main(Application.groovy:8)
- FAILURE: Build failed with an exception.
- def reports = []
- 100.times {
- long id = it + 1
- def report = new Report(name: "report$id").save()
- reports << report
- aclService.createAcl(objectIdentityRetrievalStrategy.getObjectIdentity(report))
- }
- dependencies {
- ...
- runtime 'org.postgresql:postgresql:42.1.4'
- }
- hibernate:
- cache:
- queries: false
- use_second_level_cache: false
- use_query_cache: false
- dataSource:
- pooled: true
- jmxExport: true
- driverClassName: org.postgresql.Driver
- username: acltest
- password: xxxxxxx
- environments:
- development:
- dataSource:
- dbCreate: create-drop
- url: jdbc:postgresql://localhost/acltest_dev
Add Comment
Please, Sign In to add comment