org.springframework.extensions.jcr.JcrSystemException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Jake Cornelius,
  • 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
    via by Jake Cornelius,
  • GitHub comment 228#187642670
    via GitHub by gioppoluca
    ,
  • 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
    via by Jake Cornelius,
  • 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.
    via by Will Gorman,
  • After updating to the latest version of core and groovy modules in trunk, when I try to start my dev webapp I get the exception below. Tried without the groovy module in classpath and it works fine. However, the exception does not prevent the web context to start and work (apparently with no problem). Here is the stacktrace: 2010-01-25 12:06:39,809 INFO info.magnolia.cms.beans.config.ConfigLoader : Configuration loaded (took 29 seconds) 2010-01-25 12:06:40,161 ERROR info.magnolia.cms.core.DefaultHierarchyManager : Exception caught javax.jcr.RepositoryException: invalid path:/[Linfo/magnolia/cms/filters/MgnlFilter;Transformer: '/[Linfo/magnolia/cms/filters/MgnlFilter;Transformer' is not a valid path. '[' not a valid name character.: '/[Linfo/magnolia/cms/filters/MgnlFilter;Transformer' is not a valid path. '[' not a valid name character. at org.apache.jackrabbit.core.SessionImpl.itemExists(SessionImpl.java:900) at info.magnolia.cms.core.DefaultHierarchyManager.isExist(DefaultHierarchyManager.java:400) at info.magnolia.module.groovy.MagnoliaGroovyResourceLoader.loadGroovySource(MagnoliaGroovyResourceLoader.java:78) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:713) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:540) at info.magnolia.module.groovy.GroovyClassFactory.forName(GroovyClassFactory.java:110) at info.magnolia.content2bean.impl.TypeMappingImpl.getTypeDescriptor(TypeMappingImpl.java:178) at info.magnolia.content2bean.impl.TypeMappingImpl.getPropertyTypeDescriptor(TypeMappingImpl.java:130) at info.magnolia.content2bean.TypeDescriptor.getPropertyDescriptors(TypeDescriptor.java:119) at info.magnolia.content2bean.TypeDescriptor.getPropertyTypeDescriptor(TypeDescriptor.java:102) at info.magnolia.content2bean.impl.CollectionPropertyHidingTransformer.<init>(CollectionPropertyHidingTransformer.java:69) at info.magnolia.cms.filters.CompositeFilterTransformer.<init>(CompositeFilterTransformer.java:47) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at info.magnolia.content2bean.impl.TypeMappingImpl.getTypeDescriptor(TypeMappingImpl.java:182) at info.magnolia.content2bean.impl.Content2BeanTransformerImpl.resolveType(Content2BeanTransformerImpl.java:144) at info.magnolia.content2bean.impl.Content2BeanProcessorImpl.toBean(Content2BeanProcessorImpl.java:78) at info.magnolia.content2bean.impl.Content2BeanProcessorImpl.toBean(Content2BeanProcessorImpl.java:69) at info.magnolia.content2bean.Content2BeanUtil.toBean(Content2BeanUtil.java:151) at info.magnolia.content2bean.Content2BeanUtil.toBean(Content2BeanUtil.java:137) at info.magnolia.cms.filters.MgnlMainFilter.createRootFilter(MgnlMainFilter.java:135) at info.magnolia.cms.filters.MgnlMainFilter$2.doExec(MgnlMainFilter.java:112) at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:433) at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:431) at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:396) at info.magnolia.cms.filters.MgnlMainFilter.init(MgnlMainFilter.java:107) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: '/[Linfo/magnolia/cms/filters/MgnlFilter;Transformer' is not a valid path. '[' not a valid name character. at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:201) 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.itemExists(SessionImpl.java:892) ... 47 more org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: '/[Linfo/magnolia/cms/filters/MgnlFilter;Transformer' is not a valid path. '[' not a valid name character. at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:201) 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.itemExists(SessionImpl.java:892) at info.magnolia.cms.core.DefaultHierarchyManager.isExist(DefaultHierarchyManager.java:400) at info.magnolia.module.groovy.MagnoliaGroovyResourceLoader.loadGroovySource(MagnoliaGroovyResourceLoader.java:78) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:713) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:540) at info.magnolia.module.groovy.GroovyClassFactory.forName(GroovyClassFactory.java:110) at info.magnolia.content2bean.impl.TypeMappingImpl.getTypeDescriptor(TypeMappingImpl.java:178) at info.magnolia.content2bean.impl.TypeMappingImpl.getPropertyTypeDescriptor(TypeMappingImpl.java:130) at info.magnolia.content2bean.TypeDescriptor.getPropertyDescriptors(TypeDescriptor.java:119) at info.magnolia.content2bean.TypeDescriptor.getPropertyTypeDescriptor(TypeDescriptor.java:102) at info.magnolia.content2bean.impl.CollectionPropertyHidingTransformer.<init>(CollectionPropertyHidingTransformer.java:69) at info.magnolia.cms.filters.CompositeFilterTransformer.<init>(CompositeFilterTransformer.java:47) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at info.magnolia.content2bean.impl.TypeMappingImpl.getTypeDescriptor(TypeMappingImpl.java:182) at info.magnolia.content2bean.impl.Content2BeanTransformerImpl.resolveType(Content2BeanTransformerImpl.java:144) at info.magnolia.content2bean.impl.Content2BeanProcessorImpl.toBean(Content2BeanProcessorImpl.java:78) at info.magnolia.content2bean.impl.Content2BeanProcessorImpl.toBean(Content2BeanProcessorImpl.java:69) at info.magnolia.content2bean.Content2BeanUtil.toBean(Content2BeanUtil.java:151) at info.magnolia.content2bean.Content2BeanUtil.toBean(Content2BeanUtil.java:137)
    via by Federico Grilli,
  • 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
    via by Jake Cornelius,
  • 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.
    via by Will Gorman,
    • 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:111) at com.pentaho.repository.pur.jcr.transform.NodeRepositoryFileDataTransformer.internalCreateOrUpdate(NodeRepositoryFileDataTransformer.java:111) 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
    No Bugmate found.