org.pentaho.ui.xul.binding.BindingException: Error invoking setter method [setSelectedFileItems] on target: org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.TrashBrowseController@4b7689bc

Pentaho BI Platform Tracking | Jordan Ganoff | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Repro: Delete an object, restore it, try to select the object again in the browser and you'll get: org.pentaho.ui.xul.binding.BindingException: Error invoking setter method [setSelectedFileItems] on target: org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.TrashBrowseController@4b7689bc at org.pentaho.ui.xul.swt.SwtBinding$1.propertyChange(SwtBinding.java:110) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.pentaho.ui.xul.swt.tags.SwtTree$9.selectionChanged(SwtTree.java:502) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162) at org.eclipse.jface.util.SafeRunnable$3.run(SafeRunnable.java:154) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2047) at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1138) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1168) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:227) at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:221) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:388) 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:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:129) at org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3333) 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:1153) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6725) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:537) 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.swt.SwtBinding$1.propertyChange(SwtBinding.java:107) ... 30 more Caused by: org.pentaho.ui.xul.binding.BindingException: Error invoking setter method [setRevisionObjects] on target: org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController@4ef5c3a6 at org.pentaho.ui.xul.binding.DefaultBinding$1.propertyChange(DefaultBinding.java:250) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.pentaho.ui.xul.XulEventSourceAdapter.firePropertyChange(XulEventSourceAdapter.java:29) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.setRepositoryItems(BrowseController.java:725) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.setSelectedFileItems(BrowseController.java:696) ... 35 more Caused by: java.lang.IllegalStateException: Repository does not support revisions at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController$3.sourceToTarget(RevisionController.java:134) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController$3.sourceToTarget(RevisionController.java:113) at org.pentaho.ui.xul.binding.DefaultBinding.doConversions(DefaultBinding.java:164) at org.pentaho.ui.xul.binding.DefaultBinding$1.propertyChange(DefaultBinding.java:242) ... 40 more

    Pentaho BI Platform Tracking | 6 years ago | Jordan Ganoff
    org.pentaho.ui.xul.binding.BindingException: Error invoking setter method [setSelectedFileItems] on target: org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.TrashBrowseController@4b7689bc
  2. 0

    Repro: Delete an object, restore it, try to select the object again in the browser and you'll get: org.pentaho.ui.xul.binding.BindingException: Error invoking setter method [setSelectedFileItems] on target: org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.TrashBrowseController@4b7689bc at org.pentaho.ui.xul.swt.SwtBinding$1.propertyChange(SwtBinding.java:110) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.pentaho.ui.xul.swt.tags.SwtTree$9.selectionChanged(SwtTree.java:502) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162) at org.eclipse.jface.util.SafeRunnable$3.run(SafeRunnable.java:154) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2047) at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1138) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1168) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:227) at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:221) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:388) 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:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:129) at org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3333) 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:1153) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6725) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:537) 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.swt.SwtBinding$1.propertyChange(SwtBinding.java:107) ... 30 more Caused by: org.pentaho.ui.xul.binding.BindingException: Error invoking setter method [setRevisionObjects] on target: org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController@4ef5c3a6 at org.pentaho.ui.xul.binding.DefaultBinding$1.propertyChange(DefaultBinding.java:250) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.pentaho.ui.xul.XulEventSourceAdapter.firePropertyChange(XulEventSourceAdapter.java:29) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.setRepositoryItems(BrowseController.java:725) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.setSelectedFileItems(BrowseController.java:696) ... 35 more Caused by: java.lang.IllegalStateException: Repository does not support revisions at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController$3.sourceToTarget(RevisionController.java:134) at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController$3.sourceToTarget(RevisionController.java:113) at org.pentaho.ui.xul.binding.DefaultBinding.doConversions(DefaultBinding.java:164) at org.pentaho.ui.xul.binding.DefaultBinding$1.propertyChange(DefaultBinding.java:242) ... 40 more

    Pentaho BI Platform Tracking | 6 years ago | Jordan Ganoff
    org.pentaho.ui.xul.binding.BindingException: Error invoking setter method [setSelectedFileItems] on target: org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.TrashBrowseController@4b7689bc

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Repository does not support revisions

      at org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController$3.sourceToTarget()
    2. org.pentaho.di
      RevisionController$3.sourceToTarget
      1. org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController$3.sourceToTarget(RevisionController.java:134)
      2. org.pentaho.di.ui.repository.pur.repositoryexplorer.controller.RevisionController$3.sourceToTarget(RevisionController.java:113)
      2 frames
    3. org.pentaho.ui
      DefaultBinding$1.propertyChange
      1. org.pentaho.ui.xul.binding.DefaultBinding.doConversions(DefaultBinding.java:164)
      2. org.pentaho.ui.xul.binding.DefaultBinding$1.propertyChange(DefaultBinding.java:242)
      2 frames
    4. Java RT
      PropertyChangeSupport.firePropertyChange
      1. java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
      2. java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
      2 frames
    5. org.pentaho.ui
      XulEventSourceAdapter.firePropertyChange
      1. org.pentaho.ui.xul.XulEventSourceAdapter.firePropertyChange(XulEventSourceAdapter.java:29)
      1 frame
    6. org.pentaho.di
      BrowseController.setSelectedFileItems
      1. org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.setRepositoryItems(BrowseController.java:725)
      2. org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.setSelectedFileItems(BrowseController.java:696)
      2 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.ui
      SwtBinding$1.propertyChange
      1. org.pentaho.ui.xul.swt.SwtBinding$1.propertyChange(SwtBinding.java:107)
      1 frame
    9. Java RT
      PropertyChangeSupport.firePropertyChange
      1. java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
      2. java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
      2 frames
    10. org.pentaho.ui
      SwtTree$9.selectionChanged
      1. org.pentaho.ui.xul.swt.tags.SwtTree$9.selectionChanged(SwtTree.java:502)
      1 frame
    11. JFace
      OpenStrategy$1.handleEvent
      1. org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
      2. org.eclipse.jface.util.SafeRunnable$3.run(SafeRunnable.java:154)
      3. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
      4. org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
      5. org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2047)
      6. org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1138)
      7. org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1168)
      8. org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:227)
      9. org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:221)
      10. org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:388)
      10 frames
    12. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      4 frames
    13. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
      2. org.eclipse.jface.window.Window.open(Window.java:796)
      2 frames
    14. org.pentaho.ui
      SwtDialog.show
      1. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378)
      2. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304)
      2 frames
    15. org.pentaho.di
      Spoon$20$1.run
      1. org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:129)
      2. org.pentaho.di.ui.spoon.Spoon$20$1.run(Spoon.java:3333)
      2 frames
    16. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      4 frames
    17. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1153)
      2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6725)
      3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:537)
      3 frames