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.
When installing netbeans-6.1-windows.exe a CriticalError is reported InitializationException ... Failed to load wizard components from resource:org/netbeans/installer/wizard/wizard-components.xml. See attachments. The .nbi directory is empty.
Created attachment 61440 [details] Critical Error dialog
please run the installer with --verbose --output out.txt arguments and attach the resulting out.txt here. Thanks, dmitry
Created attachment 61441 [details] Dialog displayed after Critical Error dismissed
do you have enough space at "C:\Documents and Settings\Steve" ? do you have write permissions at "C:\Documents and Settings\Steve" ("C:\Documents and Settings\Steve\.nbi")?
are you able to create any file/directory at "C:\Documents and Settings\Steve\.nbi?" is you hard drive consistent? See also http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4804456 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6325169 https://answers.google.com/answers/threadview?id=373198
I will run the verbose option shortly. In the meantime, I do have enough disk space. The .nbi directory was inaccessible to me - I got some Windows error when I tried to enter it. I could not delete it either. I don't have any experience in this area, but it seemed odd that I could not cd or delete the dir. I used cacls win32 command:- C:\Documents and Settings\Steve>cd .nbi Access is denied. C:\Documents and Settings\Steve>cacls .nbi C:\Documents and Settings\Steve\.nbi NT AUTHORITY\SYSTEM:F NT AUTHORITY\SYSTEM:(OI)(CI)(IO)F I added myself and then deleted .nbi , and tried the install again, but got the same error.
Strange! I tried the command "C:\Documents and Settings\Steve\Desktop\netbeans-6.1-windows.exe" --verbose --output out.txt and the install appears to be working fine, no exceptions. I will update when complete.
Install appeared to complete and created the out.txt file, which I will attach when I figure out how to. However the out.txt file had the same acl problem as the .nbi directory. Also, netbeans does not start from the Start menu.
Created attachment 61453 [details] zipped out.txt file
Created attachment 61454 [details] Screen shot of process tree when starting netbeans. It exits after a few seconds.
Steve, It seems that you got big problems regarding your home directory (C:\Documents and Settings\Steve). From the logs I see the following issues while accessing it. One error is about ~/.asadmintrustrore (it was not created): > Login information relevant to admin user name [admin] for this domain [domain1] could not be stored. > This means that the file .asadminpass in home folder is tampered. > Fix the format for this file. Another one is about ~/.netbeans-registration (it was not created either): > Error: Cannot create directory C:\Documents and Settings\Steve\.netbeans-registration\6.1 what is the output of cacls "C:\Documents and Settings\Steve" ? Is it a normal directory or mounted (symlink)? are you in network domain? do you use this system everyday? can you create any directory in C:\Documents and Settings\Steve? can you try to run installer on another Java, say C:\Program Files\Java\jre1.5.0_11 or C:\Program Files\Java\jre1.6.0_05 (passing --javahome <path-to-java> to the installer arguments)? what is the output of cacls "C:\Program Files\NetBeans 6.1" ? It is not surprise for me that NetBeans can`t start in this situation... it tries to create ~/.netbeans/6.1 directory - it failed for the same reasons. So, Steve, check you access rights, check your system for viruses and try to unload programs that you don`t need at the moment. Maybe one of it the cause of such troubles. You can also try to run installer directly using java: 0) Uninstall previous NetBeans installation 1) Delete "C:\Documents and Settings\Steve\.nbi" 2) netbeans-6.1-windows.exe --extract <some-dir> 3) "C:\Program Files\Java\jre1.5.0_11\bin\java.exe" -jar <some-dir>\bundle.jar Is .nbi directory created in this case? Can you run netbeans in this case?
The problem was due to ACLs on the directory in which netbeans was creating directories. Once I added myself with FullControl, the problem went away.