org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting file with path "public/CDA/standard_data.cda" Reference number: 1e791051-c0dc-42d8-9ab7-e83a71e414b1

pentaho.com | 4 months ago
  1. 0

    Pentaho 5.0 : How to use CDA files in the system solution? [Archive] - Pentaho Community Forums

    pentaho.com | 4 months ago
    org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting file with path "public/CDA/standard_data.cda" Reference number: 1e791051-c0dc-42d8-9ab7-e83a71e414b1
  2. 0

    Login to an ee repository(5.0) Import the attached ktr using file->Import from and XML file. Save the imported transformation/ job to the ee repository folder. the following error occurs. java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [C:\Users\gdavid\Downloads\PDI-8320.ktr : LongRunningTrans] exception while getting file with id "AgileBI" Reference number: cd697166-5a8f-4fcc-acf2-e7c85ef6beec 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 [C:\Users\gdavid\Downloads\PDI-8320.ktr : LongRunningTrans] exception while getting file with id "AgileBI" Reference number: cd697166-5a8f-4fcc-acf2-e7c85ef6beec at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1798) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:78) ... 1 more Caused by: javax.xml.ws.soap.SOAPFaultException: exception while getting file with id "AgileBI" Reference number: cd697166-5a8f-4fcc-acf2-e7c85ef6beec 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.$Proxy127.getFileById(Unknown Source) at org.pentaho.platform.repository2.unified.webservices.jaxws.UnifiedRepositoryToWebServiceAdapter.getFileById(UnifiedRepositoryToWebServiceAdapter.java:262) 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:1924) at org.pentaho.di.repository.pur.PurRepository.saveTrans(PurRepository.java:1985) at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1776) ... 2 more Caused by: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting file with id "AgileBI" Reference number: cd697166-5a8f-4fcc-acf2-e7c85ef6beec at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:476) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getFileById(ExceptionLoggingDecorator.java:306) at org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService.getFileById(DefaultUnifiedRepositoryWebService.java:120) at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source) 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)

    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 [C:\Users\gdavid\Downloads\PDI-8320.ktr : LongRunningTrans] exception while getting file with id "AgileBI" Reference number: cd697166-5a8f-4fcc-acf2-e7c85ef6beec
  3. 0

    There are samples that demonstrate global startup actions in /public/bi-developers/Secure/ By default, none of the samples work because there are no values in the session (which would be injected by way of global action). To enable this, edit pentaho-solutions/system/sessionStartupActions.xml Find the section for the global startup actions and uncomment the SessionStartupAction bean (should be at the bottom). The actionPath will have to be updated, as it is not correct, make sure it is: /public/bi-developers/Secure/global-department-list.xaction Now start (or restart) your BI-SERVER. The system will actually fail to startup properly and will spew a few exceptions, and thanks to the way we are doing logging, the real exception is lost. I have added some extra debugging to my build so as to capture the real exception causing this to happen: org.springframework.transaction.CannotCreateTransactionException: Could not open JCR session for transaction; nested exception is javax.jcr.LoginException: Logi nModule ignored Credentials at org.springframework.extensions.jcr.jackrabbit.LocalTransactionManager.doBegin(LocalTransactionManager.java:160) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy27.getFile(Unknown Source) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator$21.call(ExceptionLoggingDecorator.java:244) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator$21.call(ExceptionLoggingDecorator.java:242) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:457) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getFile(ExceptionLoggingDecorator.java:242) at org.pentaho.platform.engine.services.ActionSequenceJCRHelper.getSolutionDocument(ActionSequenceJCRHelper.java:104) at org.pentaho.platform.engine.services.ActionSequenceJCRHelper.getActionSequence(ActionSequenceJCRHelper.java:89) at org.pentaho.platform.engine.services.solution.SolutionEngine.createActionSequence(SolutionEngine.java:426) at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:348) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:301) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:180) at org.pentaho.platform.engine.core.system.PentahoSystem.globalStartup(PentahoSystem.java:891) at org.pentaho.platform.engine.core.system.PentahoSystem$2$1.call(PentahoSystem.java:844) at org.pentaho.platform.engine.core.system.PentahoSystem$2$1.call(PentahoSystem.java:841) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:353) at org.pentaho.platform.engine.core.system.PentahoSystem.access$100(PentahoSystem.java:71) at org.pentaho.platform.engine.core.system.PentahoSystem$2.run(PentahoSystem.java:841) at java.lang.Thread.run(Thread.java:722) Caused by: javax.jcr.LoginException: LoginModule ignored Credentials at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1493) at org.pentaho.platform.repository2.unified.jcr.sejcr.CredentialsStrategySessionFactory.getSession(CredentialsStrategySessionFactory.java:324) at org.springframework.extensions.jcr.jackrabbit.LocalTransactionManager.doBegin(LocalTransactionManager.java:120) ... 23 more Caused by: javax.security.auth.login.FailedLoginException: LoginModule ignored Credentials at org.apache.jackrabbit.core.security.authentication.LocalAuthContext.login(LocalAuthContext.java:87) at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1465) ... 25 more Exception in thread "Thread-35" java.lang.RuntimeException: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting fil e with path "/public/bi-developers/Secure/global-department-list.xaction" Reference number: 8ef5d81e-0c85-4563-99ae-800000cee96a at org.pentaho.platform.engine.core.system.PentahoSystem$2.run(PentahoSystem.java:849) at java.lang.Thread.run(Thread.java:722) Caused by: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting file with path "/public/bi-developers/Secure/global- department-list.xaction" Reference number: 8ef5d81e-0c85-4563-99ae-800000cee96a at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:483) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getFile(ExceptionLoggingDecorator.java:242) at org.pentaho.platform.engine.services.ActionSequenceJCRHelper.getSolutionDocument(ActionSequenceJCRHelper.java:104) at org.pentaho.platform.engine.services.ActionSequenceJCRHelper.getActionSequence(ActionSequenceJCRHelper.java:89) at org.pentaho.platform.engine.services.solution.SolutionEngine.createActionSequence(SolutionEngine.java:426) at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:348) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:301) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:180) at org.pentaho.platform.engine.core.system.PentahoSystem.globalStartup(PentahoSystem.java:891) at org.pentaho.platform.engine.core.system.PentahoSystem$2$1.call(PentahoSystem.java:844) at org.pentaho.platform.engine.core.system.PentahoSystem$2$1.call(PentahoSystem.java:841) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:353) at org.pentaho.platform.engine.core.system.PentahoSystem.access$100(PentahoSystem.java:71) at org.pentaho.platform.engine.core.system.PentahoSystem$2.run(PentahoSystem.java:841) ... 1 more From my personal experience, this is something which is going to affect plenty of customers and will have to be addressed ASAP.

    Pentaho BI Platform Tracking | 3 years ago | Michael D'Amour
    java.lang.RuntimeException: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting fil e with path "/public/bi-developers/Secure/global-department-list.xaction" Reference number: 8ef5d81e-0c85-4563-99ae-800000cee96a
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Login to an ee repository(5.0) Import the attached ktr using file->Import from and XML file. Save the imported transformation/ job to the ee repository folder. the following error occurs. java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [C:\Users\gdavid\Downloads\PDI-8320.ktr : LongRunningTrans] exception while getting file with id "AgileBI" Reference number: cd697166-5a8f-4fcc-acf2-e7c85ef6beec 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 [C:\Users\gdavid\Downloads\PDI-8320.ktr : LongRunningTrans] exception while getting file with id "AgileBI" Reference number: cd697166-5a8f-4fcc-acf2-e7c85ef6beec at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1798) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:78) ... 1 more Caused by: javax.xml.ws.soap.SOAPFaultException: exception while getting file with id "AgileBI" Reference number: cd697166-5a8f-4fcc-acf2-e7c85ef6beec 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.$Proxy127.getFileById(Unknown Source) at org.pentaho.platform.repository2.unified.webservices.jaxws.UnifiedRepositoryToWebServiceAdapter.getFileById(UnifiedRepositoryToWebServiceAdapter.java:262) 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:1924) at org.pentaho.di.repository.pur.PurRepository.saveTrans(PurRepository.java:1985) at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1776) ... 2 more Caused by: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting file with id "AgileBI" Reference number: cd697166-5a8f-4fcc-acf2-e7c85ef6beec at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:476) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getFileById(ExceptionLoggingDecorator.java:306) at org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService.getFileById(DefaultUnifiedRepositoryWebService.java:120) at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source) 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)

    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 [C:\Users\gdavid\Downloads\PDI-8320.ktr : LongRunningTrans] exception while getting file with id "AgileBI" Reference number: cd697166-5a8f-4fcc-acf2-e7c85ef6beec
  6. 0

    When trying to track down BISERVER-11350, the only thing that shows up in the stack trace is this: Apr 14, 2014 10:29:10 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet jaxrsEndpoint-spring threw exception org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting tree rooted at path "/" Reference number: 05496539-b776-4b0c-bd3a-29511163b4fb at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:476) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getTree(ExceptionLoggingDecorator.java:417) at org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService.getTree(DefaultUnifiedRepositoryWebService.java:125) at org.pentaho.platform.web.http.api.resources.FileResource.doGetChildren(FileResource.java:939) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716) at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:116) 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:161) 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.pentaho.platform.web.http.security.PentahoBasicProcessingFilter.doFilterHttp(PentahoBasicProcessingFilter.java:88) 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:265) 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(SourceFile: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:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source) The actual cause is completely missing - the actual cause is a StringIndexOOB which is completely missing from the stack trace. There are no "caused by" lines which means we're purposely stripping them out. In this case, the stripped out causes would have pointed directly DefaultTenantedPrincipleNameResolver.java Line 96 - that class is nowhere in anything in any log files. This is terrible and needs to be fixed - otherwise, getting to the root cause of customer issues requires setting semi-random break-points and crossing your fingers. We've created a class to prune the exceptions called ExceptionLoggingDecorator. However, the problem starts in CachingPentahoEntryCache in throttledUpdateCache which has this little gem: } catch (Throwable problem) { getFutures().remove(id); fe.setProblem(problem); if (problem instanceof RepositoryException) { throw (RepositoryException)problem; } else { throw new RuntimeException(problem); } } The ExceptionLoggingDecorator was done of as a result of PDI-3379 - the problem is, that case clearly says the exception that makes it to the client needs to have limited information, but that the server needs everything. Well - in this case, the server logs have *NOTHING* of the original exception. This adds a HUGE cost to debugging repository errors.

    Pentaho BI Platform Tracking | 3 years ago | Marc Batchelor
    org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting tree rooted at path "/" Reference number: 05496539-b776-4b0c-bd3a-29511163b4fb

    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.UnifiedRepositoryException

      exception while getting file with path "public/CDA/standard_data.cda" Reference number: 1e791051-c0dc-42d8-9ab7-e83a71e414b1

      at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow()
    2. org.pentaho.platform
      ExceptionLoggingDecorator.getFile
      1. org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:476)
      2. org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getFile(ExceptionLoggingDecorator.java:238)
      2 frames
    3. pt.webdetails.cpf
      RepositoryAccess.getResourceAsDocument
      1. pt.webdetails.cpf.repository.RepositoryAccess.getResourceInputStream(RepositoryAccess.java:275)
      2. pt.webdetails.cpf.repository.RepositoryAccess.getResourceInputStream(RepositoryAccess.java:271)
      3. pt.webdetails.cpf.repository.RepositoryAccess.getResourceAsDocument(RepositoryAccess.java:284)
      4. pt.webdetails.cpf.repository.RepositoryAccess.getResourceAsDocument(RepositoryAccess.java:279)
      4 frames
    4. pt.webdetails.cda
      CdaUtils.doQueryPost
      1. pt.webdetails.cda.settings.SettingsManager.parseSettingsFile(SettingsManager.java:129)
      2. pt.webdetails.cda.CdaUtils.handleDoQuery(CdaUtils.java:184)
      3. pt.webdetails.cda.CdaUtils.doQueryPost(CdaUtils.java:118)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
      2. com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$VoidOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:167)
      3. com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
      4. com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
      5. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      6. com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
      7. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      8. com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
      9. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
      10. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
      11. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
      12. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
      12 frames
    7. Jersey
      ServletContainer.service
      1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
      2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
      3. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
      3 frames
    8. org.pentaho.platform
      JAXRSPluginServlet.service
      1. org.pentaho.platform.web.servlet.JAXRSPluginServlet.service(JAXRSPluginServlet.java:62)
      1 frame
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    10. org.pentaho.platform
      PluginDispatchServlet.service
      1. org.pentaho.platform.web.servlet.JAXRSPluginServlet.service(JAXRSPluginServlet.java:67)
      2. org.pentaho.platform.web.servlet.PluginDispatchServlet.service(PluginDispatchServlet.java:89)
      2 frames
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    12. org.pentaho.platform
      PentahoWebContextFilter.doFilter
      1. org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:161)
      1 frame
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    14. org.pentaho.platform
      PentahoRequestContextFilter.doFilter
      1. org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:83)
      1 frame
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    16. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
      1 frame
    17. org.springframework.security
      FilterSecurityInterceptor.doFilter
      1. org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
      2. org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
      2 frames
    18. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      1 frame
    19. org.springframework.security
      SpringSecurityFilter.doFilter
      1. org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
      2. org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      2 frames
    20. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      1 frame
    21. org.springframework.security
      SpringSecurityFilter.doFilter
      1. org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
      2. org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      2 frames
    22. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      1 frame
    23. org.springframework.security
      BasicProcessingFilter.doFilterHttp
      1. org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
      1 frame
    24. org.pentaho.platform
      PentahoBasicProcessingFilter.doFilterHttp
      1. org.pentaho.platform.web.http.security.PentahoBasicProcessingFilter.doFilterHttp(PentahoBasicProcessingFilter.java:88)
      1 frame
    25. org.springframework.security
      SpringSecurityFilter.doFilter
      1. org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      1 frame
    26. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      1 frame
    27. Spring Security - Portlet support
      HttpSessionContextIntegrationFilter.doFilterHttp
      1. org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
      1 frame
    28. org.springframework.security
      SpringSecurityFilter.doFilter
      1. org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      1 frame
    29. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      1 frame
    30. org.pentaho.platform
      HttpSessionPentahoSessionIntegrationFilter.doFilter
      1. org.pentaho.platform.web.http.filters.HttpSessionPentahoSessionIntegrationFilter.doFilter(HttpSessionPentahoSessionIntegrationFilter.java:265)
      1 frame
    31. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      1 frame
    32. org.springframework.security
      SpringSecurityFilter.doFilter
      1. org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
      2. org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      2 frames
    33. spring-security-core
      FilterToBeanProxy.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      2. org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
      3. org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
      3 frames
    34. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    35. org.pentaho.platform
      SystemStatusFilter.doFilter
      1. org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:59)
      1 frame
    36. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    37. org.pentaho.platform
      SetCharacterEncodingFilter.doFilter
      1. org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      1 frame
    38. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    39. org.pentaho.platform
      WebappRootForwardingFilter.doFilter
      1. org.pentaho.platform.web.http.filters.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:66)
      1 frame
    40. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      9 frames
    41. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    42. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame