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.
Created attachment 130581 [details] error after first reload Product Version: NetBeans IDE 7.2.1 (Build 201210100934) Updates: Updates available Java: 1.7.0_09; Java HotSpot(TM) 64-Bit Server VM 23.5-b02 System: Linux version 3.5.0-17-generic running on amd64; UTF-8; hu_HU (nb) User directory: /home/sola/.netbeans/7.2.1 Cache directory: /home/sola/.cache/netbeans/7.2.1 --------- I am developing a Mavenized Platform application. I have a module (module1) attached to the "app" project of the platform application as a Maven dependency. Module1 is also added as a module to the pom of the "parent" project of the platform application. Module1 is a very simple project consisting a singleton topcomponent created with the visual designer. When I modify the code of Module1 (say, change the background color of a label placed in the topcomponent) the following happens: I build Module1 with "Build". I call "Reload in target platform": The text of menu item for the topcomponent (in the "Window" menu) disappears in the running platform application. The menu item stays there but it will not work anymore. There is an error in the "IDE Log" window (attached:error_after_first_reload.txt) After this, Module1 somehow becomes invalid in the platform application and will not load even after a full restart of the application. I can fix this only by running a full "Clean & Build" and calling "Reload in target platform" but I still get an error from the platform application in a dialog (attached:error_after_second_reload.txt) and an error in the "IDE log" (attached:error_after_second_reload2.txt). After this the platform application can be restarted and will start without errors and showing the modified version of Module1.
Created attachment 130583 [details] error after the second reload
Created attachment 130584 [details] error_after_second_reload2
most likely a duplicate of issue 221781, turning Compile on Save off should improve the behaviour of annotations and other things.
Switching "Compile on Save" off and doing a "Clean" on my projects seems to corrected the problem. After changing the code, a single "Reload on target platform" correctly updates the running platform application.
please note that in 7.3, CoS is off by default (with exception of web, ejb and ear projects) *** This bug has been marked as a duplicate of bug 221781 ***