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.
I got an error msg. during installation - see screenshot. It's IMO usability bug: there is no way for the user to see how the issue is serious and he is forced to open log file through File Explorer. Why there is no at least a possibility to open the log file directly from this dialog?
Created attachment 53947 [details] dialog
Jano, any ideas?
We shouldn't send the user to the log file at all. The log file contains informations for developers of the installer. Right? It's not for the enduser. In case of important errors we need to inform the user about what's going on right in the installer in a well formatted and well written error messages. Tell me what kind of error occurred and I'll try to come up with proper wording, formatting and placement.
normally we don`t send the user to the log file : if everything was correct then he will not see that. It appears only if any unexpected error occured - and there are uncountable variants of errors that we don`t expect: disk crash, network (NFS) problems, wrong antivirus activity, unexpected persmissions of some files/dirs, end of free space, missing files, JDK-specific issues, etc. There is no way to identify all of them - that is why we advise the user to consult the log to get more information about the error there.
Some of the things you mentioned seem serious enough causing an incomplete installation. For such errors, even if we don't know what exactly caused it and we don't have a proper explanation for the user, we need to tell the user at least whether the installation was or wasn't successful. If it was, we can be silent about problems that occurred during installation. No need to send them to the log file IMO. If there was an unexpected error interrupting the installation, we should tell the user that it wasn't completed. We can suggest to try running the installation again and maybe point to the log file. From the attached screenshot it isn't really clear whether the installation was or wasn't successful. The user cannot tell whether she can proceed with using the IDE or she needs to try installing the IDE again.
fixed (main 0f084187d3c4)
Integrated into 'main-golden', available in build *200808300201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/0f084187d3c4 User: Dmitry Lipin <dlipin@netbeans.org> Log: Issue #123577 Error message handling is not adequate