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 229809 - Netbeans installation citical error
Summary: Netbeans installation citical error
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.4
Hardware: HP Windows 7 x64
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
: 231165 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-15 22:00 UTC by ellesig40
Modified: 2013-10-17 06:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of installation (367.53 KB, image/png)
2013-05-22 16:50 UTC, ellesig40
Details
screenshot of error message (378.06 KB, image/png)
2013-05-22 16:51 UTC, ellesig40
Details
Installer log (816.06 KB, text/plain)
2013-05-22 17:25 UTC, ellesig40
Details
Correct installer log (115.96 KB, application/octet-stream)
2013-06-11 17:24 UTC, ellesig40
Details
Sample sources (585 bytes, application/x-zip-compressed)
2013-06-17 13:19 UTC, Libor Fischmeistr
Details
Sample JAR (1.43 KB, application/octet-stream)
2013-06-17 13:21 UTC, Libor Fischmeistr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ellesig40 2013-05-15 22:00:33 UTC
When I attempt to download the JDK 7 + NetBeans IDE bundle offered on the site
http://www.oracle.com/technetwork/java/javase/downloads/index.html
I encountered an installation error that simply stated Critical "nullnull." I have tried uninstalling and reinstalling and have deleted all old files, but the same error continues to occur.

I've had many compatibility issues with Windows 8. Also, I am very new to all of this and am simply trying to teach myself a programming language, so I don't know very much about any of this.
Comment 1 Libor Fischmeistr 2013-05-17 15:45:24 UTC
Hello, thanks for the report.

The installer log is needed. Look at http://wiki.netbeans.org/NBIFAQ#What_information_is_needed_for_a_successful_bug_report.

Screenshot would be good too.
Comment 2 ellesig40 2013-05-22 16:50:25 UTC
Created attachment 134758 [details]
screenshot of installation
Comment 3 ellesig40 2013-05-22 16:51:23 UTC
Created attachment 134759 [details]
screenshot of error message
Comment 4 ellesig40 2013-05-22 16:53:15 UTC
I don't know how to pull up the installation log. I looked at the link, but I couldn't find any instructions on how to pull it up. However, I do have the screen shots. The installer will get all the way through the first loading bar, and then immediately give me the error message shown.

If you could give me very clear instructions on how to access the installer log, or direct me somewhere that has those instructions, then I can get that to you.
Comment 5 ellesig40 2013-05-22 17:25:04 UTC
Created attachment 134760 [details]
Installer log

Like I said, I'm not sure if this is the right log.
Comment 6 Libor Fischmeistr 2013-05-27 07:58:00 UTC
> If you could give me very clear instructions on how to access the installer
> log, or direct me somewhere that has those instructions, then I can get that to
> you.

The installer log is located in <user home>\.nbi\log\ folder.

On the wiki you can find too (the location is same on Windows and Linux systems):

Attach log files for each session (usually located at ~/.nbi/log/*.log).
Attach the local product registry file (usually located at ~/.nbi/registry.xml).
Comment 7 ellesig40 2013-06-11 17:24:35 UTC
Created attachment 135654 [details]
Correct installer log

I sent an email a couple of days ago with the installer log attached, but I figured I'd add it here as well.
Comment 8 Libor Fischmeistr 2013-06-13 10:55:23 UTC
*** Bug 231165 has been marked as a duplicate of this bug. ***
Comment 9 Libor Fischmeistr 2013-06-17 12:35:03 UTC
(In reply to comment #7)
> Created attachment 135654 [details]
> Correct installer log
> 
> I sent an email a couple of days ago with the installer log attached, but I
> figured I'd add it here as well.

Thanks for the correct log file. It helped a lot.

From the log I can see where the problem is. The installer fails when want to find resource file. The reason why it cannot find the resource file is that your user name is Beth! (the exclamation at the end of the folder name). The ResourceBundle.getBundle() throws exception when somewhere it the path is "!" at the end of the folder name. The installer engine is unpacked to %USERPRIFILE%\AppData\Local\Temp\... so then it cannot work...

Workarround: Run the installer with arguments (example):

jdk-7u21-nb-7_3-windows-x64.exe --tempdir "C:\correct_path_1" --userdir "C:\correct_path_2"

Then it should be installed properly.

But then we cannot guarantee the proper run of IDE when the userdir and cachedir will be in user profile folder...
Comment 10 Libor Fischmeistr 2013-06-17 13:18:44 UTC
Reassigning to JDK problems. It's the problem of Java, not NetBeans.

The problem occurs when in some jar's path is in one of the folders exclamation mark at the end of the folder name. For example C:\sample\folder!\test\something.jar. Then when you call ResourceBundle.getBundle(..) and you want to get some resource from that jar the MissingResourceException is thrown.

The exclamation mark somewhere else in the folder name doesn't mind.

I will provide the sample jar and sources.
Comment 11 Libor Fischmeistr 2013-06-17 13:19:23 UTC
Created attachment 135887 [details]
Sample sources
Comment 12 Libor Fischmeistr 2013-06-17 13:21:27 UTC
Created attachment 135888 [details]
Sample JAR

Try to run this jar - nothing happens. If you want to run it in some folder with "!" exclamation mark at the and, the MissingResourceException is thrown. For example C:\sample\folder!\test\
Comment 13 Antonin Nebuzelsky 2013-06-25 12:45:19 UTC
A long time open JDK bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4523159

Closing as wontfix on NetBeans side.

Please, use a username (and any folder name) without the exclamation mark.