flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jon yeargers (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-33975) Crash when opening DateField
Date Tue, 03 Dec 2013 18:50:36 GMT

     [ https://issues.apache.org/jira/browse/FLEX-33975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

jon yeargers updated FLEX-33975:
--------------------------------

    Description: 
Opening a DateField by clicking on the associated 'calendar' icon gives this error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at mx.controls::DateField$/stringToDate()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mx/src/mx/controls/DateField.as:481]
	at mx.controls::DateField/displayDropdown()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mx/src/mx/controls/DateField.as:2435]
	at Function/http://adobe.com/AS3/2006/builtin::apply()
	at mx.core::UIComponent/callLaterDispatcher2()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:12495]
	at mx.core::UIComponent/callLaterDispatcher()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:12433]


Control in question:

<mx:FormItem label="DOB:">
	<mx:DateField id="dob" formatString="YYYY-MM-DD" change="validateForm()" text="{subjdata.DOB}"
yearNavigationEnabled="true"/>
</mx:FormItem>

The call to 'validateForm()' enables the 'submit' button for this form when all fields are
completed.

  was:
Opening a (previously working) DateField by clicking on the associated 'calendar' icon gives
this error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at mx.controls::DateField$/stringToDate()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mx/src/mx/controls/DateField.as:481]
	at mx.controls::DateField/displayDropdown()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mx/src/mx/controls/DateField.as:2435]
	at Function/http://adobe.com/AS3/2006/builtin::apply()
	at mx.core::UIComponent/callLaterDispatcher2()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:12495]
	at mx.core::UIComponent/callLaterDispatcher()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:12433]


Control in question:

<mx:FormItem label="DOB:">
	<mx:DateField id="dob" formatString="YYYY-MM-DD" change="validateForm()" text="{subjdata.DOB}"
yearNavigationEnabled="true"/>
</mx:FormItem>

The call to 'validateForm()' enables the 'submit' button for this form when all fields are
completed.


> Crash when opening DateField
> ----------------------------
>
>                 Key: FLEX-33975
>                 URL: https://issues.apache.org/jira/browse/FLEX-33975
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: DateField
>    Affects Versions: Apache Flex 4.11.0
>         Environment: Win7 Enterprise
>            Reporter: jon yeargers
>
> Opening a DateField by clicking on the associated 'calendar' icon gives this error:
> TypeError: Error #1009: Cannot access a property or method of a null object reference.
> 	at mx.controls::DateField$/stringToDate()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mx/src/mx/controls/DateField.as:481]
> 	at mx.controls::DateField/displayDropdown()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mx/src/mx/controls/DateField.as:2435]
> 	at Function/http://adobe.com/AS3/2006/builtin::apply()
> 	at mx.core::UIComponent/callLaterDispatcher2()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:12495]
> 	at mx.core::UIComponent/callLaterDispatcher()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:12433]
> Control in question:
> <mx:FormItem label="DOB:">
> 	<mx:DateField id="dob" formatString="YYYY-MM-DD" change="validateForm()" text="{subjdata.DOB}"
yearNavigationEnabled="true"/>
> </mx:FormItem>
> The call to 'validateForm()' enables the 'submit' button for this form when all fields
are completed.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message