Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: MongoDB Delete, widget disposed when pressing escape #2971

Closed
hansva opened this issue May 26, 2023 · 2 comments
Closed

[Bug]: MongoDB Delete, widget disposed when pressing escape #2971

hansva opened this issue May 26, 2023 · 2 comments
Assignees
Labels
Milestone

Comments

@hansva
Copy link
Contributor

hansva commented May 26, 2023

Apache Hop version?

2.5.0-SNAPSHOT (2023-05-24 09.54.30)

Java version?

11

Operating system

macOS

What happened?

When opening the MongoDB Delete transform and pressing escape a widget disposed error is shown.

org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4918)
	at org.eclipse.swt.SWT.error(SWT.java:4833)
	at org.eclipse.swt.SWT.error(SWT.java:4804)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:811)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:597)
	at org.eclipse.swt.widgets.Decorations.getText(Decorations.java:372)
	at org.apache.hop.ui.core.gui.WindowProperty.<init>(WindowProperty.java:59)
	at org.apache.hop.ui.pipeline.transform.BaseTransformDialog.dispose(BaseTransformDialog.java:283)
	at org.apache.hop.pipeline.transforms.mongodbdelete.MongoDbDeleteDialog.cancel(MongoDbDeleteDialog.java:527)
	at org.apache.hop.pipeline.transforms.mongodbdelete.MongoDbDeleteDialog.lambda$open$8(MongoDbDeleteDialog.java:519)
	at org.apache.hop.ui.core.dialog.BaseDialog.lambda$defaultShellHandling$1(BaseDialog.java:493)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4646)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1547)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1532)
	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:2219)
	at org.eclipse.swt.widgets.Control.traverse(Control.java:5043)
	at org.eclipse.swt.widgets.Control.translateTraversal(Control.java:4822)
	at org.eclipse.swt.widgets.Control.keyDown(Control.java:2451)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:6324)
	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:236)
	at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2264)
	at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2511)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:6444)
	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
	at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5692)
	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5831)
	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:3986)
	at org.apache.hop.ui.core.dialog.BaseDialog.defaultShellHandling(BaseDialog.java:515)
	at org.apache.hop.pipeline.transforms.mongodbdelete.MongoDbDeleteDialog.open(MongoDbDeleteDialog.java:519)
	at org.apache.hop.ui.hopgui.file.pipeline.delegates.HopGuiPipelineTransformDelegate.editTransform(HopGuiPipelineTransformDelegate.java:174)
	at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.editTransform(HopGuiPipelineGraph.java:3345)
	at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.mouseUp(HopGuiPipelineGraph.java:937)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:224)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4646)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1547)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1532)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1325)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4413)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3989)
	at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:474)
	at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:352)

Issue Priority

Priority: 3

Issue Component

Component: Transforms

@hansva
Copy link
Contributor Author

hansva commented May 26, 2023

.take-issue

@hansva
Copy link
Contributor Author

hansva commented May 26, 2023

.take-issue

@hansva hansva added this to the 2.6 milestone Jul 12, 2023
@hansva hansva closed this as completed in 2fea38d Jul 12, 2023
hansva added a commit that referenced this issue Jul 12, 2023
mongoDb Delete widget disposed error and enable test, fixes #2971
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant