You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "E (JIRA)" <ji...@apache.org> on 2018/03/21 07:45:00 UTC

[jira] [Closed] (NETBEANS-490) Beta 3 does not build anymore: cannot download a file.

     [ https://issues.apache.org/jira/browse/NETBEANS-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

E closed NETBEANS-490.
----------------------
    Resolution: Not A Problem

> Beta 3 does not build anymore: cannot download a file.
> ------------------------------------------------------
>
>                 Key: NETBEANS-490
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-490
>             Project: NetBeans
>          Issue Type: Bug
>         Environment: Linux ericdf 4.15.0-1-amd64 #1 SMP Debian 4.15.4-1 (2018-02-18) x86_64 GNU/Linux
>            Reporter: E
>            Priority: Major
>
> I tried to build netbeans beta 3
> I did it a week or so ago on another similar computer (same OS)
> But doing it again, now it appears there is a missing file: http://hg.netbeans.org/binaries/15ACB06E2E3A70FC188782BA51369CA81ACFE860-validator-20150629-patched.jar
> But I can download it using wget (I could swear I could not it either by wget a few days ago, I noticed the issue last Friday)
> My steps:
> I cloned the repository.
> I ensured the and and jdk version were as requested.
> $ git checkout 9.0-beta-rc3
> $ ant
> init:
> Loading module list from /tmp/nb-scan-cache-349cb2ad-full.ser
> download-selected-extbins:
>  [echo] Downloading external binaries (*/external/ directories) for cluster.config=basic...
> [downloadbinaries] Creating /home/myself/src/incubator-netbeans/html.validation/external/validator-20150629-patched.jar
> [downloadbinaries] Downloading: http://hg.netbeans.org/binaries/15ACB06E2E3A70FC188782BA51369CA81ACFE860-validator-20150629-patched.jar
> [downloadbinaries] Could not download 15ACB06E2E3A70FC188782BA51369CA81ACFE860-validator-20150629-patched.jar to /home/myself/.hgexternalcache/15ACB06E2E3A70FC188782BA51369CA81ACFE860-validator-20150629-patched.jar: java.io.IOException: Cannot download: http://hg.netbeans.org/binaries/15ACB06E2E3A70FC188782BA51369CA81ACFE860-validator-20150629-patched.jar due to: java.net.SocketException: Connection reset
> BUILD FAILED
> /home/myself/src/incubator-netbeans/nbbuild/build.xml:124: Could not download 15ACB06E2E3A70FC188782BA51369CA81ACFE860-validator-20150629-patched.jar from http://hg.netbeans.org/binaries/: java.io.IOException: Could not download 15ACB06E2E3A70FC188782BA51369CA81ACFE860-validator-20150629-patched.jar to /home/myself/.hgexternalcache/15ACB06E2E3A70FC188782BA51369CA81ACFE860-validator-20150629-patched.jar: java.io.IOException: Cannot download: http://hg.netbeans.org/binaries/15ACB06E2E3A70FC188782BA51369CA81ACFE860-validator-20150629-patched.jar due to: java.net.SocketException: Connection reset
>  at org.netbeans.nbbuild.extlibs.DownloadBinaries.doDownload(DownloadBinaries.java:249)
>  at org.netbeans.nbbuild.extlibs.DownloadBinaries.fillInFile(DownloadBinaries.java:190)
>  at org.netbeans.nbbuild.extlibs.DownloadBinaries.execute(DownloadBinaries.java:156)
>  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
>  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>  at org.apache.tools.ant.Task.perform(Task.java:348)
>  at org.apache.tools.ant.Target.execute(Target.java:437)
>  at org.apache.tools.ant.Target.performTasks(Target.java:458)
>  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
>  at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
>  at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>  at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
>  at org.apache.tools.ant.Main.runBuild(Main.java:857)
>  at org.apache.tools.ant.Main.startAnt(Main.java:236)
>  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:286)
>  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
> Caused by: java.io.IOException: Cannot download: http://hg.netbeans.org/binaries/15ACB06E2E3A70FC188782BA51369CA81ACFE860-validator-20150629-patched.jar due to: java.net.SocketException: Connection reset
>  at org.netbeans.nbbuild.extlibs.DownloadBinaries.downloadFromServer(DownloadBinaries.java:288)
>  at org.netbeans.nbbuild.extlibs.DownloadBinaries.legacyDownload(DownloadBinaries.java:262)
>  at org.netbeans.nbbuild.extlibs.DownloadBinaries.lambda$execute$1(DownloadBinaries.java:156)
>  at org.netbeans.nbbuild.extlibs.DownloadBinaries.doDownload(DownloadBinaries.java:226)
>  ... 18 more
> Caused by: java.net.SocketException: Connection reset
>  at java.net.SocketInputStream.read(SocketInputStream.java:210)
>  at java.net.SocketInputStream.read(SocketInputStream.java:141)
>  at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>  at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
>  at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>  at sun.net.www.MeteredStream.read(MeteredStream.java:134)
>  at java.io.FilterInputStream.read(FilterInputStream.java:133)
>  at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3393)
>  at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3386)
>  at org.netbeans.nbbuild.extlibs.DownloadBinaries.downloadFromServer(DownloadBinaries.java:282)
>  ... 21 more
> Total time: 6 seconds
> As a workaround I downloaded the file into ~/.hgexternalcache
> This is the only file that fails this way.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists