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 58139 - Key which was not found: LBL_MISSING_LIBRARY
Summary: Key which was not found: LBL_MISSING_LIBRARY
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 07:47 UTC by Petr Blaha
Modified: 2006-05-30 11:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (3.62 KB, text/plain)
2005-04-21 07:48 UTC, Petr Blaha
Details
Proposed release41 patch (1.77 KB, text/plain)
2005-04-22 09:40 UTC, Marek Fukala
Details
patched j2ee/utilities release41 module (534.25 KB, application/octet-stream)
2005-04-22 09:41 UTC, Marek Fukala
Details
patched j2ee/earproject release41 module (323.76 KB, application/octet-stream)
2005-04-22 09:42 UTC, Marek Fukala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2005-04-21 07:47:39 UTC
[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
Comment 1 Petr Blaha 2005-04-21 07:48:07 UTC
Created attachment 21785 [details]
stack trace
Comment 2 Marek Fukala 2005-04-21 08:09:19 UTC
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.
Comment 3 Marek Fukala 2005-04-21 14:37:30 UTC
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

Comment 4 Marek Fukala 2005-04-22 09:40:04 UTC
Created attachment 21817 [details]
Proposed release41 patch
Comment 5 Marek Fukala 2005-04-22 09:41:46 UTC
Created attachment 21818 [details]
patched j2ee/utilities release41 module
Comment 6 Marek Fukala 2005-04-22 09:42:36 UTC
Created attachment 21819 [details]
patched j2ee/earproject release41 module
Comment 7 Marek Fukala 2005-04-22 09:44:52 UTC
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?
Comment 8 Petr Blaha 2005-04-22 10:02:29 UTC
The described scenario was tested in netbeans41 RC1 (200504200735) with patched
modules. Error messages are OK. Please merge fix to netebans41 branch and trunk.
Comment 9 Marek Fukala 2005-04-22 10:05:33 UTC
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
Comment 10 Marek Fukala 2005-04-22 10:06:20 UTC
marked as fixed
Comment 11 Radko Najman 2005-04-22 11:51:48 UTC
I reviewed the fix and agree with it.
Comment 12 Marek Fukala 2005-04-25 13:41:56 UTC
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
Comment 13 Petr Blaha 2005-04-28 07:59:44 UTC
[Build netbeans41 RC2 20050427]