Uploaded image for project: 'Apache Hop (incubating)'
  1. Apache Hop (incubating)
  2. HOP-2897

Widget disposed error when creating new Unit Test

    XMLWordPrintableJSON

    Details

      Description

      When pushing the "create new unit test" button and then hitting escape you get a widget disposed error

      org.eclipse.swt.SWTException: Widget is disposed
      	at org.eclipse.swt.SWT.error(SWT.java:4889)
      	at org.eclipse.swt.SWT.error(SWT.java:4804)
      	at org.eclipse.swt.SWT.error(SWT.java:4775)
      	at org.eclipse.swt.widgets.Widget.error(Widget.java:810)
      	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:596)
      	at org.eclipse.swt.widgets.Decorations.getText(Decorations.java:374)
      	at org.apache.hop.ui.core.gui.WindowProperty.<init>(WindowProperty.java:65)
      	at org.apache.hop.ui.core.metadata.MetadataEditorDialog.dispose(MetadataEditorDialog.java:140)
      	at org.apache.hop.ui.core.metadata.MetadataEditorDialog.cancel(MetadataEditorDialog.java:119)
      	at org.apache.hop.ui.core.metadata.MetadataEditorDialog.lambda$open$3(MetadataEditorDialog.java:113)
      	at org.apache.hop.ui.core.dialog.BaseDialog.lambda$defaultShellHandling$1(BaseDialog.java:472)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4441)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
      	at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:624)
      	at org.eclipse.swt.widgets.Shell.close(Shell.java:618)
      	at org.eclipse.swt.widgets.Shell.traverseEscape(Shell.java:2195)
      	at org.eclipse.swt.widgets.Control.traverse(Control.java:5044)
      	at org.eclipse.swt.widgets.Control.translateTraversal(Control.java:4823)
      	at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1083)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:6251)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:235)
      	at org.eclipse.swt.widgets.Widget.superKeyDown(Widget.java:1960)
      	at org.eclipse.swt.widgets.Widget.keyDown(Widget.java:1130)
      	at org.eclipse.swt.widgets.Control.keyDown(Control.java:2457)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:6083)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:235)
      	at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2150)
      	at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2487)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:6203)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      	at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5442)
      	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5585)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      	at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:117)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3834)
      	at org.apache.hop.ui.core.dialog.BaseDialog.defaultShellHandling(BaseDialog.java:490)
      	at org.apache.hop.ui.core.metadata.MetadataEditorDialog.open(MetadataEditorDialog.java:113)
      	at org.apache.hop.ui.core.metadata.MetadataManager.newMetadata(MetadataManager.java:381)
      	at org.apache.hop.ui.core.metadata.MetadataManager.newMetadata(MetadataManager.java:364)
      	at org.apache.hop.testing.gui.TestingGuiPlugin.createUnitTest(TestingGuiPlugin.java:847)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.apache.hop.ui.core.gui.BaseGuiWidgets.lambda$getListener$1(BaseGuiWidgets.java:188)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4441)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
      	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1324)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4227)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3837)
      	at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:400)
      	at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:320)
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nadment Nicolas Adment
                Reporter:
                hansva Hans Van Akelyen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m