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

Netbeans 11.3 does not report clearly certificate problems downloading javafx and nb-javac

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 11.3
    • 11.3
    • platform - Autoupdate
    • Windows 2016 server, Intel Xeon, 48G RAM.
      Network includes a proxy server with deep packet inspection and certificate rewriting.

    • Important

    Description

      NetBeans cannot get past installation of JavaFX and nb-javac on my installation behind a company firewall. This problem was also in 11.2, but it did not stop the IDE from working. It just kept on quietly asking for nb-javac installation.

      11.3, on the other hand does not seem to get past this problem. It keeps on asking for installation of javafx and nb-javac and "Loading projects" never comes to an end.

      I tested my proxy setting in options and I have a green light with system settings and also with manual settings.
      In any case I have never been able to install nb-javac and could not find instructions on how to install manually the plugin.

      Note that my proxy has deep packet inspection and can create problems with certificate verification on SSL.

       

      EDIT: the request for installation is not an infinite loop. It appears to be once for every open project. Hitting cancel more times, the progress bar in the status bar eventually gets to 100%, but all the projects are reported broken.

       

      EDIT: as you can see from the comments below, it was really a problem with certificates. When you are behind a proxy with deep inspection, certificates are manipulated in such a way that you have to trust your company root certificate to avoid failure in trust chains.

      This becomes a NetBeans installation problem because:

      • Differently from other IDEs, NetBeans delegates everything to JDK, so it requires that the trust problem is solved in the JDK, not in the IDE preferences. The user should be able to find instructionsto resolve the problem
      • In 11.2 the IDE did not enter a loop waiting for nb'javac installation to validate projects. It just gave up, causing less problems
      • "Test connection" in proxy settings did not report certificate problems. A full https connection should be tested
      • The dialog box of nb-javac installation does not report certificate problems, it rather dies without warning and the installation is stuck with a progress bar at 100% and no notification other than "cannot resolve external references ..." This hides the problem

       

       

      Attachments

        1. Netbeans-11.3_bug.PNG
          37 kB
          Michele Costabile
        2. Netbeans-11.3_plugin.PNG
          22 kB
          Michele Costabile
        3. Netbeans-11.3_plugin-problem.PNG
          32 kB
          Michele Costabile

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mico Michele Costabile
            mico Michele Costabile

            Dates

              Created:
              Updated:

              Slack

                Issue deployment