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 - found : <nulltype>
Summary: found : <nulltype>
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: David Kaspar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 09:19 UTC by Alexandr Scherbatiy
Modified: 2010-08-12 07:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.