Project: talenddataquality
Issue TDQ-9365: remove duplidate job and pattern ETL job can not transfer DB type when connection is oracle service name
issue1: 1. create an "oracle service name" connection, create a column analysis about it, 2. add simple indicator, add a pattern, run 3. turn to result page, try to generate Remove Duplicate job. and on Pattern try to generate get Valid/Invalid rows job Expected Result: job should get correct db information Actual Result: for Remove duplicate job, the output can not get correct db type. for pattern Valid/Invalid row job, for input component can not get correct db type Issue 2: about issue1, when db is "oracle oci" remove duplicate job and pattern's job can not generated {code} ERROR org.talend.datacleansing.core.ui.actions.IndicatorJobAction - UnSupport Database Component Exception java.lang.NullPointerException org.talend.datacleansing.core.ui.jobs.template.ADatabaseJobAction.extractDBProductInfo(ADatabaseJobAction.java:70) org.talend.datacleansing.core.ui.actions.IndicatorJobAction.(IndicatorJobAction.java:86) org.talend.datacleansing.core.ui.actions.pattern.PatternIndicatorJobAction.(PatternIndicatorJobAction.java:44) org.talend.datacleansing.core.ui.actions.pattern.PatternRowsJobAction.(PatternRowsJobAction.java:50) org.talend.datacleansing.core.ui.actions.ui.pattern.PatternJobSelectWizardPage.getJobAction(PatternJobSelectWizardPage.java:128) org.talend.datacleansing.core.ui.actions.ui.pattern.PatternJobSelectWizard.performFinish(PatternJobSelectWizard.java:62) org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811) org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430) org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) org.eclipse.jface.window.Window.runEventLoop(Window.java:825) org.eclipse.jface.window.Window.open(Window.java:801) org.talend.datacleansing.core.ui.service.DatabaseJobService.createJobActon(DatabaseJobService.java:97) org.talend.datacleansing.core.ui.service.DatabaseJobService.executeJob(DatabaseJobService.java:77) org.talend.dataprofiler.core.ui.editor.preview.model.ChartTableFactory$1.widgetSelected(ChartTableFactory.java:158) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) org.talend.rcp.intro.Application.start(Application.java:155) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:619) org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) org.eclipse.equinox.launcher.Main.run(Main.java:1407) {code}
Story points: 5