Uploaded image for project: 'UY'
  1. UY
  2. UY-756

RDBMS caches are not properly flushed in all cases

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: v2.6.2
    • Labels:
    • Story Points:
      3

      Description

      Can trigger number of bugs: after removing a group or when entity with attribute is removed from group and then re-added.

       

      Caused by: java.lang.IllegalArgumentException: group [/perm] does not exist
      at pl.edu.icm.unity.store.rdbms.GenericNamedRDBMSCRUD.get(GenericNamedRDBMSCRUD.java:97) ~[classes/:?]
      at pl.edu.icm.unity.store.rdbms.cache.NamedCachingCRUD.get(NamedCachingCRUD.java:73) ~[classes/:?]
      at pl.edu.icm.unity.engine.attribute.AttributeStatementProcessor.getGroupStatements(AttributeStatementProcessor.java:134) ~[classes/:?]
      at pl.edu.icm.unity.engine.attribute.AttributeStatementProcessor.collectUpOrDownAttributes(AttributeStatementProcessor.java:166) ~[classes/:?]
      at pl.edu.icm.unity.engine.attribute.AttributeStatementProcessor.getEffectiveAttributes(AttributeStatementProcessor.java:110) ~[classes/:?]
      at pl.edu.icm.unity.engine.attribute.AttributesHelper.getAllAttributesAsMap(AttributesHelper.java:125) ~[classes/:?]
      at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.getAllAttributes(AuthorizationManagerImpl.java:330) ~[classes/:?]
      at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.establishRoles(AuthorizationManagerImpl.java:286) ~[classes/:?]
      at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.getCapabilities(AuthorizationManagerImpl.java:227) ~[classes/:?]
      at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.checkAuthorizationInternal(AuthorizationManagerImpl.java:259) ~[classes/:?]
      at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.checkAuthorization(AuthorizationManagerImpl.java:185) ~[classes/:?]
      at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source) ~[?:?]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
      at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at pl.edu.icm.unity.store.rdbms.tx.SQLTransactionEngine.runInTransaction(SQLTransactionEngine.java:45) ~[classes/:?]
      at pl.edu.icm.unity.store.tx.TransactionalAspect.retryIfNeeded4Method(TransactionalAspect.java:75) ~[classes/:?]
      at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) ~[?:?]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
      at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
      at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at com.sun.proxy.$Proxy98.checkAuthorization(Unknown Source) ~[?:?]
      at pl.edu.icm.unity.engine.group.GroupsManagementImpl.getContents(GroupsManagementImpl.java:182) ~[classes/:?]
      at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source) ~[?:?]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
      at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at pl.edu.icm.unity.store.rdbms.tx.SQLTransactionEngine.runInTransaction(SQLTransactionEngine.java:45) ~[classes/:?]
      at pl.edu.icm.unity.store.tx.TransactionalAspect.retryIfNeeded4Method(TransactionalAspect.java:75) ~[classes/:?]
      at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) ~[?:?]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
      at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
      at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:47) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at com.sun.proxy.$Proxy101.getContents(Unknown Source) ~[?:?]
      at pl.edu.icm.unity.webadmin.groupbrowser.GroupsTree.setupRoot(GroupsTree.java:235) ~[classes/:?]
      at pl.edu.icm.unity.webadmin.groupbrowser.GroupsTree.<init>(GroupsTree.java:195) ~[classes/:?]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_65]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_65]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_65]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_65]
      at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:170) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:117) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1274) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:764) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:131) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1274) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:764) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:131) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1274) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:764) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:131) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1274) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1119) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089) ~[spring-context-5.0.6.RELEASE.jar:5.0.6.RELEASE]
      at pl.edu.icm.unity.webui.VaadinUIProvider.createInstance(VaadinUIProvider.java:90) ~[classes/:?]
      at com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI(UIInitHandler.java:193) ~[vaadin-server-8.4.1.jar:8.4.1]
      at com.vaadin.server.communication.UIInitHandler.synchronizedHandleRequest(UIInitHandler.java:76) ~[vaadin-server-8.4.1.jar:8.4.1]
      at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:40) ~[vaadin-server-8.4.1.jar:8.4.1]
      at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1601) ~[vaadin-server-8.4.1.jar:8.4.1]
      at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:445) ~[vaadin-server-8.4.1.jar:8.4.1]
      ... 67 more
      
      
      
      
      (...)
      
      
      
      
      2018-08-17T22:10:31,554 [qtp1823752147-2638] DEBUG unity.server.oauth.ASConsentDeciderServlet: Request to Vaadin internal address will be forwarded to authN /XXXX-authz/XXXX-consentdecider/UIDL/ 
      2018-08-17T22:10:31,628 [qtp1823752147-2618] ERROR unity.server.oauth.OAuthIdPEngine: Engine problem when handling client request 
      java.lang.IllegalArgumentException: group [/perm] does not exist 
             at pl.edu.icm.unity.store.rdbms.GenericNamedRDBMSCRUD.get(GenericNamedRDBMSCRUD.java:97) ~[unity-server-storage-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.store.rdbms.cache.NamedCachingCRUD.get(NamedCachingCRUD.java:73) ~[unity-server-storage-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.attribute.AttributeStatementProcessor.getGroupStatements(AttributeStatementProcessor.java:134) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.attribute.AttributeStatementProcessor.collectUpOrDownAttributes(AttributeStatementProcessor.java:166) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.attribute.AttributeStatementProcessor.getEffectiveAttributes(AttributeStatementProcessor.java:110) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.attribute.AttributesHelper.getAllAttributesAsMap(AttributesHelper.java:125) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.getAllAttributes(AuthorizationManagerImpl.java:330) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.establishRoles(AuthorizationManagerImpl.java:286) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.getCapabilities(AuthorizationManagerImpl.java:227) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.checkAuthorizationInternal(AuthorizationManagerImpl.java:259) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.checkAuthorization(AuthorizationManagerImpl.java:192) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source) ~[?:?] 
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] 
             at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] 
             at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE] 
             at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE] 
             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE] 
             at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE] 
             at pl.edu.icm.unity.store.rdbms.tx.SQLTransactionEngine.runInTransaction(SQLTransactionEngine.java:45) ~[unity-server-storage-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.store.tx.TransactionalAspect.retryIfNeeded4Method(TransactionalAspect.java:75) ~[unity-server-storage-2.6.2-rc2.jar:?] 
             at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source) ~[?:?] 
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
      
      
      
      
      (...)
      
      
      
      
      
      2018-08-17T22:10:24,870 [qtp1823752147-2637] DEBUG unity.server.rest.RESTAdmin: getAttributes query for 6a20f3f3-c1ee-4885-b6a5-7f2b06f0f755 in /XXXXX
      2018-08-17T22:10:24,905 [qtp1823752147-2637] DEBUG unity.server.rest.IllegalArgumentExceptionMapper: IllegalArgumentException exception during RESTful API invocation 
      java.lang.IllegalArgumentException: group [/perm] does not exist 
             at pl.edu.icm.unity.store.rdbms.GenericNamedRDBMSCRUD.get(GenericNamedRDBMSCRUD.java:97) ~[unity-server-storage-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.store.rdbms.cache.NamedCachingCRUD.get(NamedCachingCRUD.java:73) ~[unity-server-storage-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.attribute.AttributeStatementProcessor.getGroupStatements(AttributeStatementProcessor.java:134) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.attribute.AttributeStatementProcessor.collectUpOrDownAttributes(AttributeStatementProcessor.java:166) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.attribute.AttributeStatementProcessor.getEffectiveAttributes(AttributeStatementProcessor.java:110) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.attribute.AttributesHelper.getAllAttributesAsMap(AttributesHelper.java:125) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.getAllAttributes(AuthorizationManagerImpl.java:330) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.establishRoles(AuthorizationManagerImpl.java:286) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.getCapabilities(AuthorizationManagerImpl.java:227) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.checkAuthorizationInternal(AuthorizationManagerImpl.java:259) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at pl.edu.icm.unity.engine.authz.AuthorizationManagerImpl.checkAuthorization(AuthorizationManagerImpl.java:192) ~[unity-server-engine-2.6.2-rc2.jar:?] 
             at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source) ~[?:?] 
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] 
             at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] 
             at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE] 
             at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE] 
             at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE] 
             at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) ~[spring-aop-5.0.6.RELEASE.jar:5.0.6.RELEASE] 
             at pl.edu.icm.unity.store.rdbms.tx.SQLTransactionEngine.runInTransaction(SQLTransactionEngine.java:45) ~[unity-server-storage-2.6.2-rc2.jar:?]
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                golbi Krzysztof Benedyczak
                Reporter:
                krycha Roman Krysinski
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: