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 189384

Summary: found : <nulltype>
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: David Kaspar <dkaspar>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Alexandr Scherbatiy 2010-08-11 09:19:04 UTC
Steps to reproduce:

- Create a JavaFX Desktop Business Application
- Drag a Label component from the Controls section of the Palette and drop it into the Design area. 

-  In the Properties window, click the Layout Info icon Layout info icon in the toolbar

- Change the Min. Width property to 100
- Press enter

- Delete the value for the Min. Width property
- Build the project
-----------------------------------------------
Main.fx:16: incompatible types
found   : <nulltype>
required: Number
        minWidth: null
1 error
-----------------------------------------------

The source code is:
-----------------------------------------------
    def __layoutInfo_label: javafx.scene.layout.LayoutInfo = javafx.scene.layout.LayoutInfo {
        minWidth: null
    }
-----------------------------------------------
Comment 1 David Kaspar 2010-08-12 07:05:44 UTC
Fixed. The empty-string is now recognized as 0.0 value.