Project: talenddataquality
Issue TDQ-12153: The NPE error message shows after clicking Next button in the Sematic Category Inference dialog
1.Select Sematci-aware Analysis by right clicking one table 2.Click Next button in the Sematic Category Inference dialog Expected result： Everything worked well Actual result: The NPE shows.see attachment. the error message as below: {code} java.lang.NullPointerException java.lang.NullPointerException org.talend.dataquality.ontology.mapping.OntologyRepositoryManager.getTdColumnToAttributeMap(OntologyRepositoryManager.java:158) org.talend.dataquality.ontology.ui.wizard.MapOntologyPage.createDataset(MapOntologyPage.java:204) org.talend.dataquality.ontology.ui.wizard.MapOntologyPage.computeChart(MapOntologyPage.java:174) org.talend.dataquality.ontology.ui.wizard.MapOntologyPage.createChart(MapOntologyPage.java:148) org.talend.dataquality.ontology.ui.wizard.MapOntologyPage.createJFreeChartComposite(MapOntologyPage.java:131) org.talend.dataquality.ontology.ui.wizard.MapOntologyPage.createSamplingStrategySection(MapOntologyPage.java:119) org.talend.dataquality.ontology.ui.wizard.MapOntologyPage.createControl(MapOntologyPage.java:87) org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1276) org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1268) org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1257) org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1254) org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:942) org.talend.dataquality.ontology.ui.wizard.SemanticDiscoveryWizardDialog.nextPressed(SemanticDiscoveryWizardDialog.java:60) org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:434) org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619) 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.jface.window.Window.runEventLoop(Window.java:832) org.eclipse.jface.window.Window.open(Window.java:808) org.talend.dataquality.ontology.service.SemanticStudioServiceImpl.openSemanticDiscoveryWizard(SemanticStudioServiceImpl.java:45) org.talend.dataprofiler.core.ui.action.actions.predefined.SemanticDiscoveryAction.run(SemanticDiscoveryAction.java:54) org.eclipse.jface.action.Action.runWithEvent(Action.java:519) org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420) 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:208) 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:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:483) 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: 1