Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311087 - [Import/Export] NullPointerException when doing File System import.
Summary: [Import/Export] NullPointerException when doing File System import.
Status: CLOSED DUPLICATE of bug 310500
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 14:41 EDT by Nadeem Aboobaker CLA
Modified: 2010-04-29 14:50 EDT (History)
1 user (show)

See Also:


Attachments
Exception stacktrace after first attempt at import. (3.82 KB, text/plain)
2010-04-29 14:41 EDT, Nadeem Aboobaker CLA
no flags Details
Exception stacktrace after subsequent attempts at import. (4.41 KB, text/plain)
2010-04-29 14:42 EDT, Nadeem Aboobaker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nadeem Aboobaker CLA 2010-04-29 14:41:08 EDT
Build Identifier: I20100428-0100

When importing from the File System the first time, a user can select the source/destination and files to import.  When Finish is clicked, nothing happens and the Error Log shows an Unhandled event loop exception (NullPointerException in  WizardFileSystemResourceImportPage1.saveWidgetValues).

If the user cancels out and attempts to import from the File System again, a slightly different exception occurs after selecting General->File System on the first page of the wizard and clicking next.  The Error Log shows an Unhandled event loop exception (NullPointerException in  WizardFileSystemResourceImportPage1.restoreWidgetValues).

Reproducible: Always

Steps to Reproduce:
1. Create a new Project
2. Select File->Import...
3. Select General->File System
4. Click Next.
5. Select a "From Directory"
6. Check files/folders to be imported
7. Ensure an "Into directory" is selected
8. Click Finish

Note that nothing happens, and the Error Log now has an Unhandled event loop exception.  See attached file for stacktrace.

9. Cancel out of the Import wizard
10. Select File->Import...
11. Select General->File System
12. Click Next.

Note that nothing happens, and the Error Log now has another Unhandled event loop exception. See attached file for stacktrace.

After the first attempt to import into the Workspace, the user will always get the exception after selecting General->File System and clicking Next.
Comment 1 Nadeem Aboobaker CLA 2010-04-29 14:41:47 EDT
Created attachment 166545 [details]
Exception stacktrace after first attempt at import.
Comment 2 Nadeem Aboobaker CLA 2010-04-29 14:42:08 EDT
Created attachment 166546 [details]
Exception stacktrace after subsequent attempts at import.
Comment 3 Prakash Rangaraj CLA 2010-04-29 14:50:47 EDT
This should work in I20100428-1300. Your build is few hours earlier than this one. Check https://bugs.eclipse.org/bugs/show_bug.cgi?id=310500#c10

*** This bug has been marked as a duplicate of bug 310500 ***