Project: talenddataquality
Issue TDQ-4781: Do a nominal column correlation analyze with an empty column, it will throw error
as the summary said: if analyze a column which has no data, it will throw this error java.lang.NullPointerException at edu.uci.ics.jung.visualization.ISOMLayout.getISOMVertexData(ISOMLayout.java:222) at edu.uci.ics.jung.visualization.ISOMLayout.adjustVertex(ISOMLayout.java:183) at edu.uci.ics.jung.visualization.ISOMLayout.adjust(ISOMLayout.java:167) at edu.uci.ics.jung.visualization.ISOMLayout.advancePositions(ISOMLayout.java:128) at edu.uci.ics.jung.visualization.LayoutDecorator.advancePositions(LayoutDecorator.java:64) at edu.uci.ics.jung.visualization.DefaultVisualizationModel.prerelax(DefaultVisualizationModel.java:209) at edu.uci.ics.jung.visualization.DefaultVisualizationModel.setGraphLayout(DefaultVisualizationModel.java:137) at edu.uci.ics.jung.visualization.DefaultVisualizationModel.(DefaultVisualizationModel.java:82) at edu.uci.ics.jung.visualization.DefaultVisualizationModel.(DefaultVisualizationModel.java:66) at org.talend.dataprofiler.core.ui.chart.jung.JungGraphGenerator.generate(JungGraphGenerator.java:122) at org.talend.dataprofiler.core.ui.chart.jung.JungGraphGenerator.generate(JungGraphGenerator.java:109) at org.talend.dataprofiler.core.ui.editor.analysis.ColumnCorrelationNominalAndIntervalMasterPage.createPreviewCharts(ColumnCorrelationNominalAndIntervalMasterPage.java:419) at org.talend.dataprofiler.core.ui.editor.analysis.ColumnCorrelationNominalAndIntervalMasterPage.refresh(ColumnCorrelationNominalAndIntervalMasterPage.java:522) at org.talend.dataprofiler.core.ui.editor.analysis.AbstractAnalysisMetadataPage.fireRuningItemChanged(AbstractAnalysisMetadataPage.java:189) at org.talend.dataprofiler.core.ui.action.actions.RunAnalysisAction$1$2.run(RunAnalysisAction.java:286) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.talend.rcp.intro.Application.start(Application.java:129) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Story points: 3