flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean Szabo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33975) Crash when opening DateField
Date Fri, 21 Mar 2014 16:57:43 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13943232#comment-13943232
] 

Jean Szabo commented on FLEX-33975:
-----------------------------------

I try to add -locale=en_US' to the compiler argument list and adding the corresponding empty
folder 'locale/en_US', but the problem is not solved. 

I have this with other languages as en_US. 

> 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.
> Any date of the form YYYY-MM-DD will cause the RTE.
> Failure is occurring here:
> var monthNames:Array = ResourceManager.getInstance()
> 	.getStringArray("SharedResources", "monthNames");
> 		
> var noMonths:int = monthNames.length;  <-- monthNames is NULL



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message