Project: talenddataquality
Issue TDQ-9997: right click on a pattern or a rule in table rule analysis, job can generated but dialog can not close
1. create a column analysis, add a pattern, run the analysis 2. turn to "Analysis Results" page, right click on the pattern -->Generate job 3. on the pop up dialog select one options and click "Ok" Expected Result: job generate without error and dialog close. Actual Result: job can generate but the pop up dialog on step3 can not close, and error log get error. same issue when right click on the rules in table Rule analysis to generate job(dialog can not close, get error) for other generate job operation will also get error in error log: 1. right click report-->Generate jobs-->Launch a report/Alter threshold violation 2. generate the remove duplicate job {code}java.lang.IllegalArgumentException: Argument not valid org.eclipse.swt.SWT.error(SWT.java:4422) org.eclipse.swt.SWT.error(SWT.java:4356) org.eclipse.swt.SWT.error(SWT.java:4327) org.eclipse.swt.graphics.Image.init(Image.java:1557) org.eclipse.swt.graphics.Image.(Image.java:180) org.talend.designer.core.ui.editor.AbstractTalendEditor.saveOutlinePicture(AbstractTalendEditor.java:1083) org.talend.designer.core.ui.editor.AbstractTalendEditor.savePreviewPictures(AbstractTalendEditor.java:1154) org.talend.designer.core.ui.editor.AbstractTalendEditor.doSave(AbstractTalendEditor.java:518) org.talend.designer.core.ui.AbstractMultiPageTalendEditor.doSave(AbstractMultiPageTalendEditor.java:975) org.talend.designer.core.ui.MultiPageTalendEditor.doSave(MultiPageTalendEditor.java:176) org.talend.datacleansing.core.ui.jobs.template.AJobAction.checkAndSave(AJobAction.java:316) org.talend.datacleansing.core.ui.jobs.template.AJobAction.addTemplateNodes(AJobAction.java:297) org.talend.datacleansing.core.ui.jobs.template.AJobAction.doRun(AJobAction.java:153) org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:635) org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:93) org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:237) org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3205) org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:1977) org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:641) org.talend.datacleansing.core.ui.actions.IndicatorJobAction.run(IndicatorJobAction.java:338) org.talend.datacleansing.core.ui.service.DatabaseJobService.executeJob(DatabaseJobService.java:79) org.talend.dataprofiler.core.ui.editor.preview.model.ChartTableFactory$1.widgetSelected(ChartTableFactory.java:149) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) org.talend.rcp.intro.Application.start(Application.java:162) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:606) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) org.eclipse.equinox.launcher.Main.run(Main.java:1465) {code}
Story points: 3