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 103003

Summary: Installation fails when empty registry.xml file detected
Product: installer Reporter: Joseph Silber <bishop>
Component: NBIAssignee: Kirill Sorokin <ksorokin>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: .nbi\log file
previous .nbi\log file
previous .nbi\log file

Description Joseph Silber 2007-04-30 16:09:32 UTC
(note that I'm in docs and had some assistance finding this - not sure this is
completely right.)

Installation of NB6 - installer looks in HOME/.nbi folder. When an empty
registry.xml file found, NBI is unable to configure the installer and returns an
error message pointing to the most recent entry in the HOME/.nbi/log directory.

Workaround - rename the .nbi directory, or move it to another location and then
relaunch the installer.
Comment 1 dlipin 2007-04-30 18:55:26 UTC
I`ve heard about the same issue (zero-sized registry.xml) from time to time on 
different platforms. So raising the priority to P1.
Vary investigation is needed...

bishop,
Could you please describe the steps that resulted in such a behaviour?
What builds (numbers and type - basic, standard, full) have you installed 
before getting such an exception? Did you use default installation components 
or unselected some of the components during installation?
Have you uninstalled any of the previous installations?
Could you please attach all (up to 3) previous logs (from ~/.nbi/log) together 
with the last one that contains the exception?
Comment 2 Joseph Silber 2007-04-30 20:48:07 UTC
Could you please describe the steps that resulted in such a behaviour?
What builds (numbers and type - basic, standard, full) have you installed 
All installations of NB6 have been full builds - they've included (but I don't
think are limited to - I delete older installers periodically)
netbeans-6.0-full-20070412-windows.exe and
netbeans-6_0-daily-bin-200704261800.exe, at least two versions of M8. 

before getting such an exception? Did you use default installation components 
or unselected some of the components during installation?

I used the default full installation whenever possible.

Have you uninstalled any of the previous installations?
Yes. All previous versions of NB6, but not of 551.

3 previous logs attached.
Comment 3 Joseph Silber 2007-04-30 20:54:11 UTC
Created attachment 41986 [details]
.nbi\log file
Comment 4 Joseph Silber 2007-04-30 20:55:20 UTC
Created attachment 41988 [details]
previous .nbi\log file
Comment 5 Joseph Silber 2007-04-30 20:56:27 UTC
Created attachment 41989 [details]
previous .nbi\log file
Comment 6 dlipin 2007-05-31 13:47:12 UTC
*** Issue 105262 has been marked as a duplicate of this issue. ***
Comment 7 Kirill Sorokin 2007-06-22 06:25:11 UTC
I've added some improvements to both the registry serialization and loading. Even if an empty registry is discovered, it
will be handled more properly.
Comment 8 Kirill Sorokin 2007-06-22 06:26:44 UTC
X
Comment 9 dlipin 2007-08-24 15:36:54 UTC
*** Issue 113742 has been marked as a duplicate of this issue. ***