Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2380

Netbeans update fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 11.0
    • None

    Description

      NetBeans Distribution URL: https://netbeans.apache.org/nb/updates/11.0/updates.xml.gz does not work. In Plugins -> Updates -> Check for Updates I get the following Warning message:

      "Unable to connect to the NetBeans Distribution because of https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f

      Check your proxy settings or try again later. The server may be unavailable at the moment. You may also want to make sure that your firewall is not blocking network traffic."

      But my proxy setting is correct. For example the Plugin Portal is working: http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml.gz.

      The relevant part of the IDE Log:

      INFO [org.netbeans.modules.autoupdate.updateprovider.DownloadListener]: Reading URL https://netbeans.apache.org/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f failed (java.io.FileNotFoundException: https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f)
      INFO [org.netbeans.modules.autoupdate.ui.Utilities]: https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f
      java.io.FileNotFoundException: https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890)
      at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91)
      at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484)
      at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481)
      at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
      at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.checkRedirect(NetworkAccess.java:241)
      at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess.access$700(NetworkAccess.java:57)
      at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:160)
      Caused: java.io.FileNotFoundException: https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944)
      at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508)
      at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91)
      at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484)
      at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
      at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:168)
      at org.netbeans.modules.autoupdate.updateprovider.NetworkAccess$Task$2.call(NetworkAccess.java:138)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Caused: java.io.IOException: https://netbeans.org/projects/legacy/nb/updates/11.0/updates.xml.gz?unique=05c0c2c08-5b87-4a0f-bf18-aa3a2a445688_94c524cf-30e2-4081-901a-c407a0ee498f
      at org.netbeans.modules.autoupdate.updateprovider.DownloadListener.notifyException(DownloadListener.java:78)
      at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.copy(AutoupdateCatalogCache.java:221)
      at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogCache.writeCatalogToCache(AutoupdateCatalogCache.java:74)
      at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.refresh(AutoupdateCatalogProvider.java:129)
      at org.netbeans.modules.autoupdate.services.UpdateUnitProviderImpl.refresh(UpdateUnitProviderImpl.java:155)
      at org.netbeans.api.autoupdate.UpdateUnitProvider.refresh(UpdateUnitProvider.java:171)
      [catch] at org.netbeans.modules.autoupdate.ui.Utilities.tryRefreshProviders(Utilities.java:410)
      at org.netbeans.modules.autoupdate.ui.Utilities.doRefreshProviders(Utilities.java:388)
      at org.netbeans.modules.autoupdate.ui.Utilities.presentRefreshProviders(Utilities.java:382)
      at org.netbeans.modules.autoupdate.ui.UnitTab$14.run(UnitTab.java:786)
      at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
      at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
      at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

      Attachments

        Issue Links

          Activity

            People

              vieiro Antonio Vieiro
              zfleisch Fleischer Zoltán
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h