org.pentaho.ui.xul.XulException: Error invoking method: spoon.openFile()

Pentaho BI Platform Tracking | David Kincade | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I created a file-based repository. I then created a new transformation and then saved the transformation to the repository. I then closed the transformation and tried to re-open from the repository and received an error: ERROR 22-03 10:19:10,935 - Error invoking method: spoon.openFile() java.lang.reflect.InvocationTargetException 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.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.SwtToolbarbutton.access$100(SwtToolbarbutton.java:35) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:82) 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:1213) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6680) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:559) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:189) at org.pentaho.di.ui.spoon.Spoon.addTransGraph(Spoon.java:7491) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3523) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3443) ... 22 more Caused by: java.lang.UnsupportedOperationException at org.pentaho.di.repository.filerep.KettleFileRepository.getTransformationLock(KettleFileRepository.java:1102) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:183) ... 25 more ERROR 22-03 10:19:10,936 - Error calling oncommand event org.pentaho.ui.xul.XulException: Error invoking method: spoon.openFile() 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.SwtToolbarbutton.access$100(SwtToolbarbutton.java:35) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:82) 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:1213) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6680) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:559) 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.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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) ... 17 more Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:189) at org.pentaho.di.ui.spoon.Spoon.addTransGraph(Spoon.java:7491) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3523) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3443) ... 22 more Caused by: java.lang.UnsupportedOperationException at org.pentaho.di.repository.filerep.KettleFileRepository.getTransformationLock(KettleFileRepository.java:1102) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:183) ... 25 more

    Pentaho BI Platform Tracking | 7 years ago | David Kincade
    org.pentaho.ui.xul.XulException: Error invoking method: spoon.openFile()
  2. 0

    I created a file-based repository. I then created a new transformation and then saved the transformation to the repository. I then closed the transformation and tried to re-open from the repository and received an error: ERROR 22-03 10:19:10,935 - Error invoking method: spoon.openFile() java.lang.reflect.InvocationTargetException 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.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.SwtToolbarbutton.access$100(SwtToolbarbutton.java:35) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:82) 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:1213) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6680) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:559) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:189) at org.pentaho.di.ui.spoon.Spoon.addTransGraph(Spoon.java:7491) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3523) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3443) ... 22 more Caused by: java.lang.UnsupportedOperationException at org.pentaho.di.repository.filerep.KettleFileRepository.getTransformationLock(KettleFileRepository.java:1102) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:183) ... 25 more ERROR 22-03 10:19:10,936 - Error calling oncommand event org.pentaho.ui.xul.XulException: Error invoking method: spoon.openFile() 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.SwtToolbarbutton.access$100(SwtToolbarbutton.java:35) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:82) 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:1213) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6680) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:559) 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.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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) ... 17 more Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:189) at org.pentaho.di.ui.spoon.Spoon.addTransGraph(Spoon.java:7491) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3523) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3443) ... 22 more Caused by: java.lang.UnsupportedOperationException at org.pentaho.di.repository.filerep.KettleFileRepository.getTransformationLock(KettleFileRepository.java:1102) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:183) ... 25 more

    Pentaho BI Platform Tracking | 7 years ago | David Kincade
    org.pentaho.ui.xul.XulException: Error invoking method: spoon.openFile()

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      No message provided

      at org.pentaho.di.repository.filerep.KettleFileRepository.getTransformationLock()
    2. org.pentaho.di
      Spoon.openFile
      1. org.pentaho.di.repository.filerep.KettleFileRepository.getTransformationLock(KettleFileRepository.java:1102)
      2. org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:183)
      3. org.pentaho.di.ui.spoon.Spoon.addTransGraph(Spoon.java:7491)
      4. org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3523)
      5. org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:3443)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. org.pentaho.ui
      SwtToolbarbutton$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.SwtToolbarbutton.access$100(SwtToolbarbutton.java:35)
      5. org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:82)
      5 frames
    5. 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
    6. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1213)
      2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6680)
      3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:559)
      3 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
      1 frame