Discussion:
Installer error: "The local registry could not be loaded, or was loaded partially"
Shackleford
2013-02-25 15:45:53 UTC
Permalink
The local registry (C:\Users\Steve\.nbi\registry.xml) could not be loaded, or was loaded partially.
The installer can continue to work normally, but doing so may result in a corrupted global registry.
I found this link http://forums.netbeans.org/topic9088.html describing an error with Vista when attempting to install Netbeans 6.7.

That has a response where someone asked "Could you please check (from any text editor) that the
%USERPROFILE%/.nbi/registry.xml file is a valid xml file?"

On my system it appears to work like a normal text file.


That individual also asked: "Could you please check the latest installation log (from %USERPROFILE%/.nbi/log) for exceptions thrown? Are there any ?"
[2013-02-25 10:20:25.934]: NameResolver - to parse Configuring the Installer...
[2013-02-25 10:20:25.934]: entering -- org.netbeans.installer.wizard.components.actions.InitializeRegistryAction.execute():73
[2013-02-25 10:20:25.934]: initializing product registry
[2013-02-25 10:20:25.934]: entering -- org.netbeans.installer.product.Registry.initializeRegistry():190
[2013-02-25 10:20:25.934]: initializing product registry properties
[2013-02-25 10:20:25.934]: initializing local product cache directory
[2013-02-25 10:20:25.997]: ... C:\Users\Steve\.nbi\product-cache
[2013-02-25 10:20:25.997]: initializing local product registry file
[2013-02-25 10:20:25.997]: ... C:\Users\Steve\.nbi\registry.xml
[2013-02-25 10:20:25.997]: initializing local product registry stub uri
[2013-02-25 10:20:25.997]: ... resource:org/netbeans/installer/product/default-registry.xml
[2013-02-25 10:20:25.997]: initializing bundled product registry uri
[2013-02-25 10:20:25.997]: ... resource:data/registry.xml
[2013-02-25 10:20:25.997]: initializing product registry schema uri
[2013-02-25 10:20:25.997]: ... resource:org/netbeans/installer/product/registry.xsd
[2013-02-25 10:20:25.997]: initializing remote product registries uris
[2013-02-25 10:20:25.997]: initializing state file schema uri
[2013-02-25 10:20:25.997]: ... resource:org/netbeans/installer/product/state-file.xsd
[2013-02-25 10:20:25.997]: initializing default state file uri
[2013-02-25 10:20:25.997]: ... resource:org/netbeans/installer/product/default-state-file.xml
[2013-02-25 10:20:25.997]: initializing target platform
[2013-02-25 10:20:25.997]: ... windows-x86
[2013-02-25 10:20:25.997]: initializing product registry properties
[2013-02-25 10:20:25.997]: exiting -- org.netbeans.installer.product.Registry.initializeRegistry():190
[2013-02-25 10:20:25.997]: ... loading registry from file:/C:/Users/Steve/.nbi/registry.xml
[2013-02-25 10:20:26.106]: ... showing Yes/No dialog
[2013-02-25 10:20:26.106]: title: Failed to load the local registry
[2013-02-25 10:20:26.106]: message: The local registry (C:\Users\Steve\.nbi\registry.xml) could not be loaded, or was loaded partially.
[2013-02-25 10:20:26.106]: The installer can continue to work normally, but doing so may result in a corrupted global registry.
[2013-02-25 10:20:26.106]: Choose Yes to continue, No to exit the installer.
I have also tried the following:
After the first failed install I closed any and every running application.
After the second failure I rebooted the system.

This is a Windows 7 laptop that has never had any version of Netbeans installed on it. That other thread seems to have determined that the issue came from moving the user directory folder from the C: to the D:, but my user directory is in the default location.
Shackleford
2013-02-26 16:11:17 UTC
Permalink
I am using one of the most widespread operating systems on the planet, and I have never installed Netbeans on this PC, but no one else in the world has run into this issue? So by some strange alignment of the stars I am unique in encountering this problem that happens with 100% regularity and occurs before I can even make any customization to the install itself? No one even has a lead as to where I should direct this question so that it would be answered? Did my overly thorough original post miss some key detail? Come on, there is clearly a bug in this installer and I need a resolution.
Benno Markiewicz
2013-02-26 23:35:19 UTC
Permalink
I haven't seen this error, but try to remove the .nbi folder and reinstall
NetBeans. Create a backup before.

Greetings markiewb
Post by Shackleford
I am using one of the most widespread operating systems on the planet, and
I have never installed Netbeans on this PC, but no one else in the world
has run into this issue? So by some strange alignment of the stars I am
unique in encountering this problem that happens with 100% regularity and
occurs before I can even make any customization to the install itself? No
one even has a lead as to where I should direct this question so that it
would be answered? Did my overly thorough original post miss some key
detail? Come on, there is clearly a bug in this installer and I need a
resolution.
Mark Wilmoth
2013-02-27 01:27:58 UTC
Permalink
Nope, I have installed and reinstalled 7.3 dozens of times on Windows 7 and have
not run into it. I would turn off any virus scanner whilst installing it.

I would also do a complete cleanup as described here [1] before reinstalling.

I would also check the md5sum on the netbeans installation file if all of that
fails.


Let us know how it goes.

[1] http://netbeans.org/community/releases/73/install.html#troubleshooting




________________________________
From: Shackleford <***@comcast.net>
To: ***@netbeans.org
Sent: Tue, February 26, 2013 4:59:52 PM
Subject: [nbusers] Installer error: "The local registry could not be loaded, or
was loaded partially"

I am using one of the most widespread operating systems on the planet, and I
have never installed Netbeans on this PC, but no one else in the world has run
into this issue? So by some strange alignment of the stars I am unique in
encountering this problem that happens with 100% regularity and occurs before I
can even make any customization to the install itself? No one even has a lead
as to where I should direct this question so that it would be answered? Did my
overly thorough original post miss some key detail? Come on, there is clearly a
bug in this installer and I need a resolution.
Shackleford
2013-02-27 15:31:07 UTC
Permalink
[quote="markiewb"]I haven't seen this error, but try to remove the .nbi folder and reinstall NetBeans. Create a backup before.
Post by Shackleford
I am using one of the most widespread operating systems on the planet, and I have never installed Netbeans on this PC, but no one else in the world has run into this issue?
Thanks, I think deleting the nbi folder has fixed the issue and now it progresses. It still won't complete, but that's only because I don't have a Java JDK installed. That will be an easy fix.
Continue reading on narkive:
Loading...