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.

Bug 46291 - Moving several files throws CompositionViolationException exception
Summary: Moving several files throws CompositionViolationException exception
Status: CLOSED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Martin Matula
URL:
Keywords:
: 46850 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-19 14:39 UTC by Marek Grummich
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (1.82 KB, text/plain)
2004-07-19 14:39 UTC, Marek Grummich
Details
I cannot reproduce Marek's exception due to CompositionViolationException (1.43 KB, text/plain)
2004-07-20 16:51 UTC, Jan Becicka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Grummich 2004-07-19 14:39:03 UTC
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)
Comment 1 Marek Grummich 2004-07-19 14:39:27 UTC
Created attachment 16321 [details]
Exception
Comment 2 Jan Becicka 2004-07-20 16:51:09 UTC
Created attachment 16344 [details]
I cannot reproduce Marek's exception due to CompositionViolationException
Comment 3 Jan Becicka 2004-07-22 07:48:00 UTC
Problem is with inner classes. Martin knows the details.
Comment 4 Martin Matula 2004-08-03 09:10:55 UTC
The NPE is a duplicate of issue 46451.
Comment 5 Martin Matula 2004-08-03 09:11:33 UTC
*** Issue 46850 has been marked as a duplicate of this issue. ***
Comment 6 Peter Nabbefeld 2004-08-03 09:42:28 UTC
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).
Comment 7 Tomas Hurka 2004-08-17 11:07:21 UTC
I cannot reproduce it on todays dev build. Closing as works-for-me.
Comment 8 Marek Grummich 2004-10-07 11:23:39 UTC
Verified 200410070525
Comment 9 Quality Engineering 2007-09-20 12:18:31 UTC
Reorganization of java component