This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build 200407181800; j2sdk1.4.2_05 Steps: - create a new JavaApplication - exit IDE - copy sources and resources from <j2sdk1.4.2_05 home>/demo/jfc/SwingSet2/SwingSet2.jar to the project src directory - start IDE - create a new package demo under <default package> - use D&D functionality and move all *.java file from default package to the demo package => attached exception is thrown (reproducible)
Created attachment 16321 [details] Exception
Created attachment 16344 [details] I cannot reproduce Marek's exception due to CompositionViolationException
Problem is with inner classes. Martin knows the details.
The NPE is a duplicate of issue 46451.
*** Issue 46850 has been marked as a duplicate of this issue. ***
In my case (see Issue 46850 which has been marked as a duplicate) it looks like an mdr problem: CompositionViolationException occurs if the package-declaration is invalid (i.e. it has not been changed during move from the original package to another one).
I cannot reproduce it on todays dev build. Closing as works-for-me.
Verified 200410070525
Reorganization of java component