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 228676 - Installer does not advise of failure to install JUnit
Summary: Installer does not advise of failure to install JUnit
Status: REOPENED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2013-04-18 03:20 UTC by rockorequin
Modified: 2014-02-10 14:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
screenshot of notification of unsuccessful JUnit install (61.02 KB, image/png)
2013-04-18 08:58 UTC, Jiri Rechtacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rockorequin 2013-04-18 03:20:02 UTC
I ran into this bug when I installed Netbeans 7.3 on an Ubuntu machine located behind a firewall that was selectively blocking access to the download files for JUnit. The installer gave no indication that it had failed to download the files or to install JUnit.

It was only when I discovered that JUnit was still listed as installable in the Available Plugins dialog that I realised what had happened. When I tried to install it from the dialog, I got a cryptic error message that included the string 'establishing connection' buried in the middle of it, and I figured the problem was probably to do with the firewall. I was able to resolve the problem using an external http proxy.

However, a more desirable behaviour for the installer would be to advise the user could not install JUnit because it could not to establish a connection to download the required files.
Comment 1 Jiri Rechtacek 2013-04-18 08:58:43 UTC
Created attachment 133553 [details]
screenshot of notification of unsuccessful JUnit install

In the case of unsuccessful installation of JUnit, IDE users are notified on the Summary Page.
Comment 2 rockorequin 2013-04-18 21:44:54 UTC
Wow. I believe you, but two of us completely missed that JUnit error status message during three installs!

Perhaps it would be better if the error message were more obvious, eg coloured red, or if the status didn't start off by saying that it installed successfully? (After all, I told it to install JUnit as part of the installation, so it actually didn't install successfully.)
Comment 3 Jiri Rechtacek 2013-04-19 08:42:14 UTC
(In reply to comment #2)
> Perhaps it would be better if the error message were more obvious, eg coloured
> red, or if the status didn't start off by saying that it installed
> successfully? (After all, I told it to install JUnit as part of the
> installation, so it actually didn't install successfully.)

Well, it makes sense. I'll track it as RFE.