Bug 6806 - NullPointerException moving enpty cu out of default package
Summary: NullPointerException moving enpty cu out of default package
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-11 13:01 EST by Jerome Lanneluc CLA
Modified: 2002-01-11 08:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2001-12-11 13:01:11 EST
Build 20011206

1. Create empty file X.java in default package
2. Move it to another package (using drag-and-drop)
Observe: You get a NullPointerException
Comment 1 Jerome Lanneluc CLA 2001-12-11 13:24:27 EST
Fixed by checking if the CU is empty in the CopyResourceElementsOperation.