#204089:Cannot copy Java Package from one Project to another

Tomas Zezula <[email protected]> Mon, 21 Nov 2011 14:29:33 +0100
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
Issue: Cannot copy Java Package from one Project to another http://netbeans.org/bugzilla/show_bug.cgi?id=204089
Description: The DataFolder.copy is interrupted during copying of children by a RuntimeError (NPE) from org.netbeans.modules.refactoring.java.CopyHanlder
Impact: When coping a folder and a RuntimeException happens in CopyHanlder for some child file the rest of children is not copied.
Risk: Low.  Catching and logging the RuntimeException in CopyHandler (do not interrupt the copying) and do not do an useless rename to the same name.
Change set: http://hg.netbeans.org/jet-main/rev/0edc81c2aa11

Thanks,
Tomas