Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8A302173F0 for ; Tue, 9 Jun 2015 21:21:06 +0000 (UTC) Received: (qmail 75025 invoked by uid 500); 9 Jun 2015 21:21:01 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 74997 invoked by uid 500); 9 Jun 2015 21:21:01 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 74987 invoked by uid 99); 9 Jun 2015 21:21:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2015 21:21:01 +0000 Date: Tue, 9 Jun 2015 21:21:01 +0000 (UTC) From: "Ad Pijnenburg (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-34581) Datespinner displayMode time and pt-PT locale MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-34581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ad Pijnenburg updated FLEX-34581: --------------------------------- Attachment: FP414_DateSpinner.as FB414_DateTimeFormatterEx.as TestDateSpinner.fxp > Datespinner displayMode time and pt-PT locale > --------------------------------------------- > > Key: FLEX-34581 > URL: https://issues.apache.org/jira/browse/FLEX-34581 > Project: Apache Flex > Issue Type: Bug > Components: Mobile: DateSpinner > Affects Versions: Apache Flex 4.13.0 > Environment: Windows 7 64bit > Flash builder 4.7 64bit > AIR 15.0.0 > Flex 4.13 > iPad3 > Production ipa for adhoc testing (application crash) > Debug in Standard Packaging method (crash with bug trace) > Reporter: Carlos Monteiro > Assignee: OmPrakash Muppirala > Priority: Critical > Attachments: FB414_DateTimeFormatterEx.as, FP414_DateSpinner.as, TestDateSpinner.fxp > > > The problem is within s:DateSpinner with displayMode="time" and > locale="pt-PT" > If debugging in Fast Packaging Method The bug doesn't occur. > If one builds a production ipa for adhoc testing the application crashes! > If debug in Standard Packaging method the app crashes with bug trace. > code: > TestLocale.mxml > > xmlns:s="library://ns.adobe.com/flex/spark" > firstView="views.TestLocaleHomeView" applicationDPI="160"> > > TestLocaleHomeView.mxml > > xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView"> > > > Debug trace: > [SWF] TestLocale.swf - 176,988 bytes after decompression > TypeError: Error #2007: Parameter pattern must be non-null. > at spark.formatters::DateTimeFormatter/set > dateTimePattern()[/Users/aharui/release4.13.0/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as:476] > at > spark.components::DateSpinner/generateAmPm()[/Users/aharui/release4.13.0/frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as:1237] > at > spark.components::DateSpinner/populateDateItemLists()[/Users/aharui/release4.13.0/frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as:1120] > at > spark.components::DateSpinner/commitProperties()[/Users/aharui/release4.13.0/frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as:778] > at > mx.core::UIComponent/validateProperties()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/core/UIComponent.as:8751] > at mx.core::UIComponent/validateProperties() > at > mx.managers::LayoutManager/validateProperties()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:605] > at > mx.managers::LayoutManager/doPhasedInstantiation()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:791] > at > mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/aharui/release4.13.0/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188] > at mx.managers::LayoutManager/doPhasedInstantiationCallback() -- This message was sent by Atlassian JIRA (v6.3.4#6332)