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 251093 - NullPointerException at com.oracle.javafx.scenebuilder.kit.editor.panel.css.CssPanelController.clearContent
Summary: NullPointerException at com.oracle.javafx.scenebuilder.kit.editor.panel.css.C...
Status: RESOLVED INVALID
Alias: None
Product: javafx
Classification: Unclassified
Component: Visual Tool Integration (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-11 09:17 UTC by andrzejo
Modified: 2015-03-17 13:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216016


Attachments
stacktrace (5.00 KB, text/plain)
2015-03-11 09:17 UTC, andrzejo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andrzejo 2015-03-11 09:17:33 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 7

User Comments:
GUEST: Trying to create a new JavaFX Application in Netbeans

andrzejo: 1) Create new empty FXML file using Netbeans New... wizard 
2) Run Fluidon FXML desiger from within the Netbeans project
3) Add VBox to the project 
4) Add ProgressBar to the VBox 
5) Try to edit the ProgressBar properties 

Current result: 

ProgressBar Properties tab shows up empty, NPE reported by Netbeans

Expected result: 

Properties tab should be filled with properties available for edit




Stacktrace: 
java.lang.NullPointerException
   at com.oracle.javafx.scenebuilder.kit.editor.panel.css.CssPanelController.clearContent(CssPanelController.java:472)
   at com.oracle.javafx.scenebuilder.kit.editor.panel.css.CssPanelController.setCSSContent(CssPanelController.java:636)
   at com.oracle.javafx.scenebuilder.kit.editor.panel.css.CssPanelController.refresh(CssPanelController.java:583)
   at com.oracle.javafx.scenebuilder.kit.editor.panel.css.CssPanelController.editorSelectionDidChange(CssPanelController.java:230)
   at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPanelController$6.changed(AbstractPanelController.java:247)
   at com.oracle.javafx.scenebuilder.kit.editor.panel.util.AbstractPanelController$6.changed(AbstractPanelController.java:242)
Comment 1 andrzejo 2015-03-11 09:17:35 UTC
Created attachment 152551 [details]
stacktrace
Comment 2 Roman Svitanic 2015-03-17 13:16:32 UTC
Thanks for the report, but this is an issue in JavaFX Scene Builder, not in the NetBeans IDE. Please file an issue against JavaFX Scene Builder:
https://javafx-jira.kenai.com/browse/DTL
Comment 3 andrzejo 2015-03-17 13:58:01 UTC
OK, Netbeans offerred me to file a bug, so I dit it. By the way - the Scene Builder run as standalone application works fine, and this is how I actually worked the issue around and finally edited the FXML file. It could be then something related to Scene Builder and Netbeans IDE integration...? As I am unable to reproduce the bug in Scene Builder run as standalone application, it might be hard to report there. And as an easy workaround exists, I believe we can forget it.