org.springframework.extensions.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: failed to resol ve path pho:Gen ID [1]_1.kst relative to node /pentaho/tenant0/home/joe/Add sequence - specify a common counter.ktr/jcr:content/pho:transformation/pho :steps: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names.: 'pho:Gen ID [1]_1.kst' is not a valid path: T railing slashes not allowed in prefixes and names.

Pentaho BI Platform Tracking | Jake Cornelius | 7 years ago
  1. 0

    Repro Path: Import from XML File Browse to PDI samples directory and attempt to import 'Add sequence - specify a common counter.ktr Click Save, select a valid location in the EE repository and click OK Results: In Spoon, you get the following error: Unable to save repository element [C:\PentahoSoftware\PDI\pdi-ee\data-integration\samples\transformations\Add sequence - specify a common counter.ktr : Add sequence - specify a common counter] Repository access exception; nested exception is javax.jcr.RepositoryException: failed to resolve path pho:Gen ID [1]_1.kst relative to node /pentaho/tenant0/home/joe/Add sequence - specify a common counter.ktr/jcr:content/pho:transformation/pho:steps: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names.: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names. In the server, you get the following log: Mar 22, 2010 9:54:03 AM com.sun.xml.ws.server.sei.EndpointMethodHandler invoke SEVERE: Repository access exception; nested exception is javax.jcr.RepositoryException: failed to resolve path pho:Gen ID [1]_1.kst relative to node / pentaho/tenant0/home/joe/Add sequence - specify a common counter.ktr/jcr:content/pho:transformation/pho:steps: 'pho:Gen ID [1]_1.kst' is not a valid p ath: Trailing slashes not allowed in prefixes and names.: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and nam es. org.springframework.extensions.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: failed to resol ve path pho:Gen ID [1]_1.kst relative to node /pentaho/tenant0/home/joe/Add sequence - specify a common counter.ktr/jcr:content/pho:transformation/pho :steps: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names.: 'pho:Gen ID [1]_1.kst' is not a valid path: T railing slashes not allowed in prefixes and names. at org.springframework.extensions.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:223) at org.springframework.extensions.jcr.JcrAccessor.convertJcrAccessException(JcrAccessor.java:58) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.pentahoConvertJcrAccessException(PentahoJcrTemplate.java:89) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:58) at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.internalCreateFile(JcrRepositoryFileDao.java:99) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.createFile(JcrRepositoryFileDao.java:172) at com.pentaho.repository.pur.DefaultUnifiedRepository.internalCreateFile(DefaultUnifiedRepository.java:364) at com.pentaho.repository.pur.DefaultUnifiedRepository.createFile(DefaultUnifiedRepository.java:115) 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 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) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy14.createFile(Unknown Source) at com.pentaho.repository.pur.ws.DefaultUnifiedRepositoryWebService.createFile(DefaultUnifiedRepositoryWebService.java:61) 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.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246) at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146) at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257) at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:95) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:515) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76) 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.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.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:43) 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:113) 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:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown Source) Caused by: javax.jcr.RepositoryException: failed to resolve path pho:Gen ID [1]_1.kst relative to node /pentaho/tenant0/home/joe/Add sequence - specif y a common counter.ktr/jcr:content/pho:transformation/pho:steps: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names.: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names. at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:235) at org.apache.jackrabbit.core.NodeImpl.hasNode(NodeImpl.java:2779) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.internalCreateOrUpdate(NodeRepositoryFileDataTransformer.java:70 ) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.internalCreateOrUpdate(NodeRepositoryFileDataTransformer.java:11 1) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.internalCreateOrUpdate(NodeRepositoryFileDataTransformer.java:11 1) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.createOrUpdateContentNode(NodeRepositoryFileDataTransformer.java :57) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.createContentNode(NodeRepositoryFileDataTransformer.java:62) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.createContentNode(NodeRepositoryFileDataTransformer.java:23) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.createFileNode(JcrRepositoryFileUtils.java:345) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao$2.doInJcr(JcrRepositoryFileDao.java:103) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:53) ... 82 more Caused by: org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allow ed in prefixes and names. at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:195) at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:57) at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:60) at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77) at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:78) at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:766) at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:207) ... 92 more

    Pentaho BI Platform Tracking | 7 years ago | Jake Cornelius
    org.springframework.extensions.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: failed to resol ve path pho:Gen ID [1]_1.kst relative to node /pentaho/tenant0/home/joe/Add sequence - specify a common counter.ktr/jcr:content/pho:transformation/pho :steps: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names.: 'pho:Gen ID [1]_1.kst' is not a valid path: T railing slashes not allowed in prefixes and names.
  2. 0

    Repro Path: Import from XML File Browse to PDI samples directory and attempt to import 'Add sequence - specify a common counter.ktr Click Save, select a valid location in the EE repository and click OK Results: In Spoon, you get the following error: Unable to save repository element [C:\PentahoSoftware\PDI\pdi-ee\data-integration\samples\transformations\Add sequence - specify a common counter.ktr : Add sequence - specify a common counter] Repository access exception; nested exception is javax.jcr.RepositoryException: failed to resolve path pho:Gen ID [1]_1.kst relative to node /pentaho/tenant0/home/joe/Add sequence - specify a common counter.ktr/jcr:content/pho:transformation/pho:steps: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names.: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names. In the server, you get the following log: Mar 22, 2010 9:54:03 AM com.sun.xml.ws.server.sei.EndpointMethodHandler invoke SEVERE: Repository access exception; nested exception is javax.jcr.RepositoryException: failed to resolve path pho:Gen ID [1]_1.kst relative to node / pentaho/tenant0/home/joe/Add sequence - specify a common counter.ktr/jcr:content/pho:transformation/pho:steps: 'pho:Gen ID [1]_1.kst' is not a valid p ath: Trailing slashes not allowed in prefixes and names.: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and nam es. org.springframework.extensions.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: failed to resol ve path pho:Gen ID [1]_1.kst relative to node /pentaho/tenant0/home/joe/Add sequence - specify a common counter.ktr/jcr:content/pho:transformation/pho :steps: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names.: 'pho:Gen ID [1]_1.kst' is not a valid path: T railing slashes not allowed in prefixes and names. at org.springframework.extensions.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:223) at org.springframework.extensions.jcr.JcrAccessor.convertJcrAccessException(JcrAccessor.java:58) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.pentahoConvertJcrAccessException(PentahoJcrTemplate.java:89) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:58) at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.internalCreateFile(JcrRepositoryFileDao.java:99) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.createFile(JcrRepositoryFileDao.java:172) at com.pentaho.repository.pur.DefaultUnifiedRepository.internalCreateFile(DefaultUnifiedRepository.java:364) at com.pentaho.repository.pur.DefaultUnifiedRepository.createFile(DefaultUnifiedRepository.java:115) 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 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) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy14.createFile(Unknown Source) at com.pentaho.repository.pur.ws.DefaultUnifiedRepositoryWebService.createFile(DefaultUnifiedRepositoryWebService.java:61) 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.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246) at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146) at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257) at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:95) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:515) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76) 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.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.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:43) 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:113) 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:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown Source) Caused by: javax.jcr.RepositoryException: failed to resolve path pho:Gen ID [1]_1.kst relative to node /pentaho/tenant0/home/joe/Add sequence - specif y a common counter.ktr/jcr:content/pho:transformation/pho:steps: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names.: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names. at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:235) at org.apache.jackrabbit.core.NodeImpl.hasNode(NodeImpl.java:2779) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.internalCreateOrUpdate(NodeRepositoryFileDataTransformer.java:70 ) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.internalCreateOrUpdate(NodeRepositoryFileDataTransformer.java:11 1) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.internalCreateOrUpdate(NodeRepositoryFileDataTransformer.java:11 1) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.createOrUpdateContentNode(NodeRepositoryFileDataTransformer.java :57) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.createContentNode(NodeRepositoryFileDataTransformer.java:62) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.createContentNode(NodeRepositoryFileDataTransformer.java:23) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.createFileNode(JcrRepositoryFileUtils.java:345) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao$2.doInJcr(JcrRepositoryFileDao.java:103) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:53) ... 82 more Caused by: org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allow ed in prefixes and names. at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:195) at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:57) at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:60) at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77) at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:78) at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:766) at org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:207) ... 92 more

    Pentaho BI Platform Tracking | 7 years ago | Jake Cornelius
    org.springframework.extensions.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: failed to resol ve path pho:Gen ID [1]_1.kst relative to node /pentaho/tenant0/home/joe/Add sequence - specify a common counter.ktr/jcr:content/pho:transformation/pho :steps: 'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allowed in prefixes and names.: 'pho:Gen ID [1]_1.kst' is not a valid path: T railing slashes not allowed in prefixes and names.
  3. 0

    GitHub comment 228#187642670

    GitHub | 10 months ago | gioppoluca
    javax.jcr.RepositoryException: Invalid relative path: http://lab1.cloudopting.org:8083/repository/default/organization_key/wcic/template/tosca.zip
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Repro Path: Login to the EE repos as joe/password create a new transformation with anything in it click save Note that the save dialog is by default pointing to the root of the repository - we don't show that in Explorer, nor do we want to encourage even admins to save stuff there as a regular practice. This repro path can also be done with Suzy Please make it such that any default save location is the user's home directory. Additional info: Exceptions are thrown in the console, why isn't this bubbled up as a clean error like 'You do not have permission to save to the specified location' then force them to choose something else. Here's the stack... Mar 16, 2010 7:42:26 AM com.sun.xml.ws.server.sei.EndpointMethodHandler invoke SEVERE: Repository access exception; nested exception is javax.jcr.RepositoryException: invalid path:/pentaho/tenant0//Transformation 1.ktr: '/pentaho /tenant0//Transformation 1.ktr' is not a valid path. double slash '//' not allowed.: '/pentaho/tenant0//Transformation 1.ktr' is not a valid path. dou ble slash '//' not allowed. org.springframework.extensions.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: invalid path:/p entaho/tenant0//Transformation 1.ktr: '/pentaho/tenant0//Transformation 1.ktr' is not a valid path. double slash '//' not allowed.: '/pentaho/tenant0/ /Transformation 1.ktr' is not a valid path. double slash '//' not allowed. at org.springframework.extensions.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:223) at org.springframework.extensions.jcr.JcrAccessor.convertJcrAccessException(JcrAccessor.java:58) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.pentahoConvertJcrAccessException(PentahoJcrTemplate.java:89) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:58) at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.internalGetFile(JcrRepositoryFileDao.java:228) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.getFile(JcrRepositoryFileDao.java:222) at com.pentaho.repository.pur.DefaultUnifiedRepository.getFile(DefaultUnifiedRepository.java:77) at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy11.getFile(Unknown Source) at com.pentaho.repository.pur.ws.DefaultUnifiedRepositoryWebService.getFile(DefaultUnifiedRepositoryWebService.java:116) at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246) at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146) at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257) at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:95) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:515) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76) 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.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.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:43) 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:113) 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:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown Source) Caused by: javax.jcr.RepositoryException: invalid path:/pentaho/tenant0//Transformation 1.ktr: '/pentaho/tenant0//Transformation 1.ktr' is not a valid path. double slash '//' not allowed.: '/pentaho/tenant0//Transformation 1.ktr' is not a valid path. double slash '//' not allowed. at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:880) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao$5.doInJcr(JcrRepositoryFileDao.java:233) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:53) ... 79 more Caused by: org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: '/pentaho/tenant0//Transformation 1.ktr' is not a valid path. double s lash '//' not allowed. at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:127) at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:57) at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:60) at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77) at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:78) at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:766) at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:870) ... 81 more

    Pentaho BI Platform Tracking | 7 years ago | Jake Cornelius
    org.springframework.extensions.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: invalid path:/p entaho/tenant0//Transformation 1.ktr: '/pentaho/tenant0//Transformation 1.ktr' is not a valid path. double slash '//' not allowed.: '/pentaho/tenant0/ /Transformation 1.ktr' is not a valid path. double slash '//' not allowed.
  6. 0

    When attempting to access an invalid path to the JCR, the full tenanted path is displayed in the error logs. We need to determine if including the tenant name in the request and error paths is acceptable. Repository access exception; nested exception is javax.jcr.RepositoryException: invalid path:/pentaho/tenant0//Transformation 1.ktr: '/pentaho /tenant0//Transformation 1.ktr' is not a valid path. double slash '//' not allowed.: '/pentaho/tenant0//Transformation 1.ktr' is not a valid path. dou ble slash '//' not allowed. org.springframework.extensions.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: invalid path:/p entaho/tenant0//Transformation 1.ktr: '/pentaho/tenant0//Transformation 1.ktr' is not a valid path. double slash '//' not allowed.: '/pentaho/tenant0/ /Transformation 1.ktr' is not a valid path. double slash '//' not allowed. at org.springframework.extensions.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:223) at org.springframework.extensions.jcr.JcrAccessor.convertJcrAccessException(JcrAccessor.java:58) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.pentahoConvertJcrAccessException(PentahoJcrTemplate.java:89) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:58) at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.internalGetFile(JcrRepositoryFileDao.java:228) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.getFile(JcrRepositoryFileDao.java:222) at com.pentaho.repository.pur.DefaultUnifiedRepository.getFile(DefaultUnifiedRepository.java:77) at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy11.getFile(Unknown Source) at com.pentaho.repository.pur.ws.DefaultUnifiedRepositoryWebService.getFile(DefaultUnifiedRepositoryWebService.java:116) at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246) at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146) at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257) at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:95) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295) at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:515) at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189) at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76) 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.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.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:43) 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:113) 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:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown Source) Caused by: javax.jcr.RepositoryException: invalid path:/pentaho/tenant0//Transformation 1.ktr: '/pentaho/tenant0//Transformation 1.ktr' is not a valid path. double slash '//' not allowed.: '/pentaho/tenant0//Transformation 1.ktr' is not a valid path. double slash '//' not allowed. at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:880) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao$5.doInJcr(JcrRepositoryFileDao.java:233) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:53) ... 79 more Caused by: org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: '/pentaho/tenant0//Transformation 1.ktr' is not a valid path. double s lash '//' not allowed. at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:127) at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:57) at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:60) at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77) at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:78) at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:766) at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:870) ... 81 more Per Will, stop using ThreadLocals in client code.

    Pentaho BI Platform Tracking | 7 years ago | Will Gorman
    org.springframework.extensions.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.RepositoryException: invalid path:/p entaho/tenant0//Transformation 1.ktr: '/pentaho/tenant0//Transformation 1.ktr' is not a valid path. double slash '//' not allowed.: '/pentaho/tenant0/ /Transformation 1.ktr' is not a valid path. double slash '//' not allowed.

    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.apache.jackrabbit.spi.commons.conversion.MalformedPathException

      'pho:Gen ID [1]_1.kst' is not a valid path: Trailing slashes not allow ed in prefixes and names.

      at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse()
    2. Jackrabbit SPI Commons
      DefaultNamePathResolver.getQPath
      1. org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:195)
      2. org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:57)
      3. org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:60)
      4. org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77)
      5. org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:78)
      5 frames
    3. Jackrabbit Core
      NodeImpl.hasNode
      1. org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:766)
      2. org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:207)
      3. org.apache.jackrabbit.core.NodeImpl.hasNode(NodeImpl.java:2779)
      3 frames
    4. com.pentaho.repository
      PentahoJcrTemplate.execute
      1. com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.internalCreateOrUpdate(NodeRepositoryFileDataTransformer.java:70)
      2. com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.internalCreateOrUpdate(NodeRepositoryFileDataTransformer.java:111)
      3. com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.internalCreateOrUpdate(NodeRepositoryFileDataTransformer.java:111)
      4. com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.createOrUpdateContentNode(NodeRepositoryFileDataTransformer.java:57)
      5. com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.createContentNode(NodeRepositoryFileDataTransformer.java:62)
      6. com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.createContentNode(NodeRepositoryFileDataTransformer.java:23)
      7. com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.createFileNode(JcrRepositoryFileUtils.java:345)
      8. com.pentaho.repository.pur.jcr.JcrRepositoryFileDao$2.doInJcr(JcrRepositoryFileDao.java:103)
      9. com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(PentahoJcrTemplate.java:53)
      9 frames
    5. org.springframework.extensions
      JcrTemplate.execute
      1. org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115)
      1 frame
    6. com.pentaho.repository
      DefaultUnifiedRepository.createFile
      1. com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.internalCreateFile(JcrRepositoryFileDao.java:99)
      2. com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.createFile(JcrRepositoryFileDao.java:172)
      3. com.pentaho.repository.pur.DefaultUnifiedRepository.internalCreateFile(DefaultUnifiedRepository.java:364)
      4. com.pentaho.repository.pur.DefaultUnifiedRepository.createFile(DefaultUnifiedRepository.java:115)
      4 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    8. 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
    9. org.springframework.security
      MethodSecurityInterceptor.invoke
      1. org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66)
      1 frame
    10. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    11. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    12. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    13. Unknown
      $Proxy14.createFile
      1. $Proxy14.createFile(Unknown Source)
      1 frame
    14. com.pentaho.repository
      DefaultUnifiedRepositoryWebService.createFile
      1. com.pentaho.repository.pur.ws.DefaultUnifiedRepositoryWebService.createFile(DefaultUnifiedRepositoryWebService.java:61)
      1 frame
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    16. JAX-WS RI Runtime Bundle
      WSServlet.doPost
      1. com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246)
      2. com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
      3. com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
      4. com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:95)
      5. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
      6. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
      7. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
      8. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
      9. com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295)
      10. com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:515)
      11. com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285)
      12. com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
      13. com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)
      14. com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189)
      15. com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)
      15 frames
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    18. 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
    19. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
      1 frame
    20. 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
    21. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      1 frame
    22. 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
    23. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      1 frame
    24. 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
    25. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      1 frame
    26. org.springframework.security
      SpringSecurityFilter.doFilter
      1. org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
      2. org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      2 frames
    27. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      1 frame
    28. Spring Security - Portlet support
      HttpSessionContextIntegrationFilter.doFilterHttp
      1. org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
      1 frame
    29. org.springframework.security
      SpringSecurityFilter.doFilter
      1. org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
      1 frame
    30. spring-security-core
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
      1 frame
    31. 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
    32. 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
    33. 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
    34. com.pentaho.ui
      SystemStatusFilter.doFilter
      1. com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SystemStatusFilter.java:43)
      1 frame
    35. 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
    36. org.pentaho.platform
      SetCharacterEncodingFilter.doFilter
      1. org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113)
      1 frame
    37. 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:433)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      9 frames
    38. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
      3 frames
    39. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame