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

Peter Jansen updated NETBEANS-866:
----------------------------------
    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.

  was:
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, 

It seems that this is a major issue reported several years ago on other venues 
with 8.x, but still hasn't been fixed?  Is it not possible to easily write 
JavaFX applications for the Netbean Platform with the Netbeans IDE?


> Platform "Resolve" button for libraries, JavaFX does not work out of the box.
> -----------------------------------------------------------------------------
>
>                 Key: NETBEANS-866
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-866
>             Project: NetBeans
>          Issue Type: Bug
>          Components: platform - JDK Problems
>    Affects Versions: 8.2
>            Reporter: Peter Jansen
>            Priority: Major
>         Attachments: netbeans_issue_javafx.jpg
>
>
> 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.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to