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 41020 - Missing resource exception URL_Default_Alpha
Summary: Missing resource exception URL_Default_Alpha
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jiri Rechtacek
: 41047 41521 (view as bug list)
Depends on:
Reported: 2004-03-16 09:47 UTC by _ pkuzel
Modified: 2004-03-31 07:44 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

simple fix (4.00 KB, patch)
2004-03-16 10:45 UTC, Jiri Rechtacek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2004-03-16 09:47:13 UTC
Keeping my 2days old userdir I get following
exception when I want access Tools / Setup Wizard.

Annotation: Key which was not found: URL_Default_Alpha
java.util.MissingResourceException: Can't find
resource for bundle
org.openide.util.NbBundle$PBundle, key

If you persist bundle key you should keep it alive
for backward compatability purposes. Currently I
cannot access Setup Wizard functionality at all
until giving up rest of my settings.
Comment 1 Marian Mirilovic 2004-03-16 10:09:14 UTC
I think it's stopper for today's NB3.6 RC1 - rising priority to P1 :
- impossible open Update Center Wizard
- impossible open Setup Wizard

Steps to reproduce :
- run NB3.5.1
- open Update Center Wizard
- check Alpha Update Center (important!)
- run NB3.6 RC1 (200304151830)
- try to open Setup Wizard or Update Center Wizard (MRE rises) and
wizard never comes up !
Comment 2 Marian Mirilovic 2004-03-16 10:11:01 UTC
I've forgot mention , for NB3.6 - import userdir from previous NB3.5.1 !
Comment 3 Jiri Rechtacek 2004-03-16 10:45:40 UTC
Created attachment 13993 [details]
simple fix
Comment 4 Jiri Rechtacek 2004-03-16 10:55:59 UTC
The attached fix adds the appropriate keys to bundles. If an user will
import from nb3.5 (or nb3.6 Beta) where was Alfa AU checked then this
AU  center is imported and checked in nb3.6 as well. Yardo, please
could you review my patch before will integrated in release36? Thanks
Comment 5 Jaroslav Tulach 2004-03-16 13:24:45 UTC
The patch guarantees that:
1. no MissingResourceEx is thrown after import of previous AU centers
2. third party AU is always visible
3. any user customization in 3.5 are prevented and kept for 3.6
I believe that it is a good patch.
Comment 6 Marian Mirilovic 2004-03-16 14:38:06 UTC
I've tried Jirka's build with proposed patch and it works as expected....

I tried these scenarios :
1. NB 3.5.1 -> NB3.6 rc1
2. NB 3.6 beta -> NB3.6 rc1

- run previous version of IDE
- open Update Center Wizard
- check Alpha update center
- create new one (My Own Update Center)
- run NB3.6 rc1
- open Update Center Wizard 
-> all settings are set correctly
- open Setup Wizard
-> no Exception .....

Thanks Jirka ;)
Comment 7 Jiri Rechtacek 2004-03-16 15:24:14 UTC
Attached patch was applied to release36 branch. Thanks for review of
patch and assure that it operates correctly.
Comment 8 Jiri Rechtacek 2004-03-16 20:56:17 UTC
*** Issue 41047 has been marked as a duplicate of this issue. ***
Comment 9 Marian Mirilovic 2004-03-17 11:10:46 UTC
verified in [nb_36_rc1](200403161736)
Comment 10 Jiri Rechtacek 2004-03-31 07:44:07 UTC
*** Issue 41521 has been marked as a duplicate of this issue. ***