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.
Created attachment 127385 [details] Screenshot of the error message when download of JUnit installation failed. Product Version: NetBeans IDE Dev (Build 201211080001) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) User directory: C:\Documents and Settings\tester\Application Data\NetBeans\dev Cache directory: C:\Documents and Settings\tester\Local Settings\Application Data\NetBeans\cache\dev Description: ============ In my VirtualBox 4.2 I installed Windows XP and started to test the latest development build of NetBeans 7.3 on JDK 7 Update 10. I created new AnagramGame project which needed JUnit so I tried to install it. However, the process stalled at 4% for some time and then displayed a weird error message [1]. See attached screenshot. The only workaround is to somehow download the plugin and install it manually. Any idea what might be wrong? [1] Error message after the attempt to download JUnit plugin failed: There were some problems while storing JUnit. Cause: m2:/junit:junit:3.8.2:jar:javadoc
Created attachment 127386 [details] Messages log containing some related exceptions.
So, manual installation also fails. :(
Can you see e.g. the welcome screen? The log is full of: Reading URL http://updates.netbeans.org/netbeans/updates/dev/uc/final/main/catalog.xml.gz?unique=0c4f4856e-5300-4e91-8506-5dfbcb7c974f_70b31bbf-2e70-47ea-a1f9-5e3d4719cf48 failed (java.net.ConnectException: Connection timed out: connect) Cannot connect to http://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2-javadoc.jar There seems to be an overall problem with network. Does for example Reload catalog in Tools -> Plugins work?
WARNING [org.netbeans.modules.autoupdate.services.InstallSupportImpl]: Cannot connect to http://repo1.maven.org/maven2/junit/junit/4.10/junit-4.10.jar INFO [org.netbeans.modules.autoupdate.services.InstallSupportImpl]: Details java.net.ConnectException: Connection timed out: connect also your Maven repository is not available - java.io.FileNotFoundException: m2:/junit:junit:4.10:jar So, the only thing what could be improved is the error messages box.
Yes, news were loaded just fine. I don't think that improving the message box will help. I downloaded the org-netbeans-lib-junit4.nbm, and tried to install it via Tools > Plugins > Downloaded > Add Plugins... > Install and this off-line installation failed too.
(In reply to comment #5) > it via Tools > Plugins > Downloaded > Add Plugins... > Install and this > off-line installation failed too. As you know junit.nbm is just a wrapper for jars which are placed on remote location - can be installed only if IDE is connected. In your case choose one of proxies which is able to download http://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2-javadoc.jar - unluckily not all proxies can do this. > Yes, news were loaded just fine. I don't think that improving the message box > will help. I downloaded the org-netbeans-lib-junit4.nbm, and tried to install It might help if allows user to change their network proxy settings and try again.
Update: I successfully installed the JUnit being at home directly connected to the Internet without any proxy.
http://hg.netbeans.org/core-main/rev/1df1e844d081
Integrated into 'main-golden', will be available in build *201211250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1df1e844d081 User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #221714: Better notification of problems while install JUnit plugin