You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Rob Walsh (JIRA)" <ji...@apache.org> on 2018/07/25 11:51:00 UTC

[jira] [Commented] (NETBEANS-866) Platform "Resolve" button for libraries broken out of the box.

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

Rob Walsh commented on NETBEANS-866:
------------------------------------

Also working through NetBeans Platform for Beginners, and ran into this issue. Thanks to [~GeertjanWielenga]'s comments above I was able to resolve.

Note for those who find themselves here that a clean is also required before it will work.

Since I'm working my way through the book/tutorials anyway I'm happy to document any issues encountered. Is this the correct forum to report issues with the book, or just the tutorials?

> 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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