javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb

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

    Create a transformation with a Table Output step (configure it to a working connection) Save Transformation Open Table Output, edit connection, don't change anything (watch out for the bug that automatically selects AS/400, fix if needed), click Test, click OK to exit the Edit Connection dialog Close the Table Output step editor Try to save your transformation again, Error: Unable to save repository element [C:\Documents and Settings\JakeC\My Documents\Projects - Archive\TDWI_Bake_Off\agile_demo_start.ktr : agile_demo_start] Unable to save repository element [sampledata_hysql] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb Details: java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [C:\Documents and Settings\JakeC\My Documents\Projects - Archive\TDWI_Bake_Off\agile_demo_start.ktr : agile_demo_start] Unable to save repository element [sampledata_hysql] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:77) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleException: Unable to save repository element [C:\Documents and Settings\JakeC\My Documents\Projects - Archive\TDWI_Bake_Off\agile_demo_start.ktr : agile_demo_start] Unable to save repository element [sampledata_hysql] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1493) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:73) ... 1 more Caused by: org.pentaho.di.core.exception.KettleException: Unable to save repository element [sampledata_hysql] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1493) at org.pentaho.di.repository.pur.TransDelegate.saveSharedObjects(TransDelegate.java:788) at org.pentaho.di.repository.pur.PurRepository.saveTrans(PurRepository.java:1522) at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1471) ... 2 more Caused by: javax.xml.ws.soap.SOAPFaultException: An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy45.createFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.createFile(UnifiedRepositoryToWebServiceAdapter.java:36) at org.pentaho.di.repository.pur.PurRepository.saveDatabaseMeta(PurRepository.java:1555) at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1477) ... 5 more Caused by: org.springframework.dao.DataIntegrityViolationException: An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb at org.springframework.extensions.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:184) 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)

    Pentaho BI Platform Tracking | 7 years ago | Jake Cornelius
    javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb
  2. 0

    Create a transformation with a Table Output step (configure it to a working connection) Save Transformation Open Table Output, edit connection, don't change anything (watch out for the bug that automatically selects AS/400, fix if needed), click Test, click OK to exit the Edit Connection dialog Close the Table Output step editor Try to save your transformation again, Error: Unable to save repository element [C:\Documents and Settings\JakeC\My Documents\Projects - Archive\TDWI_Bake_Off\agile_demo_start.ktr : agile_demo_start] Unable to save repository element [sampledata_hysql] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb Details: java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [C:\Documents and Settings\JakeC\My Documents\Projects - Archive\TDWI_Bake_Off\agile_demo_start.ktr : agile_demo_start] Unable to save repository element [sampledata_hysql] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:77) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleException: Unable to save repository element [C:\Documents and Settings\JakeC\My Documents\Projects - Archive\TDWI_Bake_Off\agile_demo_start.ktr : agile_demo_start] Unable to save repository element [sampledata_hysql] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1493) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:73) ... 1 more Caused by: org.pentaho.di.core.exception.KettleException: Unable to save repository element [sampledata_hysql] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1493) at org.pentaho.di.repository.pur.TransDelegate.saveSharedObjects(TransDelegate.java:788) at org.pentaho.di.repository.pur.PurRepository.saveTrans(PurRepository.java:1522) at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1471) ... 2 more Caused by: javax.xml.ws.soap.SOAPFaultException: An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy45.createFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.createFile(UnifiedRepositoryToWebServiceAdapter.java:36) at org.pentaho.di.repository.pur.PurRepository.saveDatabaseMeta(PurRepository.java:1555) at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1477) ... 5 more Caused by: org.springframework.dao.DataIntegrityViolationException: An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb at org.springframework.extensions.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:184) 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)

    Pentaho BI Platform Tracking | 7 years ago | Jake Cornelius
    javax.jcr.ItemExistsException: /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb
  3. 0

    Steps to repro. 1.Login as Tiffany to the enterprise repository. 2.Create a new transformation 3.Save it as transformation 1, the default directory would be /tiffany and last modified will be empty. 4.Go to Tools->Repository and disconnect the repository. 5.Connect to the enterprise repository as joe. 6. In the transformation 1 add one more step and click the save button, the directory is now / and last modified is tiffany. 7.Click on the folder icon and browse to select /home/tiffany. When you hit the Ok button you get an error as follows.(since the transformation name is the same). 8. But if you close the transformation and then open it again and make changes and then save it shows tiffany's default firectory. Or as Curtis says, when we disconnect and reopen all tabs should be closed and opened again. java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [/home/tiffany/Transformation 1] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:77) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleException: Unable to save repository element [/home/tiffany/Transformation 1] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1498) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:73) ... 1 more Caused by: javax.xml.ws.soap.SOAPFaultException: An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy45.createFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.createFile(UnifiedRepositoryToWebServiceAdapter.java:36) at org.pentaho.di.repository.pur.PurRepository.saveTrans(PurRepository.java:1539) at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1476) ... 2 more Caused by: org.springframework.dao.DataIntegrityViolationException: An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at org.springframework.extensions.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:184) 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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java: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(Thread.java:619) Caused by: javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.java:787) at org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:735) at org.apache.jackrabbit.core.NodeImpl.addNodeWithUuid(NodeImpl.java:2200) at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:2155) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.createFileNode(JcrRepositoryFileUtils.java:323) 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

    Pentaho BI Platform Tracking | 7 years ago | Golda David
    javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Steps to repro. 1.Login as Tiffany to the enterprise repository. 2.Create a new transformation 3.Save it as transformation 1, the default directory would be /tiffany and last modified will be empty. 4.Go to Tools->Repository and disconnect the repository. 5.Connect to the enterprise repository as joe. 6. In the transformation 1 add one more step and click the save button, the directory is now / and last modified is tiffany. 7.Click on the folder icon and browse to select /home/tiffany. When you hit the Ok button you get an error as follows.(since the transformation name is the same). 8. But if you close the transformation and then open it again and make changes and then save it shows tiffany's default firectory. Or as Curtis says, when we disconnect and reopen all tabs should be closed and opened again. java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [/home/tiffany/Transformation 1] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:77) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleException: Unable to save repository element [/home/tiffany/Transformation 1] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1498) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:73) ... 1 more Caused by: javax.xml.ws.soap.SOAPFaultException: An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy45.createFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.createFile(UnifiedRepositoryToWebServiceAdapter.java:36) at org.pentaho.di.repository.pur.PurRepository.saveTrans(PurRepository.java:1539) at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1476) ... 2 more Caused by: org.springframework.dao.DataIntegrityViolationException: An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at org.springframework.extensions.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:184) 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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java: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(Thread.java:619) Caused by: javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.java:787) at org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:735) at org.apache.jackrabbit.core.NodeImpl.addNodeWithUuid(NodeImpl.java:2200) at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:2155) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.createFileNode(JcrRepositoryFileUtils.java:323) 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

    Pentaho BI Platform Tracking | 7 years ago | Golda David
    javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr
  6. 0

    Steps to repro. 1.Login as Tiffany to the enterprise repository. 2.Create a new transformation 3.Save it as transformation 1, the default directory would be /tiffany and last modified will be empty. 4.Go to Tools->Repository and disconnect the repository. 5.Connect to the enterprise repository as joe. 6. In the transformation 1 add one more step and click the save button, the directory is now / and last modified is tiffany. 7.Click on the folder icon and browse to select /home/tiffany. When you hit the Ok button you get an error as follows.(since the transformation name is the same). 8. But if you close the transformation and then open it again and make changes and then save it shows tiffany's default firectory. Or as Curtis says, when we disconnect and reopen all tabs should be closed and opened again. java.lang.reflect.InvocationTargetException: Error saving transformation: org.pentaho.di.core.exception.KettleException: Unable to save repository element [/home/tiffany/Transformation 1] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:77) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleException: Unable to save repository element [/home/tiffany/Transformation 1] An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1498) at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:73) ... 1 more Caused by: javax.xml.ws.soap.SOAPFaultException: An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy45.createFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.createFile(UnifiedRepositoryToWebServiceAdapter.java:36) at org.pentaho.di.repository.pur.PurRepository.saveTrans(PurRepository.java:1539) at org.pentaho.di.repository.pur.PurRepository.save(PurRepository.java:1476) ... 2 more Caused by: org.springframework.dao.DataIntegrityViolationException: An item already exists; nested exception is javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at org.springframework.extensions.jcr.SessionFactoryUtils.translateException(SessionFactoryUtils.java:184) 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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java: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(Thread.java:619) Caused by: javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr at org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.java:787) at org.apache.jackrabbit.core.NodeImpl.internalAddNode(NodeImpl.java:735) at org.apache.jackrabbit.core.NodeImpl.addNodeWithUuid(NodeImpl.java:2200) at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:2155) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.createFileNode(JcrRepositoryFileUtils.java:323) 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

    Pentaho BI Platform Tracking | 7 years ago | Golda David
    javax.jcr.ItemExistsException: /pentaho/tenant0/home/tiffany/Transformation 1.ktr

    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. javax.jcr.ItemExistsException

      /pentaho/tenant0/etc/pdi/databases/sampledata_hysql.kdb

      at org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run()
    2. org.pentaho.di
      SaveProgressDialog$1.run
      1. org.pentaho.di.ui.spoon.dialog.SaveProgressDialog$1.run(SaveProgressDialog.java:77)
      1 frame
    3. JFace
      ModalContext$ModalContextThread.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
      1 frame