org.pentaho.ui.xul.XulException: Could not find Event Handler with the key : mainController

Pentaho BI Platform Tracking | Jose Berdecia | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    When moving a job/transformation with the same from one folder to another, the system generates an error message. See screenshot1 attached and detailed error message below: {noformat} org.pentaho.ui.xul.XulException: Could not find Event Handler with the key : mainController at org.pentaho.ui.xul.impl.AbstractXulDomContainer.getEventHandler(AbstractXulDomContainer.java:117) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.FileOverwriteDialogController.init(FileOverwriteDialogController.java:114) 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.repositoryexplorer.controllers.FileOverwriteDialogController.getInstance(FileOverwriteDialogController.java:95) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.onDrop(BrowseController.java:687) 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:305) at org.pentaho.ui.xul.swt.SwtElement$3.drop(SwtElement.java:724) at org.eclipse.swt.dnd.DNDListener.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.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source) at org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(Unknown Source) at org.eclipse.swt.dnd.DragSource.access$000(Unknown Source) at org.eclipse.swt.dnd.DragSource$1.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.di.ui.xul.KettleDialog.show(KettleDialog.java:73) at org.pentaho.di.ui.xul.KettleDialog.show(KettleDialog.java:42) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:152) at org.pentaho.di.ui.spoon.Spoon$25$1.run(Spoon.java:3995) 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:1316) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7954) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9285) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) 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:92) {noformat} Repro path: 1. Start DI Server 2. Open Spoon and sign into a repository 3. Create a job/transformation and save it 4. Save the same job/transformation with the same name in a different folder 5. Go to Tools > Explore 6. Locate job/transformation and move it to the other folder with the same job/transformation name Expected results: A warning dialog should display "Do you want to replace the files and folders" with "Yes" or "No" button. Actual Results: Error message window appears (see attached screenshot1).

    Pentaho BI Platform Tracking | 2 years ago | Jose Berdecia
    org.pentaho.ui.xul.XulException: Could not find Event Handler with the key : mainController
  2. 0

    When moving a job/transformation with the same from one folder to another, the system generates an error message. See screenshot1 attached and detailed error message below: {noformat} org.pentaho.ui.xul.XulException: Could not find Event Handler with the key : mainController at org.pentaho.ui.xul.impl.AbstractXulDomContainer.getEventHandler(AbstractXulDomContainer.java:117) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.FileOverwriteDialogController.init(FileOverwriteDialogController.java:114) 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.repositoryexplorer.controllers.FileOverwriteDialogController.getInstance(FileOverwriteDialogController.java:95) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.onDrop(BrowseController.java:687) 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:305) at org.pentaho.ui.xul.swt.SwtElement$3.drop(SwtElement.java:724) at org.eclipse.swt.dnd.DNDListener.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.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source) at org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(Unknown Source) at org.eclipse.swt.dnd.DragSource.access$000(Unknown Source) at org.eclipse.swt.dnd.DragSource$1.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.di.ui.xul.KettleDialog.show(KettleDialog.java:73) at org.pentaho.di.ui.xul.KettleDialog.show(KettleDialog.java:42) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:152) at org.pentaho.di.ui.spoon.Spoon$25$1.run(Spoon.java:3995) 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:1316) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7954) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9285) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) 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:92) {noformat} Repro path: 1. Start DI Server 2. Open Spoon and sign into a repository 3. Create a job/transformation and save it 4. Save the same job/transformation with the same name in a different folder 5. Go to Tools > Explore 6. Locate job/transformation and move it to the other folder with the same job/transformation name Expected results: A warning dialog should display "Do you want to replace the files and folders" with "Yes" or "No" button. Actual Results: Error message window appears (see attached screenshot1).

    Pentaho BI Platform Tracking | 2 years ago | Jose Berdecia
    org.pentaho.ui.xul.XulException: Could not find Event Handler with the key : mainController

    Root Cause Analysis

    1. org.pentaho.ui.xul.XulException

      Could not find Event Handler with the key : mainController

      at org.pentaho.ui.xul.impl.AbstractXulDomContainer.getEventHandler()
    2. org.pentaho.ui
      AbstractXulDomContainer.getEventHandler
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.getEventHandler(AbstractXulDomContainer.java:117)
      1 frame
    3. org.pentaho.di
      FileOverwriteDialogController.init
      1. org.pentaho.di.ui.repository.repositoryexplorer.controllers.FileOverwriteDialogController.init(FileOverwriteDialogController.java:114)
      1 frame
    4. 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
    5. 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
    6. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source)
      2. org.eclipse.swt.widgets.Display.syncExec(Unknown Source)
      2 frames
    7. org.pentaho.ui
      SwtXulRunner.initialize
      1. org.pentaho.ui.xul.swt.SwtXulRunner.initialize(SwtXulRunner.java:64)
      1 frame
    8. org.pentaho.di
      BrowseController.onDrop
      1. org.pentaho.di.ui.repository.repositoryexplorer.controllers.FileOverwriteDialogController.getInstance(FileOverwriteDialogController.java:95)
      2. org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.onDrop(BrowseController.java:687)
      2 frames
    9. 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
    10. org.pentaho.ui
      SwtElement$3.drop
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:305)
      2. org.pentaho.ui.xul.swt.SwtElement$3.drop(SwtElement.java:724)
      2 frames
    11. RWT
      DropTarget$3.method6
      1. org.eclipse.swt.dnd.DNDListener.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.Widget.sendEvent(Unknown Source)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      6. org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
      7. org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source)
      8. org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source)
      9. org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source)
      9 frames
    12. org.eclipse.swt
      COM.DoDragDrop
      1. org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source)
      2. org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
      2 frames
    13. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.dnd.DragSource.drag(Unknown Source)
      2. org.eclipse.swt.dnd.DragSource.access$000(Unknown Source)
      3. org.eclipse.swt.dnd.DragSource$1.handleEvent(Unknown Source)
      4. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      6. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      7. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      7 frames
    14. 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
    15. org.pentaho.di
      Spoon$25$1.run
      1. org.pentaho.di.ui.xul.KettleDialog.show(KettleDialog.java:73)
      2. org.pentaho.di.ui.xul.KettleDialog.show(KettleDialog.java:42)
      3. org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:152)
      4. org.pentaho.di.ui.spoon.Spoon$25$1.run(Spoon.java:3995)
      4 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:1316)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7954)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9285)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654)
      4 frames
    18. 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
    19. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      1 frame