Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 73962 - [IDE] NPE in CopyFilesAndFoldersOperation when overwriting existing folder
Summary: [IDE] NPE in CopyFilesAndFoldersOperation when overwriting existing folder
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 67203
  Show dependency tree
 
Reported: 2004-09-15 03:34 EDT by Markus Keller CLA
Modified: 2004-09-21 11:33 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2004-09-15 03:34:40 EDT
I200409140800, spawned from bug 73767.

In the Resource Navigator, set up this structure:

zzz (Java Project)
+ src (source folder)
  + a (package)
    + A.java

Somewhere else in the file system, have:
...
+ a (folder)
  + file.txt

Now drag-and-drop the folder '.../a' from an OS file explorer onto the source
folder 'src'. A dialog asks: "zzz/src/a exists. Do you want to overwrite?" with
options "Yes", "Yes to All", "No", "Cancel".

Clicking "Yes" yields an NPE and no copying taking place:
Error Sep 14, 2004 11:41:41.313 Exception in
org.eclipse.ui.actions.CopyFilesAndFoldersOperation.performCopy():
java.lang.NullPointerException
Comment 1 Tod Creasey CLA 2004-09-17 15:05:06 EDT
This was a refactoring error. Fixed in build >20040917
Comment 2 Tod Creasey CLA 2004-09-21 11:33:19 EDT
Verified in 200409210800