You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/04/25 07:34:16 UTC

[jira] [Resolved] (FLEX-33254) compc exception ( ? .(@attribute == value) : .(@attribute == value)>)

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

Justin Mclean resolved FLEX-33254.
----------------------------------

    Resolution: Cannot Reproduce

Sorry can't reproduce please provide full simple code sample and steps require to reproduce.
                
> compc exception ( <cond> ? <case 1 : XML.<entity>.(@attribute == value) : <case2 : XML.<entity>.(@attribute == value)>)
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33254
>                 URL: https://issues.apache.org/jira/browse/FLEX-33254
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: MXML Compiler - Error Reporting
>    Affects Versions: Adobe Flex SDK 4.6 (Release), Apache Flex 4.8 (parity release)
>         Environment: MAC OX 10.8.2 with JVM 1.6.0_33
>            Reporter: Philippe Le Berre
>            Priority: Critical
>
> An invalid import statement like import org.example.util.printf causes compc to always crash in what sounds like an ArrayOutOfBoundIndexException. The error is reproduced in 4.6 and 4.8. 
> ----- Code causing the issue ---
> var message:XMLList = (id > MAX_RESERVED_ID ? xmlErrors.error.(@code == id) : globalXmlErrors.error.(@code == id));
> -------- compc output (using include-sources) -------
> flex-libs:
>     [compc] Loading configuration file /SDK/flex/4.8/frameworks/flex-config.xml
>     [compc] Error: Index: 10, Size: 6
>     [compc] 
> BUILD FAILED

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira