History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-14600
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: B B
Assignee: Steven Erat
Reporter: Michael Labriola
Votes: 4
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Flex SDK

FormHeading crashes when attempting to set label to null

Created: 02/08/08 09:34 PM   Updated: 08/05/08 03:55 PM
Component/s: mx: Form View
Security Level: Public (All JIRA Users )

File Attachments: 1. File FormHeadingIssue.mxml (0.3 kb)


Severity: Runtime Error
Reproducibility: Every Time
Discoverability: Medium
Found in Version: SDK Moxie RC4
Milestone: SDK Community Fix Candidates
Affected OS(s): Windows - Vista
Steps to Reproduce:
Steps to reproduce:
1. Execute Attached code
 
 Actual Results:
RTE
 
 Expected Results:
 Should work like FormItem or any other control with a label
 
 Workaround (if any):
 
 
 
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: Kishan Venkataramana
Resolved by: Ryan Frishberg
Fixed Version: SDK Gumbo Iteration 6 - Next Build
Confirmed Version: SDK Gumbo Iteration 6 - 4.0.0.2052
Participants: Brian Telintelo, jeff tapper, Lauren Park, Michael Labriola, Ryan Frishberg and Steven Erat

Sub-Tasks  All   Open   
 Sub-Task Progress: 

 All   Comments      Sort Order:
Michael Labriola - [02/09/08 03:37 PM ]
This seems to work correctly from my Windows XP machine, but fails on my Windows Vista machine.

It makes me wonder if somehow the garbage collection button just isn't working right.

Steven Erat - [02/11/08 12:21 PM ]
Behavior is the same on Flex 2.01 and Flex 3 build 429, on any platform Windows XP, Windows Vista, Mac, and Linux. The changeFH() function sets the form heading label to null which produces "Error #1009 Cannot access a property or method of a null object reference". Seems logical to me that this error is to be expected. Closing as not a bug.

Steven Erat - [02/11/08 12:21 PM ]
NAB

Michael Labriola - [02/14/08 11:40 AM ]
The windows vista comment was applied to the wrong issue. Please ignore that comment.

However, I don't see how you can possibly say this is not a bug when you can say

label.text = null
textInput.text = null
formItem.text = null

and they all handle that exception, but FormHeading is the only one that fails.

BTW, just because it also failed in Flex 2.01, doesn't make it right.

jeff tapper - [02/19/08 09:20 PM ]
Not a bug? setting the text to null should throw a run time error? that seems just wrong. it would be much much better if it through a compile time error instead. if its not legal syntax, shouldnt the compiler catch that?

Steven Erat - [02/20/08 05:09 PM ]
Sending to IR. Please evaluate.

Lauren Park - [06/24/08 01:00 PM ]
Opened.

Brian Telintelo - [07/04/08 01:44 PM ]
Patch Submitted

Ryan Frishberg - [07/22/08 01:12 AM ]
Fixed in 2551 thanks to user-submitted patch.