org.springframework.security.AccessDeniedException: Access denied to this data; nested exception is javax.jcr.AccessDeniedException: /pentaho/tenant0/etc/pho:hidden: not allowed to add or modify item

Pentaho BI Platform Tracking | Kurtis Walker | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Found in CI EE build 1499. During startup of biserver, there are several access denied exceptions thrown while creating sample data and importing the audit mart. org.springframework.security.AccessDeniedException: Access denied to this data; nested exception is javax.jcr.AccessDeniedException: /pentaho/tenant0/etc/pho:hidden: not allowed to add or modify item at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.pentahoConvertJcrAccessException(PentahoJcrTemplate.java:98) at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:70) at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115) at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileDao.updateFolder(JcrRepositoryFileDao.java:1151) at org.pentaho.platform.repository2.unified.DefaultUnifiedRepository.internalUpdateFolder(DefaultUnifiedRepository.java:473) at org.pentaho.platform.repository2.unified.DefaultUnifiedRepository.updateFolder(DefaultUnifiedRepository.java:572) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    Pentaho BI Platform Tracking | 4 years ago | Kurtis Walker
    org.springframework.security.AccessDeniedException: Access denied to this data; nested exception is javax.jcr.AccessDeniedException: /pentaho/tenant0/etc/pho:hidden: not allowed to add or modify item
  2. 0

    Found in CI EE build 1499. During startup of biserver, there are several access denied exceptions thrown while creating sample data and importing the audit mart. org.springframework.security.AccessDeniedException: Access denied to this data; nested exception is javax.jcr.AccessDeniedException: /pentaho/tenant0/etc/pho:hidden: not allowed to add or modify item at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.pentahoConvertJcrAccessException(PentahoJcrTemplate.java:98) at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:70) at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115) at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileDao.updateFolder(JcrRepositoryFileDao.java:1151) at org.pentaho.platform.repository2.unified.DefaultUnifiedRepository.internalUpdateFolder(DefaultUnifiedRepository.java:473) at org.pentaho.platform.repository2.unified.DefaultUnifiedRepository.updateFolder(DefaultUnifiedRepository.java:572) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    Pentaho BI Platform Tracking | 4 years ago | Kurtis Walker
    org.springframework.security.AccessDeniedException: Access denied to this data; nested exception is javax.jcr.AccessDeniedException: /pentaho/tenant0/etc/pho:hidden: not allowed to add or modify item

    Root Cause Analysis

    1. org.springframework.security.AccessDeniedException

      Access denied to this data; nested exception is javax.jcr.AccessDeniedException: /pentaho/tenant0/etc/pho:hidden: not allowed to add or modify item

      at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.pentahoConvertJcrAccessException()
    2. org.pentaho.platform
      PentahoJcrTemplate.execute
      1. org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.pentahoConvertJcrAccessException(PentahoJcrTemplate.java:98)
      2. org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:70)
      2 frames
    3. org.springframework.extensions
      JcrTemplate.execute
      1. org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115)
      1 frame
    4. org.pentaho.platform
      DefaultUnifiedRepository.updateFolder
      1. org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileDao.updateFolder(JcrRepositoryFileDao.java:1151)
      2. org.pentaho.platform.repository2.unified.DefaultUnifiedRepository.internalUpdateFolder(DefaultUnifiedRepository.java:473)
      3. org.pentaho.platform.repository2.unified.DefaultUnifiedRepository.updateFolder(DefaultUnifiedRepository.java:572)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    7. org.springframework.security
      MethodSecurityInterceptor.invoke
      1. org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66)
      1 frame
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    9. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    10. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame