flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Schmalle (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-34842) NPE PanelWithControlBarView/layoutChromeElements()
Date Sun, 17 May 2015 21:55:00 GMT

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

Michael Schmalle updated FLEX-34842:
------------------------------------
    Environment: 
Flash SWF - Not working
HTML - Not tested

  was:SWF


> NPE PanelWithControlBarView/layoutChromeElements()
> --------------------------------------------------
>
>                 Key: FLEX-34842
>                 URL: https://issues.apache.org/jira/browse/FLEX-34842
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.0.3
>         Environment: Flash SWF - Not working
> HTML - Not tested
>            Reporter: Michael Schmalle
>
> Simple App setup;
> With the following InitialView;
> {code}
> <js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
>              xmlns:js="library://ns.apache.org/flexjs/basic">
>     <js:PanelWithControlBar title="Example" x="0" y="0" className="panel1">
>         <js:beads>
>             <js:VerticalLayout/>
>         </js:beads>
>         <js:Label text="Test ControlBar"/>
>         <js:controlBar>
>             <js:Label text="ControlBar area"/>
>         </js:controlBar>
>     </js:PanelWithControlBar>
> </js:ViewBase>
> {code}
> Error;
> {code}
> [Fault] exception, information=TypeError: Error #1009: Cannot access a property or method
of a null object reference.
> at org.apache.flex.html.beads::PanelWithControlBarView/layoutChromeElements()[c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\PanelWithControlBarView.as:149]
> at org.apache.flex.html.beads::PanelWithControlBarView/changeHandler()[c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\beads\PanelWithControlBarView.as:181]
> at flash.events::EventDispatcher/dispatchEventFunction()
> at flash.events::EventDispatcher/dispatchEvent()
> at org.apache.flex.html::Container/addElement()[c:\Jenkins\workspace\flex-asjs\frameworks\projects\HTML\as\src\org\apache\flex\html\Container.as:130]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message