java.lang.Exception: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryAccessDeniedException: access denied while creating file with name "Country Performance (heat grid).pdf" Reference number: cd0d8f60-4ee5-4bae-8366-13fdfe136e76

Pentaho BI Platform Tracking | Rob Fellows | 2 years ago
  1. 0

    Usability issue: Tiffany (Report Author role) can schedule reports from the browse perspective but they always fail to run since she doesn't have "Create Content" permission by default. Repro path: 1. Log in as tiffany 2. From the Browse Perspective, schedule an analyzer report to run every 15 minutes. 3. When it runs, note the server console logs an error that there are insufficient permissions (access denied) {code} 1:38:06,684 ERROR [ActionAdapterQuartzJob] ActionAdapterQuartzJob.ERROR_0004 - Action "com.pentaho.analyzer.content.controller.AnalyzerAction" failed to run as a quartz job java.lang.Exception: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryAccessDeniedException: access denied while creating file with name "Country Performance (heat grid).pdf" Reference number: cd0d8f60-4ee5-4bae-8366-13fdfe136e76 at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:290) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.execute(ActionAdapterQuartzJob.java:140) at org.pentaho.platform.scheduler2.quartz.BlockingQuartzJob.execute(BlockingQuartzJob.java:39) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546) Caused by: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryAccessDeniedException: access denied while creating file with name "Country Performance (heat grid).pdf" Reference number: cd0d8f60-4ee5-4bae-8366-13fdfe136e76 at org.pentaho.platform.repository2.unified.exception.AccessDeniedExceptionConverter.convertException(AccessDeniedExceptionConverter.java:31) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:506) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.createFile(ExceptionLoggingDecorator.java:92) at org.pentaho.platform.repository2.unified.fileio.RepositoryFileOutputStream.flush(RepositoryFileOutputStream.java:219) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:141) at com.lowagie.text.pdf.OutputStreamCounter.flush(Unknown Source) at com.lowagie.text.DocWriter.close(Unknown Source) at com.lowagie.text.pdf.PdfWriter.close(Unknown Source) at com.lowagie.text.pdf.PdfDocument.close(Unknown Source) at com.lowagie.text.Document.close(Unknown Source) at com.pentaho.analyzer.report.a.n.b(SourceFile:314) at com.pentaho.analyzer.report.a.n.a(SourceFile:182) at com.pentaho.analyzer.content.controller.l.a(SourceFile:89) at com.pentaho.analyzer.content.controller.AnalyzerAction.execute(SourceFile:110) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob$1.call(ActionAdapterQuartzJob.java:241) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob$1.call(ActionAdapterQuartzJob.java:181) at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:173) at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:162) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:267) ... 4 more {code} The resulting behavior is such that a user such as Tiffany with only the Report Author role is allowed to schedule content that can NEVER successfully run. When viewing schedules, Tiffany can not "execute now" any schedules (even ones she's created) since the icon is disabled. At a minimum, that same logic should be applied to the browse perspective. Users should have both permissions (Schedule Content and Create Content) to schedule something. Ideally, scheduling should be a role (or set of roles) that already has the required permissions and the current "Schedule Content" might be better renamed to "View Schedules" since that is really all it can enforce on it's own.

    Pentaho BI Platform Tracking | 2 years ago | Rob Fellows
    java.lang.Exception: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryAccessDeniedException: access denied while creating file with name "Country Performance (heat grid).pdf" Reference number: cd0d8f60-4ee5-4bae-8366-13fdfe136e76
  2. 0

    Usability issue: Tiffany (Report Author role) can schedule reports from the browse perspective but they always fail to run since she doesn't have "Create Content" permission by default. Repro path: 1. Log in as tiffany 2. From the Browse Perspective, schedule an analyzer report to run every 15 minutes. 3. When it runs, note the server console logs an error that there are insufficient permissions (access denied) {code} 1:38:06,684 ERROR [ActionAdapterQuartzJob] ActionAdapterQuartzJob.ERROR_0004 - Action "com.pentaho.analyzer.content.controller.AnalyzerAction" failed to run as a quartz job java.lang.Exception: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryAccessDeniedException: access denied while creating file with name "Country Performance (heat grid).pdf" Reference number: cd0d8f60-4ee5-4bae-8366-13fdfe136e76 at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:290) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.execute(ActionAdapterQuartzJob.java:140) at org.pentaho.platform.scheduler2.quartz.BlockingQuartzJob.execute(BlockingQuartzJob.java:39) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546) Caused by: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryAccessDeniedException: access denied while creating file with name "Country Performance (heat grid).pdf" Reference number: cd0d8f60-4ee5-4bae-8366-13fdfe136e76 at org.pentaho.platform.repository2.unified.exception.AccessDeniedExceptionConverter.convertException(AccessDeniedExceptionConverter.java:31) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:506) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.createFile(ExceptionLoggingDecorator.java:92) at org.pentaho.platform.repository2.unified.fileio.RepositoryFileOutputStream.flush(RepositoryFileOutputStream.java:219) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:141) at com.lowagie.text.pdf.OutputStreamCounter.flush(Unknown Source) at com.lowagie.text.DocWriter.close(Unknown Source) at com.lowagie.text.pdf.PdfWriter.close(Unknown Source) at com.lowagie.text.pdf.PdfDocument.close(Unknown Source) at com.lowagie.text.Document.close(Unknown Source) at com.pentaho.analyzer.report.a.n.b(SourceFile:314) at com.pentaho.analyzer.report.a.n.a(SourceFile:182) at com.pentaho.analyzer.content.controller.l.a(SourceFile:89) at com.pentaho.analyzer.content.controller.AnalyzerAction.execute(SourceFile:110) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob$1.call(ActionAdapterQuartzJob.java:241) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob$1.call(ActionAdapterQuartzJob.java:181) at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:173) at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:162) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:267) ... 4 more {code} The resulting behavior is such that a user such as Tiffany with only the Report Author role is allowed to schedule content that can NEVER successfully run. When viewing schedules, Tiffany can not "execute now" any schedules (even ones she's created) since the icon is disabled. At a minimum, that same logic should be applied to the browse perspective. Users should have both permissions (Schedule Content and Create Content) to schedule something. Ideally, scheduling should be a role (or set of roles) that already has the required permissions and the current "Schedule Content" might be better renamed to "View Schedules" since that is really all it can enforce on it's own.

    Pentaho BI Platform Tracking | 2 years ago | Rob Fellows
    java.lang.Exception: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryAccessDeniedException: access denied while creating file with name "Country Performance (heat grid).pdf" Reference number: cd0d8f60-4ee5-4bae-8366-13fdfe136e76
  3. 0

    1: Logged into an existing/new ee repository as pat 2. created a transformation with a CSV input file step and Dummy step 3. Clicked on the Save icon to save the transformation. Got the following error saving transformation error. Unable to save repository element [/home/pat/test_pat] access denied while creating file with name "AgileBI.kdb" the detailed error. Reference number: 46cf6442-503f-446e-b34c-7635a85c3889 java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [/home/pat/test_pat] access denied while creating file with name "AgileBI.kdb" Reference number: 46cf6442-503f-446e-b34c-7635a85c3889 at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:82) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleException: Unable to save repository element [/home/pat/test_pat] access denied while creating file with name "AgileBI.kdb" Reference number: 46cf6442-503f-446e-b34c-7635a85c3889 at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1789) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:78) ... 1 more Caused by: javax.xml.ws.soap.SOAPFaultException: access denied while creating file with name "AgileBI.kdb" Reference number: 46cf6442-503f-446e-b34c-7635a85c3889 at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:134) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:123) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:144) at com.sun.proxy.$Proxy122.createFile(Unknown Source) at org.pentaho.platform.repository2.unified.webservices.jaxws.UnifiedRepositoryToWebServiceAdapter.createFile(UnifiedRepositoryToWebServiceAdapter.java:82) at org.pentaho.di.repository.pur.PurRepository.saveDatabaseMeta(PurRepository.java:2001) at org.pentaho.di.repository.pur.TransDelegate.saveSharedObjects(TransDelegate.java:825) at org.pentaho.di.repository.pur.PurRepository.saveTrans0(PurRepository.java:1915) at org.pentaho.di.repository.pur.PurRepository.saveTrans(PurRepository.java:1976) at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1767) ... 2 more Caused by: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryAccessDeniedException: access denied while creating file with name "AgileBI.kdb" Reference number: 46cf6442-503f-446e-b34c-7635a85c3889 at org.pentaho.platform.repository2.unified.exception.AccessDeniedExceptionConverter.convertException(AccessDeniedExceptionConverter.java:14) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:474) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.createFile(ExceptionLoggingDecorator.java:82) at org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService.createFile(DefaultUnifiedRepositoryWebService.java:224) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:250) at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:150) at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:261) at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:608) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:259) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.invokeAsync(ServletAdapter.java:207) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:159) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:194) at org.pentaho.platform.web.servlet.PentahoWSSpringServlet.doPost(PentahoWSSpringServlet.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:142) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:83) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.filters.HttpSessionPentahoSessionIntegrationFilter.doFilter(HttpSessionPentahoSessionIntegrationFilter.java:268) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SystemStatusFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) 4. The report does not get saved but the tab name is changed.

    Pentaho BI Platform Tracking | 4 years ago | Golda David
    java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [/home/pat/test_pat] access denied while creating file with name "AgileBI.kdb" Reference number: 46cf6442-503f-446e-b34c-7635a85c3889
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    1: Logged into an existing/new ee repository as pat 2. created a transformation with a CSV input file step and Dummy step 3. Clicked on the Save icon to save the transformation. Got the following error saving transformation error. Unable to save repository element [/home/pat/test_pat] access denied while creating file with name "AgileBI.kdb" the detailed error. Reference number: 46cf6442-503f-446e-b34c-7635a85c3889 java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [/home/pat/test_pat] access denied while creating file with name "AgileBI.kdb" Reference number: 46cf6442-503f-446e-b34c-7635a85c3889 at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:82) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleException: Unable to save repository element [/home/pat/test_pat] access denied while creating file with name "AgileBI.kdb" Reference number: 46cf6442-503f-446e-b34c-7635a85c3889 at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1789) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:78) ... 1 more Caused by: javax.xml.ws.soap.SOAPFaultException: access denied while creating file with name "AgileBI.kdb" Reference number: 46cf6442-503f-446e-b34c-7635a85c3889 at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:134) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:123) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:144) at com.sun.proxy.$Proxy122.createFile(Unknown Source) at org.pentaho.platform.repository2.unified.webservices.jaxws.UnifiedRepositoryToWebServiceAdapter.createFile(UnifiedRepositoryToWebServiceAdapter.java:82) at org.pentaho.di.repository.pur.PurRepository.saveDatabaseMeta(PurRepository.java:2001) at org.pentaho.di.repository.pur.TransDelegate.saveSharedObjects(TransDelegate.java:825) at org.pentaho.di.repository.pur.PurRepository.saveTrans0(PurRepository.java:1915) at org.pentaho.di.repository.pur.PurRepository.saveTrans(PurRepository.java:1976) at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1767) ... 2 more Caused by: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryAccessDeniedException: access denied while creating file with name "AgileBI.kdb" Reference number: 46cf6442-503f-446e-b34c-7635a85c3889 at org.pentaho.platform.repository2.unified.exception.AccessDeniedExceptionConverter.convertException(AccessDeniedExceptionConverter.java:14) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:474) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.createFile(ExceptionLoggingDecorator.java:82) at org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService.createFile(DefaultUnifiedRepositoryWebService.java:224) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:250) at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:150) at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:261) at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:608) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:259) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.invokeAsync(ServletAdapter.java:207) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:159) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:194) at org.pentaho.platform.web.servlet.PentahoWSSpringServlet.doPost(PentahoWSSpringServlet.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:142) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:83) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.filters.HttpSessionPentahoSessionIntegrationFilter.doFilter(HttpSessionPentahoSessionIntegrationFilter.java:268) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SystemStatusFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) 4. The report does not get saved but the tab name is changed.

    Pentaho BI Platform Tracking | 4 years ago | Golda David
    java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [/home/pat/test_pat] access denied while creating file with name "AgileBI.kdb" Reference number: 46cf6442-503f-446e-b34c-7635a85c3889
  6. 0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.pentaho.platform.api.repository2.unified.UnifiedRepositoryAccessDeniedException

      access denied while creating file with name "Country Performance (heat grid).pdf" Reference number: cd0d8f60-4ee5-4bae-8366-13fdfe136e76

      at org.pentaho.platform.repository2.unified.exception.AccessDeniedExceptionConverter.convertException()
    2. org.pentaho.platform
      RepositoryFileOutputStream.flush
      1. org.pentaho.platform.repository2.unified.exception.AccessDeniedExceptionConverter.convertException(AccessDeniedExceptionConverter.java:31)
      2. org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:506)
      3. org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.createFile(ExceptionLoggingDecorator.java:92)
      4. org.pentaho.platform.repository2.unified.fileio.RepositoryFileOutputStream.flush(RepositoryFileOutputStream.java:219)
      4 frames
    3. Java RT
      BufferedOutputStream.flush
      1. java.io.BufferedOutputStream.flush(BufferedOutputStream.java:141)
      1 frame
    4. iText-4.2.1
      Document.close
      1. com.lowagie.text.pdf.OutputStreamCounter.flush(Unknown Source)
      2. com.lowagie.text.DocWriter.close(Unknown Source)
      3. com.lowagie.text.pdf.PdfWriter.close(Unknown Source)
      4. com.lowagie.text.pdf.PdfDocument.close(Unknown Source)
      5. com.lowagie.text.Document.close(Unknown Source)
      5 frames
    5. com.pentaho.analyzer
      AnalyzerAction.execute
      1. com.pentaho.analyzer.report.a.n.b(SourceFile:314)
      2. com.pentaho.analyzer.report.a.n.a(SourceFile:182)
      3. com.pentaho.analyzer.content.controller.l.a(SourceFile:89)
      4. com.pentaho.analyzer.content.controller.AnalyzerAction.execute(SourceFile:110)
      4 frames
    6. org.pentaho.platform
      BlockingQuartzJob.execute
      1. org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob$1.call(ActionAdapterQuartzJob.java:241)
      2. org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob$1.call(ActionAdapterQuartzJob.java:181)
      3. org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:173)
      4. org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:162)
      5. org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:267)
      6. org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.execute(ActionAdapterQuartzJob.java:140)
      7. org.pentaho.platform.scheduler2.quartz.BlockingQuartzJob.execute(BlockingQuartzJob.java:39)
      7 frames
    7. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:199)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
      2 frames