This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 202143

Summary: java.lang.NullPointerException: The javafx.sdk parameter cannot be null
Product: javafx Reporter: Stepan Zebra <stezeb>
Component: PlatformAssignee: Anton Chechel <manowar>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Stepan Zebra 2011-09-14 15:47:45 UTC
Product Version: NetBeans IDE Dev (Build 201109132156)
Java: 1.6.0_27; Java HotSpot(TM) Client VM 20.2-b06
System: Windows 7 version 6.1 running on x86; Cp1250; cs_CZ (nb)

Thrown when tried to set non-FX Java platform to Java FX Project through Project Properties dialog.
The project still runs after this and uses last known FX SDK, although only the selected JDK is shown in Libraries node.
Comment 1 Stepan Zebra 2011-09-14 15:52:22 UTC
*** Bug 202142 has been marked as a duplicate of this bug. ***
Comment 2 Anton Chechel 2011-09-14 17:05:31 UTC
fixed
http://hg.netbeans.org/jet-main/rev/97f4bb61401c
Comment 3 Quality Engineering 2011-09-17 14:21:35 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/97f4bb61401c
User: Anton Chechel <manowar@netbeans.org>
Log: #202039, #202143: 'Enable JavaFX' checkbox incorrect behavior, NPE during saving project properties
Comment 4 Stepan Zebra 2011-09-21 15:05:17 UTC
verified, NPE gone, however not sure if user should be even allowed to select non-JFX platform for FX project...