This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I am running:
Product Version: NetBeans IDE 7.0 (Build 201107282000)
Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Userdir: C:\Users\aparikh\.netbeans\7.0
When I go to Tools->Plugins, 'Updates', 'Available Plugins', 'Installed' tabs are empty.
When I click the 'Reload Catalog' button, I get the following error message (lower right hand corner red icon):
java.lang.NoClassDefFoundError: org/netbeans/updater/XMLUtil
at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.newEntityResolver(AutoupdateCatalogParser.java:126)
at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.<init>(AutoupdateCatalogParser.java:95)
at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:187)
at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:126)
at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getDescription(AutoupdateCatalogProvider.java:104)
at org.netbeans.modules.autoupdate.services.UpdateUnitProviderImpl.getDescription(UpdateUnitProviderImpl.java:113)
at org.netbeans.api.autoupdate.UpdateUnitProvider.getDescription(UpdateUnitProvider.java:107)
at org.netbeans.modules.autoupdate.ui.actions.ShowNotifications.getMessage(ShowNotifications.java:89)
at org.netbeans.modules.autoupdate.ui.actions.ShowNotifications.checkNotification(ShowNotifications.java:76)
at org.netbeans.modules.autoupdate.ui.Utilities.showProviderNotification(Utilities.java:553)
at org.netbeans.modules.autoupdate.ui.Utilities.tryRefreshProviders(Utilities.java:571)
at org.netbeans.modules.autoupdate.ui.Utilities.doRefreshProviders(Utilities.java:548)
at org.netbeans.modules.autoupdate.ui.Utilities.presentRefreshProviders(Utilities.java:542)
at org.netbeans.modules.autoupdate.ui.UnitTab$13.run(UnitTab.java:761)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
I suspect a failed installation. I would uninstall it, wipe out the installation directory and settings directory, download again, verify the checksum, and install again.
(The missing class should be in platform\modules\ext\updater.jar in your NetBeans installation)
I have this NB installation for quite some time and I have been updating it.
I have the platform\modules\ext\updater.jar in the NB installation...
Anyway, if I was to uninstall and reinstall, which one is the settings directory?
Is it the Userdir: C:\Users\aparikh\.netbeans\7.0?
Installation dir is C:\Program Files\NetBeans 7.0
My project dirs located under C:\NetBeans will be OK, right?
Your projects should be safe, they will not be deleted.
have this NB installation for quite some time and I have been updating it.
This could explain it. I use Eclipse and NEVER let Eclipse install any updates or patches. I used to and always ended up with an unusable mess. Ever since I stopped doing that life have been wonderful.