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 123577 - Error message handling is not adequate
Summary: Error message handling is not adequate
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: dlipin
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2007-12-06 14:47 UTC by Jiri Mzourek
Modified: 2008-08-30 05:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
dialog (39.84 KB, image/png)
2007-12-06 14:49 UTC, Jiri Mzourek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Mzourek 2007-12-06 14:47:57 UTC
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?
Comment 1 Jiri Mzourek 2007-12-06 14:49:15 UTC
Created attachment 53947 [details]
dialog
Comment 2 dlipin 2008-01-09 16:49:41 UTC
Jano,

any ideas?
Comment 3 jrojcek 2008-01-14 13:22:08 UTC
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.
Comment 4 dlipin 2008-01-16 19:45:36 UTC
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.
Comment 5 jrojcek 2008-01-17 09:39:30 UTC
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.
Comment 6 dlipin 2008-08-29 13:27:31 UTC
fixed (main 0f084187d3c4)
Comment 7 Quality Engineering 2008-08-30 05:35:36 UTC
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