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.
I wanted to experiment with the metrics module and how to upgrade it to 4.0. First I wanted to make some changes in the package structure: move all XXXMetrics classes into a spi subpackage. Refactoring complains, and some other component also (I don't remember at the moment, but this has also been a problem with 3.5 versions, so You probably will remember). That's more or less as expected, as NB is still not even beta, so didn't matter. After moving the classes I restarted the NB4.0dev. First time: hanging up, had to kill it from the task manager. Second time: Started, but with an error message. For more information I attach the startup log.
Created attachment 16620 [details] My startup log (I've not yet shut down NB)
Just found out, that CompositionViolationException is thrown because of the invalid package (moving between packages does not update the pacake-declaration!!!). However, an invalid package may not result in an exception. The unfamous "Exception in RequestProcessor" is thrown several times while manually correcting the package-declaration. BTW: I'm using a Maven project running the mevenide bridge. However, this should be independent of my problems, because SourceGroup objects are used to detect packages etc., IMO only an improper constant expression (such as sometimes used in hotfixes) might cause problems here.
*** This issue has been marked as a duplicate of 46291 ***