Project: talenddataquality
Issue TDQ-4748: "export items" on tool bar, in some way will throw a NPE
in export wizard, there are two radio buttons "Select root directory:" "Select archive file:" the "root directory" button is the default check click on "Browse" button to choose a path to export then check radio button -- "Select archive file:" while check back to "root directory" click finish button to export items, but failed and throw an error: java.lang.NullPointerException at org.talend.dataprofiler.core.ui.imex.model.FileSystemExportWriter.write(FileSystemExportWriter.java:165) at org.talend.dataprofiler.core.ui.imex.model.FileSystemExportWriter.write(FileSystemExportWriter.java:138) at org.talend.dataprofiler.core.ui.imex.ExportWizard$1.run(ExportWizard.java:76) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) if give the "archive file" path do this operation -- check "directory" radio button then check back to "archive file" will get this java.lang.NullPointerException at org.talend.dataprofiler.core.ui.imex.model.ZipFileExportWriter.write(ZipFileExportWriter.java:67) at org.talend.dataprofiler.core.ui.imex.model.FileSystemExportWriter.write(FileSystemExportWriter.java:138) at org.talend.dataprofiler.core.ui.imex.ExportWizard$1.run(ExportWizard.java:76) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Story points: 5