Project: talenddataquality
Issue TDQ-6610: Analysis editor composite will got chaos after execution in DI perspective
run an analysis in DI perspective turn back to DQ perspective, the composite got be like the screenshot and failed run in DI {code} java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:477) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.talend.dataprofiler.core.ui.progress.ProgressUI.popProgressDialog(ProgressUI.java:54) at org.talend.dataprofiler.core.ui.utils.pagination.PaginationInfo.renderContents(PaginationInfo.java:67) at org.talend.dataprofiler.core.ui.utils.pagination.UIPagination.refresh(UIPagination.java:116) at org.talend.dataprofiler.core.ui.utils.pagination.UIPagination.init(UIPagination.java:98) at org.talend.dataprofiler.core.ui.editor.analysis.ColumnMasterDetailsPage.createPreviewCharts(ColumnMasterDetailsPage.java:600) at org.talend.dataprofiler.core.ui.editor.analysis.ColumnMasterDetailsPage.refresh(ColumnMasterDetailsPage.java:628) at org.talend.dataprofiler.core.ui.editor.analysis.AbstractAnalysisMetadataPage.fireRuningItemChanged(AbstractAnalysisMetadataPage.java:210) at org.talend.dataprofiler.core.ui.action.actions.RunAnalysisAction$1$2.run(RunAnalysisAction.java:339) 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:127) 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) Caused by: java.lang.NullPointerException at org.talend.dataprofiler.core.ui.views.ColumnViewerDND.installDND(ColumnViewerDND.java:106) at org.talend.dataprofiler.core.ui.editor.composite.AnalysisColumnTreeViewer.createTree(AnalysisColumnTreeViewer.java:207) at org.talend.dataprofiler.core.ui.editor.composite.AnalysisColumnTreeViewer.setElements(AnalysisColumnTreeViewer.java:389) at org.talend.dataprofiler.core.ui.editor.analysis.MasterPaginationInfo.render(MasterPaginationInfo.java:69) at org.talend.dataprofiler.core.ui.utils.pagination.PaginationInfo$1.run(PaginationInfo.java:59) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) ... 35 more Root exception: java.lang.NullPointerException at org.talend.dataprofiler.core.ui.views.ColumnViewerDND.installDND(ColumnViewerDND.java:106) at org.talend.dataprofiler.core.ui.editor.composite.AnalysisColumnTreeViewer.createTree(AnalysisColumnTreeViewer.java:207) at org.talend.dataprofiler.core.ui.editor.composite.AnalysisColumnTreeViewer.setElements(AnalysisColumnTreeViewer.java:389) at org.talend.dataprofiler.core.ui.editor.analysis.MasterPaginationInfo.render(MasterPaginationInfo.java:69) at org.talend.dataprofiler.core.ui.utils.pagination.PaginationInfo$1.run(PaginationInfo.java:59) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.talend.dataprofiler.core.ui.progress.ProgressUI.popProgressDialog(ProgressUI.java:54) at org.talend.dataprofiler.core.ui.utils.pagination.PaginationInfo.renderContents(PaginationInfo.java:67) at org.talend.dataprofiler.core.ui.utils.pagination.UIPagination.refresh(UIPagination.java:116) at org.talend.dataprofiler.core.ui.utils.pagination.UIPagination.init(UIPagination.java:98) at org.talend.dataprofiler.core.ui.editor.analysis.ColumnMasterDetailsPage.createPreviewCharts(ColumnMasterDetailsPage.java:600) at org.talend.dataprofiler.core.ui.editor.analysis.ColumnMasterDetailsPage.refresh(ColumnMasterDetailsPage.java:628) at org.talend.dataprofiler.core.ui.editor.analysis.AbstractAnalysisMetadataPage.fireRuningItemChanged(AbstractAnalysisMetadataPage.java:210) at org.talend.dataprofiler.core.ui.action.actions.RunAnalysisAction$1$2.run(RunAnalysisAction.java:339) 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:127) 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) {code}
Story points: 3