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.
[netbeans RC1] Steps: 1) create Enterprise application 2) create new library and add to project 3) close enterprise application 4) delete library 5) open enterprise application 6) go to EAR proiperties panel and click Library node ERROR: get exception
Created attachment 21785 [details] stack trace
I found more missing bundle keys in ear project so now I am trying to verify from sources that every possibly requsted key is available in corresponding bundle.
I found some other missing bundle keys: [java] NO KEY FOUND - MSG_AACH_RefToItself [java] Referred in file e:\temp\.\j2ee\utilities\src\org\netbeans\modules\j2ee\common\ui\customizer\AntArtifactChooser.java:205 [java] According to class = AntArtifactChooser [java] Bundle file = E:\temp\j2ee\utilities\src\org\netbeans\modules\j2ee\common\ui\customizer\Bundle.properties [java] ------------------------------------------- [java] NO KEY FOUND - MSG_AACH_Cycles [java] Referred in file e:\temp\.\j2ee\utilities\src\org\netbeans\modules\j2ee\common\ui\customizer\AntArtifactChooser.java:212 [java] According to class = AntArtifactChooser [java] Bundle file = E:\temp\j2ee\utilities\src\org\netbeans\modules\j2ee\common\ui\customizer\Bundle.properties [java] ------------------------------------------- [java] NO KEY FOUND - LBL_IncompatibleLibrary_ToolTip [java] Referred in file e:\temp\.\j2ee\utilities\src\org\netbeans\modules\j2ee\common\ui\customizer\LibrariesChooser.java:274 [java] According to class = LibrariesChooser [java] Bundle file = E:\temp\j2ee\utilities\src\org\netbeans\modules\j2ee\common\ui\customizer\Bundle.properties [java] ------------------------------------------- [java] NO KEY FOUND - LBL_MISSING_LIBRARY [java] Referred in file e:\temp\.\j2ee\utilities\src\org\netbeans\modules\j2ee\common\ui\customizer\VisualClassPathItem.java:179 [java] According to class = VisualClassPathItem [java] Bundle file = E:\temp\j2ee\utilities\src\org\netbeans\modules\j2ee\common\ui\customizer\Bundle.properties [java] ------------------------------------------- [java] NO KEY FOUND - MSG_WebInfCorrupted [java] Referred in file e:\temp\.\j2ee\earproject\src\org\netbeans\modules\j2ee\earproject\ProjectEar.java:86 [java] According to class = ProjectEar [java] Bundle file = E:\temp\j2ee\earproject\src\org\netbeans\modules\j2ee\earproject\Bundle.properties
Created attachment 21817 [details] Proposed release41 patch
Created attachment 21818 [details] patched j2ee/utilities release41 module
Created attachment 21819 [details] patched j2ee/earproject release41 module
Since I did a refactoring of many classes in j2ee/utilities and j2ee/refactoring modules since release41 brach was created, the fix is different for trunk and release41. I have attached patched modules for nb41. Petre, can you please verify the patch in release41 build?
The described scenario was tested in netbeans41 RC1 (200504200735) with patched modules. Error messages are OK. Please merge fix to netebans41 branch and trunk.
fixed in trunk Checking in src/org/netbeans/modules/j2ee/earproject/ui/customizer/Bundle.properties; /cvs/j2ee/earproject/src/org/netbeans/modules/j2ee/earproject/ui/customizer/Bundle.properties,v <-- Bundle.properties new revision: 1.10; previous revision: 1.9 done
marked as fixed
I reviewed the fix and agree with it.
fixed in release41 branch Checking in earproject/src/org/netbeans/modules/j2ee/earproject/Bundle.properties; /cvs/j2ee/earproject/src/org/netbeans/modules/j2ee/earproject/Bundle.properties,v <-- Bundle.properties new revision: 1.4.2.2; previous revision: 1.4.2.1 done Checking in utilities/src/org/netbeans/modules/j2ee/common/ui/customizer/Bundle.properties; /cvs/j2ee/utilities/src/org/netbeans/modules/j2ee/common/ui/customizer/Attic/Bundle.properties,v <-- Bundle.properties new revision: 1.7.2.1; previous revision: 1.7 done
[Build netbeans41 RC2 20050427]