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 101823 - Pluginmanager .nbms should not show in M8
Summary: Pluginmanager .nbms should not show in M8
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-19 18:04 UTC by Jaromir Uhrik
Modified: 2007-04-25 17:32 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log attached... (52.87 KB, text/plain)
2007-04-19 18:05 UTC, Jaromir Uhrik
Details
proposed patch (6.51 KB, patch)
2007-04-20 09:34 UTC, Jiri Rechtacek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2007-04-19 18:04:45 UTC
NetBeans IDE Dev (Build 200703280911)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87
Mac OS X version 10.4.9 running on i386
en_US (nb); MacRoman

I have installed following modules from Development Update Center:
org.netbeans.modules.autoupdate.services
org.netbeans.modules.autoupdate.ui

Then I went to main menu and selected Tools|Plugin Manager - the following
exception appeared in Exception dialog:
java.lang.NoClassDefFoundError: org/netbeans/core/NbTopManager
	at org.netbeans.modules.autoupdate.services.Utils.getModuleInstance(Utils.java:244)
	at org.netbeans.modules.autoupdate.services.Utils.toModule(Utils.java:66)
	at org.netbeans.api.autoupdate.UpdateUnit.isAutoload(UpdateUnit.java:48)
...

There should be set implementation dependencies correctly in order to modules
are not available for builds like M8.
Comment 1 Jaromir Uhrik 2007-04-19 18:05:46 UTC
Created attachment 41284 [details]
messages.log attached...
Comment 2 Jiri Rechtacek 2007-04-19 19:47:05 UTC
Need to increase spec.version of required modules: startup and bootstrap. Then
increase spec.version of all three AU modules, ide/updatecenters included.
Jardo, could be it a risky in any manner?
Comment 3 Jiri Rechtacek 2007-04-20 09:34:36 UTC
Created attachment 41317 [details]
proposed patch
Comment 4 Jaroslav Tulach 2007-04-20 21:20:28 UTC
Ok. Next time do not forget to increase spec version when enlarging list of 
friends of a module.
Comment 5 Jiri Rechtacek 2007-04-23 09:34:36 UTC
Checking in core/bootstrap/manifest.mf;
/shared/data/ccvs/repository/core/bootstrap/manifest.mf,v  <--  manifest.mf
new revision: 1.9; previous revision: 1.8
done
Checking in core/startup/nbproject/project.properties;
/shared/data/ccvs/repository/core/startup/nbproject/project.properties,v  <-- 
project.properties
new revision: 1.12; previous revision: 1.11
done
Checking in autoupdate/manifest.mf;
/shared/data/ccvs/repository/autoupdate/manifest.mf,v  <--  manifest.mf
new revision: 1.64; previous revision: 1.63
done
Checking in autoupdate/services/manifest.mf;
/shared/data/ccvs/repository/autoupdate/services/manifest.mf,v  <--  manifest.mf
new revision: 1.3; previous revision: 1.2
done
Checking in autoupdate/services/nbproject/project.xml;
/shared/data/ccvs/repository/autoupdate/services/nbproject/project.xml,v  <-- 
project.xml
new revision: 1.5; previous revision: 1.4
done
Checking in autoupdate/ui/manifest.mf;
/shared/data/ccvs/repository/autoupdate/ui/manifest.mf,v  <--  manifest.mf
new revision: 1.3; previous revision: 1.2
done
Checking in autoupdate/ui/nbproject/project.xml;
/shared/data/ccvs/repository/autoupdate/ui/nbproject/project.xml,v  <--  project.xml
new revision: 1.3; previous revision: 1.2
done
Checking in ide/updatecenters/manifest.mf;
/shared/data/ccvs/repository/ide/updatecenters/manifest.mf,v  <--  manifest.mf
new revision: 1.9; previous revision: 1.8
done
Checking in ide/updatecenters/nbproject/project.xml;
/shared/data/ccvs/repository/ide/updatecenters/nbproject/project.xml,v  <-- 
project.xml
new revision: 1.8; previous revision: 1.7
done
Comment 6 Jaromir Uhrik 2007-04-25 17:32:52 UTC
Verified - it is fixed on the side of autoupdate. Additional Startup module
issue #102522 has been filed.