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 181396 - NullPointerException at org.netbeans.modules.javafx.fxd.composer.model.FXDComposerController.getNode
Summary: NullPointerException at org.netbeans.modules.javafx.fxd.composer.model.FXDCom...
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Andrew Korostelev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-02 02:26 UTC by Lukas Hasik
Modified: 2010-03-02 10:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 165878


Attachments
stacktrace (2.92 KB, text/plain)
2010-03-02 02:26 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2010-03-02 02:26:08 UTC
Build: NetBeans IDE Dev (Build 201002280200)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025
OS: Mac OS X

User Comments:
lhasik: -open a FXZ
-in source of FXD, make a "mistake" e.g. "Rec tangle"
-go to preview
-click the view area -> exception




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javafx.fxd.composer.model.FXDComposerController.getNode(FXDComposerController.java:127)
   at org.netbeans.modules.javafx.fxd.composer.model.FXDElement.isVisible(FXDElement.java:91)
   at org.netbeans.modules.javafx.fxd.composer.preview.PreviewTopComponent$FXDPreviewCookie.updateSelection(PreviewTopComponent.java:174)
   at org.netbeans.modules.javafx.fxd.composer.navigator.FXDNavigatorContent$NavigatorContentPanel$3.valueChanged(FXDNavigatorContent.java:425)
   at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
   at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1078)
Comment 1 Lukas Hasik 2010-03-02 02:26:13 UTC
Created attachment 94667 [details]
stacktrace
Comment 2 Andrew Korostelev 2010-03-02 10:26:13 UTC
fixed
http://hg.netbeans.org/javafx/rev/ca2a3126721e