java.lang.reflect.InvocationTargetException

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

    We can discuss and probably push to RC1, but here's what I'm seeing: Create a new role/user have joe move a content out into public and give the new role read/write/delete privileges on the file logout, login with new user open the report and try to lock it. No message appears, the lock toggle is flipped but the file is not locked (no icon changes or anything) Error in console: ERROR 28-03 08:53:57,588 - Error invoking method: spoonLockController.lockContent() java.lang.reflect.InvocationTargetException 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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:24) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:74) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1144) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6372) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:539) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: java.lang.RuntimeException: javax.xml.ws.soap.SOAPFaultException: Access denied to this data; nested exceptio n is javax.jcr.AccessDeniedException: Access denied. at org.pentaho.di.ui.repository.pur.services.c.a(SourceFile:111) at org.pentaho.di.ui.repository.pur.services.c.onClose(SourceFile:96) at org.pentaho.ui.xul.swt.tags.SwtPromptBox.notifyListeners(SwtPromptBox.java:85) at org.pentaho.ui.xul.swt.tags.SwtPromptBox.open(SwtPromptBox.java:58) at org.pentaho.di.ui.repository.pur.services.SpoonLockController.lockContent(SourceFile:121) ... 22 more Caused by: javax.xml.ws.soap.SOAPFaultException: Access denied to this data; nested exception is javax.jcr.AccessDeniedE xception: Access denied. 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.lockFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.lockFile(SourceFile:171) at org.pentaho.di.repository.pur.PurRepository.lockFileById(SourceFile:1382) at org.pentaho.di.repository.pur.PurRepository.lockTransformation(SourceFile:1378) at org.pentaho.di.ui.repository.pur.services.c.a(SourceFile:102) ... 26 more Caused by: org.springframework.security.AccessDeniedException: Access denied to this data; nested exception is javax.jcr .AccessDeniedException: Access denied. at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.a(SourceFile:86) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(SourceFile:58) at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.lockFile(SourceFile:292) at com.pentaho.repository.pur.DefaultUnifiedRepository.lockFile(SourceFile:280) 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(MethodSecurityInte rceptor.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.lockFile(Unknown Source) at com.pentaho.repository.pur.ws.DefaultUnifiedRepositoryWebService.lockFile(SourceFile:146) 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:10 9) 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(AnonymousProcessingFi lter.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(HttpSessionContextInteg rationFilter.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(SecurityContextHold erAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile: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.AccessDeniedException: Access denied. at org.apache.jackrabbit.core.security.DefaultAccessManager.checkPermission(DefaultAccessManager.java:200) at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:310) at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:267) at org.apache.jackrabbit.core.NodeImpl.checkout(NodeImpl.java:3411) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.j(SourceFile:556) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.a(SourceFile:542) at com.pentaho.repository.pur.jcr.DefaultLockHelper.lockFile(SourceFile:171) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao$8.doInJcr(SourceFile:295) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(SourceFile:53) ... 80 more ERROR 28-03 08:53:57,807 - Error calling oncommand event org.pentaho.ui.xul.XulException: Error invoking method: spoonLockController.lockContent() at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:327) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:24) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:74) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1144) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6372) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:539) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: java.lang.reflect.InvocationTargetException 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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) ... 17 more Caused by: java.lang.RuntimeException: javax.xml.ws.soap.SOAPFaultException: Access denied to this data; nested exceptio n is javax.jcr.AccessDeniedException: Access denied. at org.pentaho.di.ui.repository.pur.services.c.a(SourceFile:111) at org.pentaho.di.ui.repository.pur.services.c.onClose(SourceFile:96) at org.pentaho.ui.xul.swt.tags.SwtPromptBox.notifyListeners(SwtPromptBox.java:85) at org.pentaho.ui.xul.swt.tags.SwtPromptBox.open(SwtPromptBox.java:58) at org.pentaho.di.ui.repository.pur.services.SpoonLockController.lockContent(SourceFile:121) ... 22 more Caused by: javax.xml.ws.soap.SOAPFaultException: Access denied to this data; nested exception is javax.jcr.AccessDeniedE xception: Access denied. 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.lockFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.lockFile(SourceFile:171) at org.pentaho.di.repository.pur.PurRepository.lockFileById(SourceFile:1382) at org.pentaho.di.repository.pur.PurRepository.lockTransformation(SourceFile:1378) at org.pentaho.di.ui.repository.pur.services.c.a(SourceFile:102) ... 26 more Caused by: org.springframework.security.AccessDeniedException: Access denied to this data; nested exception is javax.jcr .AccessDeniedException: Access denied. at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.a(SourceFile:86) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(SourceFile:58) at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.lockFile(SourceFile:292) at com.pentaho.repository.pur.DefaultUnifiedRepository.lockFile(SourceFile:280) 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(MethodSecurityInte rceptor.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.lockFile(Unknown Source) at com.pentaho.repository.pur.ws.DefaultUnifiedRepositoryWebService.lockFile(SourceFile:146) 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:10 9) 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(AnonymousProcessingFi lter.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(HttpSessionContextInteg rationFilter.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(SecurityContextHold erAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile: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.AccessDeniedException: Access denied. at org.apache.jackrabbit.core.security.DefaultAccessManager.checkPermission(DefaultAccessManager.java:200) at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:310) at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:267) at org.apache.jackrabbit.core.NodeImpl.checkout(NodeImpl.java:3411) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.j(SourceFile:556) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.a(SourceFile:542) at com.pentaho.repository.pur.jcr.DefaultLockHelper.lockFile(SourceFile:171) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao$8.doInJcr(SourceFile:295) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(SourceFile:53) ... 80 more

    Pentaho BI Platform Tracking | 7 years ago | Jake Cornelius
    java.lang.reflect.InvocationTargetException
  2. 0

    We can discuss and probably push to RC1, but here's what I'm seeing: Create a new role/user have joe move a content out into public and give the new role read/write/delete privileges on the file logout, login with new user open the report and try to lock it. No message appears, the lock toggle is flipped but the file is not locked (no icon changes or anything) Error in console: ERROR 28-03 08:53:57,588 - Error invoking method: spoonLockController.lockContent() java.lang.reflect.InvocationTargetException 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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:24) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:74) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1144) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6372) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:539) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: java.lang.RuntimeException: javax.xml.ws.soap.SOAPFaultException: Access denied to this data; nested exceptio n is javax.jcr.AccessDeniedException: Access denied. at org.pentaho.di.ui.repository.pur.services.c.a(SourceFile:111) at org.pentaho.di.ui.repository.pur.services.c.onClose(SourceFile:96) at org.pentaho.ui.xul.swt.tags.SwtPromptBox.notifyListeners(SwtPromptBox.java:85) at org.pentaho.ui.xul.swt.tags.SwtPromptBox.open(SwtPromptBox.java:58) at org.pentaho.di.ui.repository.pur.services.SpoonLockController.lockContent(SourceFile:121) ... 22 more Caused by: javax.xml.ws.soap.SOAPFaultException: Access denied to this data; nested exception is javax.jcr.AccessDeniedE xception: Access denied. 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.lockFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.lockFile(SourceFile:171) at org.pentaho.di.repository.pur.PurRepository.lockFileById(SourceFile:1382) at org.pentaho.di.repository.pur.PurRepository.lockTransformation(SourceFile:1378) at org.pentaho.di.ui.repository.pur.services.c.a(SourceFile:102) ... 26 more Caused by: org.springframework.security.AccessDeniedException: Access denied to this data; nested exception is javax.jcr .AccessDeniedException: Access denied. at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.a(SourceFile:86) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(SourceFile:58) at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.lockFile(SourceFile:292) at com.pentaho.repository.pur.DefaultUnifiedRepository.lockFile(SourceFile:280) 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(MethodSecurityInte rceptor.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.lockFile(Unknown Source) at com.pentaho.repository.pur.ws.DefaultUnifiedRepositoryWebService.lockFile(SourceFile:146) 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:10 9) 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(AnonymousProcessingFi lter.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(HttpSessionContextInteg rationFilter.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(SecurityContextHold erAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile: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.AccessDeniedException: Access denied. at org.apache.jackrabbit.core.security.DefaultAccessManager.checkPermission(DefaultAccessManager.java:200) at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:310) at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:267) at org.apache.jackrabbit.core.NodeImpl.checkout(NodeImpl.java:3411) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.j(SourceFile:556) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.a(SourceFile:542) at com.pentaho.repository.pur.jcr.DefaultLockHelper.lockFile(SourceFile:171) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao$8.doInJcr(SourceFile:295) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(SourceFile:53) ... 80 more ERROR 28-03 08:53:57,807 - Error calling oncommand event org.pentaho.ui.xul.XulException: Error invoking method: spoonLockController.lockContent() at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:327) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:24) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:74) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1144) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6372) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:539) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: java.lang.reflect.InvocationTargetException 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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) ... 17 more Caused by: java.lang.RuntimeException: javax.xml.ws.soap.SOAPFaultException: Access denied to this data; nested exceptio n is javax.jcr.AccessDeniedException: Access denied. at org.pentaho.di.ui.repository.pur.services.c.a(SourceFile:111) at org.pentaho.di.ui.repository.pur.services.c.onClose(SourceFile:96) at org.pentaho.ui.xul.swt.tags.SwtPromptBox.notifyListeners(SwtPromptBox.java:85) at org.pentaho.ui.xul.swt.tags.SwtPromptBox.open(SwtPromptBox.java:58) at org.pentaho.di.ui.repository.pur.services.SpoonLockController.lockContent(SourceFile:121) ... 22 more Caused by: javax.xml.ws.soap.SOAPFaultException: Access denied to this data; nested exception is javax.jcr.AccessDeniedE xception: Access denied. 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.lockFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.lockFile(SourceFile:171) at org.pentaho.di.repository.pur.PurRepository.lockFileById(SourceFile:1382) at org.pentaho.di.repository.pur.PurRepository.lockTransformation(SourceFile:1378) at org.pentaho.di.ui.repository.pur.services.c.a(SourceFile:102) ... 26 more Caused by: org.springframework.security.AccessDeniedException: Access denied to this data; nested exception is javax.jcr .AccessDeniedException: Access denied. at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.a(SourceFile:86) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(SourceFile:58) at org.springframework.extensions.jcr.JcrTemplate.execute(JcrTemplate.java:115) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao.lockFile(SourceFile:292) at com.pentaho.repository.pur.DefaultUnifiedRepository.lockFile(SourceFile:280) 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(MethodSecurityInte rceptor.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.lockFile(Unknown Source) at com.pentaho.repository.pur.ws.DefaultUnifiedRepositoryWebService.lockFile(SourceFile:146) 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:10 9) 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(AnonymousProcessingFi lter.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(HttpSessionContextInteg rationFilter.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(SecurityContextHold erAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile: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.AccessDeniedException: Access denied. at org.apache.jackrabbit.core.security.DefaultAccessManager.checkPermission(DefaultAccessManager.java:200) at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:310) at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:267) at org.apache.jackrabbit.core.NodeImpl.checkout(NodeImpl.java:3411) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.j(SourceFile:556) at com.pentaho.repository.pur.jcr.JcrRepositoryFileUtils.a(SourceFile:542) at com.pentaho.repository.pur.jcr.DefaultLockHelper.lockFile(SourceFile:171) at com.pentaho.repository.pur.jcr.JcrRepositoryFileDao$8.doInJcr(SourceFile:295) at com.pentaho.repository.pur.jcr.sejcr.PentahoJcrTemplate.execute(SourceFile:53) ... 80 more

    Pentaho BI Platform Tracking | 7 years ago | Jake Cornelius
    java.lang.reflect.InvocationTargetException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    In Spoon, while logged into an EE repo, if a transformation with many versions is locked and if you try to restore/open a version of the transformation you get a NoSuchElementException in the console. Nothing happens in Spoon like open or restore does not happen. This happens because after locking the transformation, the version do not refresh but if you click on something else in the Ui and then select the transformation and then right click on a version to open or restore it works fine. A friendly warning dialog will help. ERROR 01-12 16:37:07,088 - Error invoking method: revisionController.restoreRevision() java.lang.reflect.InvocationTargetException 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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:325) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:353) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:279) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:133) at org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3266) at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1150) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:543) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: java.lang.RuntimeException: org.pentaho.di.core.exception.KettleException: java.util.NoSuchElementException at org.pentaho.commons.launcher.Launcher.main (Launcher.java:110) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:543) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1150) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3266) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:279) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:353) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected (SwtMenuitem.java:77) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100 (SwtMenuitem.java:27) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:119) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:325) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision (SourceFile :207) at java.util.AbstractList$Itr.next (null:-1) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision(SourceFile: 241) ... 32 more Caused by: org.pentaho.di.core.exception.KettleException: java.util.NoSuchElementException at org.pentaho.commons.launcher.Launcher.main (Launcher.java:110) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:543) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1150) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3266) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:279) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:353) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected (SwtMenuitem.java:77) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100 (SwtMenuitem.java:27) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:119) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:325) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision (SourceFile :207) at java.util.AbstractList$Itr.next (null:-1) ... 33 more Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(Unknown Source) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision(SourceFile: 207) ... 32 more ERROR 01-12 16:37:07,131 - Error calling oncommand event org.pentaho.ui.xul.XulException: Error invoking method: revisionController.restoreRevision() at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:353) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:279) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:133) at org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3266) at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1150) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:543) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: java.lang.reflect.InvocationTargetException 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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:325) ... 27 more Caused by: java.lang.RuntimeException: org.pentaho.di.core.exception.KettleException: java.util.NoSuchElementException at org.pentaho.commons.launcher.Launcher.main (Launcher.java:110) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:543) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1150) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3266) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:279) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:353) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected (SwtMenuitem.java:77) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100 (SwtMenuitem.java:27) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:119) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:325) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision (SourceFile :207) at java.util.AbstractList$Itr.next (null:-1) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision(SourceFile: 241) ... 32 more Caused by: org.pentaho.di.core.exception.KettleException: java.util.NoSuchElementException at org.pentaho.commons.launcher.Launcher.main (Launcher.java:110) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:543) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1150) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3266) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:279) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:353) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected (SwtMenuitem.java:77) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100 (SwtMenuitem.java:27) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:119) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:325) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision (SourceFile :207) at java.util.AbstractList$Itr.next (null:-1) ... 33 more Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(Unknown Source) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision(SourceFile: 207) ... 32 more

    Pentaho BI Platform Tracking | 6 years ago | Golda David
    java.lang.reflect.InvocationTargetException
  5. 0

    In Spoon, while logged into an EE repo, if a transformation with many versions is locked and if you try to restore/open a version of the transformation you get a NoSuchElementException in the console. Nothing happens in Spoon like open or restore does not happen. This happens because after locking the transformation, the version do not refresh but if you click on something else in the Ui and then select the transformation and then right click on a version to open or restore it works fine. A friendly warning dialog will help. ERROR 01-12 16:37:07,088 - Error invoking method: revisionController.restoreRevision() java.lang.reflect.InvocationTargetException 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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:325) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:353) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:279) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:133) at org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3266) at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1150) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:543) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: java.lang.RuntimeException: org.pentaho.di.core.exception.KettleException: java.util.NoSuchElementException at org.pentaho.commons.launcher.Launcher.main (Launcher.java:110) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:543) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1150) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3266) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:279) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:353) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected (SwtMenuitem.java:77) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100 (SwtMenuitem.java:27) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:119) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:325) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision (SourceFile :207) at java.util.AbstractList$Itr.next (null:-1) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision(SourceFile: 241) ... 32 more Caused by: org.pentaho.di.core.exception.KettleException: java.util.NoSuchElementException at org.pentaho.commons.launcher.Launcher.main (Launcher.java:110) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:543) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1150) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3266) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:279) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:353) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected (SwtMenuitem.java:77) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100 (SwtMenuitem.java:27) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:119) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:325) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision (SourceFile :207) at java.util.AbstractList$Itr.next (null:-1) ... 33 more Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(Unknown Source) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision(SourceFile: 207) ... 32 more ERROR 01-12 16:37:07,131 - Error calling oncommand event org.pentaho.ui.xul.XulException: Error invoking method: revisionController.restoreRevision() at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:353) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:279) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:133) at org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3266) at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1150) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:543) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: java.lang.reflect.InvocationTargetException 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.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:325) ... 27 more Caused by: java.lang.RuntimeException: org.pentaho.di.core.exception.KettleException: java.util.NoSuchElementException at org.pentaho.commons.launcher.Launcher.main (Launcher.java:110) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:543) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1150) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3266) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:279) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:353) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected (SwtMenuitem.java:77) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100 (SwtMenuitem.java:27) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:119) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:325) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision (SourceFile :207) at java.util.AbstractList$Itr.next (null:-1) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision(SourceFile: 241) ... 32 more Caused by: org.pentaho.di.core.exception.KettleException: java.util.NoSuchElementException at org.pentaho.commons.launcher.Launcher.main (Launcher.java:110) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:543) at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:6640) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1150) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (null:-1) at org.eclipse.swt.widgets.RunnableLock.run (null:-1) at org.pentaho.di.ui.spoon.Spoon$20$1.run (Spoon.java:3266) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show (RepositoryExplorer.java:133) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:279) at org.pentaho.ui.xul.swt.tags.SwtDialog.show (SwtDialog.java:353) at org.eclipse.jface.window.Window.open (Window.java:796) at org.eclipse.jface.window.Window.runEventLoop (Window.java:820) at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1) at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1) at org.eclipse.swt.widgets.Widget.sendEvent (null:-1) at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1) at org.eclipse.swt.widgets.TypedListener.handleEvent (null:-1) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected (SwtMenuitem.java:77) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100 (SwtMenuitem.java:27) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:119) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke (AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke (AbstractXulDomContainer.java:325) at java.lang.reflect.Method.invoke (null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1) at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision (SourceFile :207) at java.util.AbstractList$Itr.next (null:-1) ... 33 more Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(Unknown Source) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController.restoreRevision(SourceFile: 207) ... 32 more

    Pentaho BI Platform Tracking | 6 years ago | Golda David
    java.lang.reflect.InvocationTargetException

  1. bmacedo 8 times, last 2 weeks ago
  2. aldrinleal 1 times, last 1 month ago
  3. ajinkya_w 96 times, last 2 months ago
  4. davidvanlaatum 4 times, last 2 months ago
  5. Handemelindo 2 times, last 3 months ago
17 more registered users
78 unregistered visitors
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. java.lang.reflect.InvocationTargetException

    No message provided

    at sun.reflect.NativeMethodAccessorImpl.invoke0()
  2. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  3. org.pentaho.ui
    SwtMenuitem$1.widgetSelected
    1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323)
    2. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131)
    3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119)
    4. org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:24)
    5. org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:74)
    5 frames
  4. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    5 frames
  5. org.pentaho.di
    Spoon.main
    1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1144)
    2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6372)
    3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:539)
    3 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  7. org.pentaho.commons
    Launcher.main
    1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
    1 frame