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

Platform "Resolve" button for libraries broken out of the box.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Information Provided
    • 8.2
    • None
    • None

    Description

      I've just started trying to develop a GUI using the Netbeans Platform using the NetBeans Platform for Beginners and JavaFX RCP for the Netbeans Platform books recommended as part of the official documentation on the platform website. 

      The very first examples in the book appear to break, as the Project Properties > Libraries dialog throws the following error:

      "Module FX WebView Bootstrap in platform requests the token javafx.application but there are no known providers." 

      The resolve button is red, but can't be clicked. 

      1) Ignoring and attempting to add modules without being able to resolve their dependencies means the program will throw and error and modules will be disabled upon startup.

      2) Deselecting the offending modules (FX Webview Bootstrap in platform, and so on through other FX-depending modules, until the resolve button works again) appears to allow the code to compile and dependencies to be automatically resolved – but only a few pages in the book, adding the 'XML Text Editor' and resolving the dependencies for this causes the program to crash when running:

      java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.api.project.ProjectManager
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)

      ...

      It seems that this is a major issue reported several years ago on other venues with 8.x, and I've checked and also appears to be present on the development and 9.0rc1 builds, but still hasn't been fixed?  This appears to be a major issue in even beginning to write new software using the netbeans platform?  My apologies if this is a simple error or oversight on my part.

      Attachments

        1. netbeans_issue_javafx.jpg
          163 kB
          Peter Jansen

        Activity

          People

            Unassigned Unassigned
            pajansen Peter Jansen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: