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 200762 - Netbeans Update Broke IDE
Summary: Netbeans Update Broke IDE
Status: RESOLVED WORKSFORME
Alias: None
Product: updatecenters
Classification: Unclassified
Component: AU Masters (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-08 16:13 UTC by snackr
Modified: 2011-08-09 04:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
startup module error (10.00 KB, image/gif)
2011-08-08 17:14 UTC, snackr
Details
7.0.1 still errors after updating (19.75 KB, image/gif)
2011-08-08 17:32 UTC, snackr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description snackr 2011-08-08 16:13:31 UTC
Product Version = NetBeans IDE Dev (Build nbms-and-javadoc-7661-on-20110808)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_26
Runtime = Java HotSpot(TM) Client VM 20.1-b02

I just did an update today (8/8/2011) and now the "Base IDE" modules won't even load.

e.g.
-------- log ----------
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 2,147,483,647
INFO [org.netbeans.core.windows.persistence]: [PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'M2RepositoryBrowserTopComponent'. Reason: Top component M2RepositoryBrowserTopComponent could not be loaded, either owning module was disabled, has incompatible version or top components settings file format is broken.
INFO [org.netbeans.core.windows.persistence]: [PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'debugging'. Reason: Top component debugging could not be loaded, either owning module was disabled, has incompatible version or top components settings file format is broken.
INFO [org.netbeans.modules.autoupdate.ui.wizards.UninstallStep]: java.lang.IllegalArgumentException: Not all requested modules can be enabled: [StandardModule:org.netbeans.modules.ide.kit jarFile: C:\netbeans\ide\modules\org-netbeans-modules-ide-kit.jar, StandardModule:org.netbeans.modules.db.kit jarFile: C:\netbeans\ide\modules\org-netbeans-modules-db-kit.jar]
java.lang.IllegalArgumentException: Not all requested modules can be enabled: [StandardModule:org.netbeans.modules.ide.kit jarFile: C:\netbeans\ide\modules\org-netbeans-modules-ide-kit.jar, StandardModule:org.netbeans.modules.db.kit jarFile: C:\netbeans\ide\modules\org-netbeans-modules-db-kit.jar]
	at org.netbeans.ModuleManager.enable(ModuleManager.java:858)
	at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable.enable(OperationSupportImpl.java:186)
Caused: org.netbeans.api.autoupdate.OperationException: Not all requested modules can be enabled: [StandardModule:org.netbeans.modules.ide.kit jarFile: C:\netbeans\ide\modules\org-netbeans-modules-ide-kit.jar, StandardModule:org.netbeans.modules.db.kit jarFile: C:\netbeans\ide\modules\org-netbeans-modules-db-kit.jar]
	at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable.enable(OperationSupportImpl.java:189)
	at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable.access$1200(OperationSupportImpl.java:129)
	at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable$1.run(OperationSupportImpl.java:160)
	at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable$1.run(OperationSupportImpl.java:158)
	at org.openide.util.Mutex.writeAccess(Mutex.java:436)
	at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable.doOperation(OperationSupportImpl.java:158)
	at org.netbeans.api.autoupdate.OperationSupport.doOperation(OperationSupport.java:70)
[catch] at org.netbeans.modules.autoupdate.ui.wizards.UninstallStep.handleAction(UninstallStep.java:195)
	at org.netbeans.modules.autoupdate.ui.wizards.UninstallStep.doAction(UninstallStep.java:155)
	at org.netbeans.modules.autoupdate.ui.wizards.UninstallStep.access$000(UninstallStep.java:70)
	at org.netbeans.modules.autoupdate.ui.wizards.UninstallStep$1.propertyChange(UninstallStep.java:129)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
	at java.awt.Component.firePropertyChange(Component.java:8154)
	at org.netbeans.modules.autoupdate.ui.wizards.OperationPanel.access$000(OperationPanel.java:67)
	at org.netbeans.modules.autoupdate.ui.wizards.OperationPanel$1.run(OperationPanel.java:88)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
INFO [org.netbeans.modules.autoupdate.ui.wizards.UninstallStep]: java.lang.IllegalArgumentException: Not all requested modules can be enabled: [StandardModule:org.netbeans.modules.db.kit jarFile: C:\netbeans\ide\modules\org-netbeans-modules-db-kit.jar]
java.lang.IllegalArgumentException: Not all requested modules can be enabled: [StandardModule:org.netbeans.modules.db.kit jarFile: C:\netbeans\ide\modules\org-netbeans-modules-db-kit.jar]
	at org.netbeans.ModuleManager.enable(ModuleManager.java:858)
	at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable.enable(OperationSupportImpl.java:186)
Caused: org.netbeans.api.autoupdate.OperationException: Not all requested modules can be enabled: [StandardModule:org.netbeans.modules.db.kit jarFile: C:\netbeans\ide\modules\org-netbeans-modules-db-kit.jar]
	at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable.enable(OperationSupportImpl.java:189)
	at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable.access$1200(OperationSupportImpl.java:129)
	at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable$1.run(OperationSupportImpl.java:160)
	at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable$1.run(OperationSupportImpl.java:158)
	at org.openide.util.Mutex.writeAccess(Mutex.java:436)
	at org.netbeans.modules.autoupdate.services.OperationSupportImpl$ForEnable.doOperation(OperationSupportImpl.java:158)
	at org.netbeans.api.autoupdate.OperationSupport.doOperation(OperationSupport.java:70)
[catch] at org.netbeans.modules.autoupdate.ui.wizards.UninstallStep.handleAction(UninstallStep.java:195)
	at org.netbeans.modules.autoupdate.ui.wizards.UninstallStep.doAction(UninstallStep.java:155)
	at org.netbeans.modules.autoupdate.ui.wizards.UninstallStep.access$000(UninstallStep.java:70)
	at org.netbeans.modules.autoupdate.ui.wizards.UninstallStep$1.propertyChange(UninstallStep.java:129)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
	at java.awt.Component.firePropertyChange(Component.java:8154)
	at org.netbeans.modules.autoupdate.ui.wizards.OperationPanel.access$000(OperationPanel.java:67)
	at org.netbeans.modules.autoupdate.ui.wizards.OperationPanel$1.run(OperationPanel.java:88)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
INFO [org.netbeans.core.ui.focus]: External Changes Refresh on focus gain disabled
-------- log end -----
Comment 1 snackr 2011-08-08 17:14:49 UTC
Created attachment 109868 [details]
startup module error

I uninstalled the IDE and installed the latest version 7.0.1 and I'm getting a similar error... (see attachement).

I deleted the old netbeans install directory prior to installing 7.0.1... is this coming from the old ".netbeans*" settings directory?
Comment 2 snackr 2011-08-08 17:32:24 UTC
Created attachment 109870 [details]
7.0.1 still errors after updating

From w/ in the new Netbeans 7.0.1 install I updated again and am getting a bunch of errors still.
(see attachement)
Comment 3 snackr 2011-08-08 17:53:42 UTC
Not sure, but this might be related to bug 196844.
Comment 4 Jiri Kovalsky 2011-08-08 20:07:14 UTC
This is not 7.0.1 issue. I unzipped fresh 7.0.1 [1], launched it with empty userdir and installing Git plugin worked fine. I was also able to install 7.0, upgrade to 7.0.1 and then install Git plugin.

[1] http://download.netbeans.org/netbeans/7.0.1/final/zip/netbeans-7.0.1-201107282000-ml.zip

The most important thing is to always clear your userdir (or use a new one) before you launch the IDE for the first time, because this is where updates are downloaded to and settings are stored etc.

Changing to 7.1 because you used development build.
Comment 5 Jiri Kovalsky 2011-08-08 20:12:30 UTC
For more information about using an alternate userdir see here: http://wiki.netbeans.org/FaqAlternateUserdir
Comment 6 snackr 2011-08-08 23:20:36 UTC
After uninstalling, deleting the install directory, deleting all of the ".netbeans" related directories, then reinstalling it is working again.
... that was a pain though.

Thanks for the reply.
Comment 7 Jiri Kovalsky 2011-08-09 04:13:46 UTC
OK, thanks for your quick update. Uninstallation is not necessary, just delete two directories (e.g. ~/netbeans7.0.1 and ~/.netbeans/7.0) plus icon on your desktop and it's gone. Then install from scratch.

Closing as worksforme.