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 120861

Summary: IDE automatic module update breaks NB install
Product: platform Reporter: rsearjeant <rsearjeant>
Component: AutoupdateAssignee: Jiri Rechtacek <jrechtacek>
Status: VERIFIED WONTFIX    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Error dialog

Description rsearjeant 2007-11-01 17:57:39 UTC
Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710212201)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)
Userdir: C:\Documents and Settings\rsearg\.netbeans\6.0beta2

- Installed latest (Beta 2) build of NB 6.0
- Started IDE, worked on some projects.
- Noticed the little update icon in bottom-right corner of IDE
- Clicked this - NB tells me there are a number of updated modules, including the IDE itself.
- Accepted all the defaults, and allowed NB to download and install the updates.
- When prompted to restart the IDE, I restarted immediately.
- On restart, the splash screen shows modules being unpacked and installed.
- Then I see a big, horrible dialog box (see s/shot, to be attached to this issue).

The result is an unusable IDE - most of the modules are deactivated.  Only way out is uninstall, re-install, and IGNORE
the update.

This is very nasty indeed ...
Comment 1 rsearjeant 2007-11-01 18:04:23 UTC
Created attachment 52292 [details]
Error dialog
Comment 2 Jiri Rechtacek 2007-11-01 18:35:33 UTC
The problem was temporary and was caused by issue 120537: a inconsistency between dev build and its Update Centers. It
appeared with older dev builds and todays Update Center. If you install new one Development build the problem will
disappear. I'm tracking the issue 120875, it's about a way how to make Autoupdate more robust and avoid same problem in
the future. The problem is not valid for production builds like beta1, beta2 and future NB6.0.
The inconsistency builds and UCs cannot be fixed.
Comment 3 Jiri Rechtacek 2007-11-01 21:54:56 UTC
Btw, issue 120875 is fixed and Autoupdate is now more robust and it's able to resolve the problem like this.
Comment 4 Jaromir Uhrik 2007-11-02 15:05:31 UTC
Verified, it is not possible to break IDE this way because there is check that dosn't allow installation in this case.