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 30054 - Missing resource exception from ExecSupport class
Summary: Missing resource exception from ExecSupport class
Status: VERIFIED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
: 30184 34824 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-14 11:20 UTC by Jiri Skrivanek
Modified: 2003-12-23 10:52 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (2.08 KB, text/plain)
2003-01-14 11:21 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2003-01-14 11:20:49 UTC
In build 200301140100 it is thrown
MissingResourceException (see attachment) when
creating a JSP from template.
Comment 1 Jiri Skrivanek 2003-01-14 11:21:18 UTC
Created attachment 8560 [details]
Stack trace
Comment 2 Jesse Glick 2003-01-16 01:59:23 UTC
Code copied-and-pasted from openide (ExecSupport.java) failed to copy
also the resource bundle keys. They were rearranged in openide in the
course of a recent bugfix (which BTW is still broken in j2eeserver's
old copy of the file).
Comment 3 Jesse Glick 2003-01-16 01:59:50 UTC
Can consider "started" in the sense that the problem is diagnosed and
should be trivial to correct.
Comment 4 Petr Jiricka 2003-01-16 16:37:05 UTC
Fixed in trunk, netbeans 3.5 branch and the q-build branch.
Comment 5 Jiri Skrivanek 2003-01-17 08:27:46 UTC
Verified in build 200301170100.
Comment 6 Jesse Glick 2003-04-07 21:46:57 UTC
*** Issue 30184 has been marked as a duplicate of this issue. ***
Comment 7 Jesse Glick 2003-04-07 22:04:36 UTC
Was fixed badly:

(1) The bundle keys are not matched to the correct class.
NbBundle.getBundle(ExecSupport.class).getString("CTL_ServiceConfigure")
is wrong, since org.openide.loaders.Bundle has no such key. Ditto
"CTL_Service_Configuration_Title". Therefore calling
ExecSupport.choose will fail. Probably no one has tried to call it
yet. Not clear under which conditions this method would be called.

(2) The point of filing the bug was that the j2eeserver module *must
not reuse* any bundle keys from other modules, or it is subject to be
broken without notice. This was not fixed.

In fact the bad code is apparently missing from the trunk, so these
concerns only apply to r35. Trunk code for this module does not appear
to abuse bundles.
Comment 8 _ rkubacki 2003-04-08 08:00:44 UTC
It is not missing in trunk:
j2eeserver/deprecated/src/org/netbeans/modules/j2ee/impl/ExecSupport.java

so I reopen this with much lower priority because we can't reproduce
this though the code is really bad. Either we can close it once the
code really become obsolete or fix it appropriately.
Comment 9 Petr Jiricka 2003-12-05 12:58:08 UTC
> Either we can close it once the code really become obsolete

The code is now really obsolete - marking as WONTFIX.
Comment 10 Petr Jiricka 2003-12-05 13:03:24 UTC
*** Issue 34824 has been marked as a duplicate of this issue. ***
Comment 11 Jiri Skrivanek 2003-12-23 10:52:55 UTC
Verified