org.pentaho.ui.xul.binding.BindingException: Error invoking setter method [setElements] on target: org.pentaho.ui.xul.swt.tags.SwtListbox@55547df3

Pentaho BI Platform Tracking | Dzmitry Stsiapanau | 3 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

    Latest master versions can not create valid repository dialog and as result you have no ability to connect to any type of repository. To reproduce: If you have enabled check box (Show repository dialog on start up) and some valid repositories in your .kettle/repositories.xml just run Spoon.bat and you will see error msg dialog. In case you have disabled check box after starting try to connect to existing repository or try to create new. Also it is reproduced for builds downloaded from CI. org.pentaho.ui.xul.binding.BindingException: Error invoking setter method [setElements] on target: org.pentaho.ui.xul.swt.tags.SwtListbox@55547df3 at org.pentaho.ui.xul.binding.DefaultBinding$1.propertyChange(DefaultBinding.java:269) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) at org.pentaho.ui.xul.XulEventSourceAdapter.firePropertyChange(XulEventSourceAdapter.java:57) at org.pentaho.di.ui.repository.model.RepositoriesModel.setAvailableRepositories(RepositoriesModel.java:83) at org.pentaho.di.ui.repository.RepositoriesHelper.<init>(RepositoriesHelper.java:88) at org.pentaho.di.ui.repository.controllers.RepositoriesController.createBindings(RepositoriesController.java:160) at org.pentaho.di.ui.repository.controllers.RepositoriesController.init(RepositoriesController.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.initialize(AbstractXulDomContainer.java:141) at org.pentaho.ui.xul.swt.SwtXulRunner$1.run(SwtXulRunner.java:67) at org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source) at org.eclipse.swt.widgets.Display.syncExec(Unknown Source) at org.pentaho.ui.xul.swt.SwtXulRunner.initialize(SwtXulRunner.java:64) at org.pentaho.di.ui.repository.RepositoriesDialog.<init>(RepositoriesDialog.java:86) at org.pentaho.di.ui.spoon.Spoon.selectRep(Spoon.java:7472) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:7658) at org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:9038) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.jface.window.Window.open(Window.java:785) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9053) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:642) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:151) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.binding.DefaultBinding$1.propertyChange(DefaultBinding.java:265) ... 31 more Caused by: java.lang.RuntimeException: java.lang.ClassCastException: org.pentaho.di.repository.filerep.KettleFileRepositoryMeta cannot be cast to org.pentaho.ui.xul.XulEventSource at org.pentaho.ui.xul.swt.tags.SwtListbox.wireLabel(SwtListbox.java:375) at org.pentaho.ui.xul.swt.tags.SwtListbox.setElements(SwtListbox.java:332) ... 36 more Caused by: java.lang.ClassCastException: org.pentaho.di.repository.filerep.KettleFileRepositoryMeta cannot be cast to org.pentaho.ui.xul.XulEventSource at org.pentaho.ui.xul.swt.tags.SwtListbox.wireLabel(SwtListbox.java:368) ... 37 more

    Pentaho BI Platform Tracking | 3 years ago | Dzmitry Stsiapanau
    org.pentaho.ui.xul.binding.BindingException: Error invoking setter method [setElements] on target: org.pentaho.ui.xul.swt.tags.SwtListbox@55547df3
  2. 0

    Latest master versions can not create valid repository dialog and as result you have no ability to connect to any type of repository. To reproduce: If you have enabled check box (Show repository dialog on start up) and some valid repositories in your .kettle/repositories.xml just run Spoon.bat and you will see error msg dialog. In case you have disabled check box after starting try to connect to existing repository or try to create new. Also it is reproduced for builds downloaded from CI. org.pentaho.ui.xul.binding.BindingException: Error invoking setter method [setElements] on target: org.pentaho.ui.xul.swt.tags.SwtListbox@55547df3 at org.pentaho.ui.xul.binding.DefaultBinding$1.propertyChange(DefaultBinding.java:269) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) at org.pentaho.ui.xul.XulEventSourceAdapter.firePropertyChange(XulEventSourceAdapter.java:57) at org.pentaho.di.ui.repository.model.RepositoriesModel.setAvailableRepositories(RepositoriesModel.java:83) at org.pentaho.di.ui.repository.RepositoriesHelper.<init>(RepositoriesHelper.java:88) at org.pentaho.di.ui.repository.controllers.RepositoriesController.createBindings(RepositoriesController.java:160) at org.pentaho.di.ui.repository.controllers.RepositoriesController.init(RepositoriesController.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.initialize(AbstractXulDomContainer.java:141) at org.pentaho.ui.xul.swt.SwtXulRunner$1.run(SwtXulRunner.java:67) at org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source) at org.eclipse.swt.widgets.Display.syncExec(Unknown Source) at org.pentaho.ui.xul.swt.SwtXulRunner.initialize(SwtXulRunner.java:64) at org.pentaho.di.ui.repository.RepositoriesDialog.<init>(RepositoriesDialog.java:86) at org.pentaho.di.ui.spoon.Spoon.selectRep(Spoon.java:7472) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:7658) at org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:9038) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.jface.window.Window.open(Window.java:785) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9053) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:642) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:151) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.binding.DefaultBinding$1.propertyChange(DefaultBinding.java:265) ... 31 more Caused by: java.lang.RuntimeException: java.lang.ClassCastException: org.pentaho.di.repository.filerep.KettleFileRepositoryMeta cannot be cast to org.pentaho.ui.xul.XulEventSource at org.pentaho.ui.xul.swt.tags.SwtListbox.wireLabel(SwtListbox.java:375) at org.pentaho.ui.xul.swt.tags.SwtListbox.setElements(SwtListbox.java:332) ... 36 more Caused by: java.lang.ClassCastException: org.pentaho.di.repository.filerep.KettleFileRepositoryMeta cannot be cast to org.pentaho.ui.xul.XulEventSource at org.pentaho.ui.xul.swt.tags.SwtListbox.wireLabel(SwtListbox.java:368) ... 37 more

    Pentaho BI Platform Tracking | 3 years ago | Dzmitry Stsiapanau
    org.pentaho.ui.xul.binding.BindingException: Error invoking setter method [setElements] on target: org.pentaho.ui.xul.swt.tags.SwtListbox@55547df3

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.pentaho.di.repository.filerep.KettleFileRepositoryMeta cannot be cast to org.pentaho.ui.xul.XulEventSource

      at org.pentaho.ui.xul.swt.tags.SwtListbox.wireLabel()
    2. org.pentaho.ui
      SwtListbox.setElements
      1. org.pentaho.ui.xul.swt.tags.SwtListbox.wireLabel(SwtListbox.java:368)
      2. org.pentaho.ui.xul.swt.tags.SwtListbox.setElements(SwtListbox.java:332)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. org.pentaho.ui
      DefaultBinding$1.propertyChange
      1. org.pentaho.ui.xul.binding.DefaultBinding$1.propertyChange(DefaultBinding.java:265)
      1 frame
    5. Java RT
      PropertyChangeSupport.firePropertyChange
      1. java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
      2. java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
      3. java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
      3 frames
    6. org.pentaho.ui
      XulEventSourceAdapter.firePropertyChange
      1. org.pentaho.ui.xul.XulEventSourceAdapter.firePropertyChange(XulEventSourceAdapter.java:57)
      1 frame
    7. org.pentaho.di
      RepositoriesController.init
      1. org.pentaho.di.ui.repository.model.RepositoriesModel.setAvailableRepositories(RepositoriesModel.java:83)
      2. org.pentaho.di.ui.repository.RepositoriesHelper.<init>(RepositoriesHelper.java:88)
      3. org.pentaho.di.ui.repository.controllers.RepositoriesController.createBindings(RepositoriesController.java:160)
      4. org.pentaho.di.ui.repository.controllers.RepositoriesController.init(RepositoriesController.java:103)
      4 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    9. org.pentaho.ui
      SwtXulRunner$1.run
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313)
      2. org.pentaho.ui.xul.impl.AbstractXulDomContainer.initialize(AbstractXulDomContainer.java:141)
      3. org.pentaho.ui.xul.swt.SwtXulRunner$1.run(SwtXulRunner.java:67)
      3 frames
    10. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source)
      2. org.eclipse.swt.widgets.Display.syncExec(Unknown Source)
      2 frames
    11. org.pentaho.ui
      SwtXulRunner.initialize
      1. org.pentaho.ui.xul.swt.SwtXulRunner.initialize(SwtXulRunner.java:64)
      1 frame
    12. org.pentaho.di
      Spoon.createContents
      1. org.pentaho.di.ui.repository.RepositoriesDialog.<init>(RepositoriesDialog.java:86)
      2. org.pentaho.di.ui.spoon.Spoon.selectRep(Spoon.java:7472)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:7658)
      4. org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:9038)
      4 frames
    13. JFace
      Window.open
      1. org.eclipse.jface.window.Window.create(Window.java:426)
      2. org.eclipse.jface.window.Window.open(Window.java:785)
      2 frames
    14. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9053)
      2. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:642)
      2 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    16. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:151)
      1 frame