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.
When you cut a java source file in the explorer from a package and then paste it in another package the new package specification is added to the top of the source file. But the old package specification is not removed. This leads to compiler errors. For eg you move a file from myproject.mypackage.myfiles to myproject.mypackage.otherfiles. The head of the source file will be package myproject.mypackage.otherfiles; package myproject.mypackage.myfiles; The old package specification is not removed.
Please tell us build number of your IDE - there was several such errors in pre-1070 builds. Also - because I can't reproduce the bug - I'll need more information about the exact sequence of actions; does it occur regularly or occasionally (if only occasionally, can you provide list of action that may make the bug more likely to happen ?)
According to the reporter, the bug happens on the following configuration: Windows 95, JDK-1.3, Forte4J 1.0 (Build 842). I'm changing the result to FIXED - this bug and several others were solved in Jaga/Boston branch several months ago.
Resolved for 3.4.x or earlier, no new info since then -> closing.