[ 
https://issues.apache.org/jira/browse/NETBEANS-866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16520987#comment-16520987
 ] 

Geertjan Wielenga commented on NETBEANS-866:
--------------------------------------------

If you don't have the time to dedicate to learning the NetBeans Platform, 
that's fine. However, you and I know that the issue you refer to here is 
solved, in fact, you wrote this to me: "It looks like adding the 'Project API 
Implementation' and 'Parsing API IDE Bridge' was the key to getting the book 
example to compile, and I'm back on my way through the chapters." That was 
about one specific and really not important part of the book. So, I am still 
happy to meet with you via Skype or however you like. The book however and the 
tutorials however are not out of date. So far you have reported one very small 
issue in the book and nothing else. Happy to help with anything else you find.

> Platform "Resolve" button for libraries broken 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: Critical
>         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