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 185727 - NullPointerException at org.netbeans.modules.javafx.composer.design.control.NullStrategy.setProperty
Summary: NullPointerException at org.netbeans.modules.javafx.composer.design.control.N...
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 18:28 UTC by eyvindh79
Modified: 2010-05-12 14:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 168699


Attachments
stacktrace (2.66 KB, text/plain)
2010-05-07 18:28 UTC, eyvindh79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eyvindh79 2010-05-07 18:28:34 UTC
Build: NetBeans IDE 6.9 Beta (Build 201004200117)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP

User Comments:
GUEST: tried to add and then resize a simple textbox.

GUEST: javaFX

GUEST: Resizing any control in JavaFX composer

eyvindh79: Whas just playing around,
created a standard Wizard Business Project,
added a label,
added 2-3 states,
moved the label,
deleted all added states,
changed the label text with the "Properties" panel,
resized the label with the visual(interactive) handlers and 
then I got this NullPointerException when the app is choosing NullStrategy. Ironic, isn't it hehe.

Hope this helps :)

-Eyvind-




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javafx.composer.design.control.NullStrategy.setProperty(NullStrategy.java:54)
   at org.netbeans.modules.javafx.composer.design.control.ResizeStrategy$1.run(ResizeStrategy.java:123)
   at org.netbeans.api.javafx.composer.kernel.ModelManager$3.run(ModelManager.java:196)
   at org.openide.util.Mutex.writeAccess(Mutex.java:469)
   at org.netbeans.api.javafx.composer.kernel.ModelManager.writeAccess(ModelManager.java:180)
   at org.netbeans.modules.javafx.composer.design.control.SceneControlPane.writeAccess(SceneControlPane.java:727)
Comment 1 eyvindh79 2010-05-07 18:28:39 UTC
Created attachment 98653 [details]
stacktrace