Yes, that’s how I knew what the call stack was. -Alex
From: Serkan Taş <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Sunday, September 22, 2019 at 10:46 PM To: "[email protected]" <[email protected]> Subject: Re: EventDispatcher.js:73 Uncaught TypeError: cls is not a constructor Thanks Alex, just to be sure, can you see the images attached ? 23.09.2019 08:40 tarihinde Alex Harui yazdı: You’ll have to catch the exception in the debugger and find out what “cls” is supposed to be. That section of code could be run quite often when setting up an MXML-based UI. The MXMLDataInterpreter is interpreting a data array from some .JS file representing an MXML file, and initializeStrandBasedObject is trying to initialize some component and probably calls generateMXMLObject to create some object that initializes some property. You’ll have to figure out what was in the data arrays and what went wrong. You should find that generateMXMLObject is passed a data array that is part of a different array passed to initializedStrandBasedObject. Knowing what class that strandBasedObject is may help you figure out what part of what MXML is having a problem. HTH, -Alex From: Serkan Taş <[email protected]><mailto:[email protected]> Reply-To: "[email protected]"<mailto:[email protected]> <[email protected]><mailto:[email protected]> Date: Sunday, September 22, 2019 at 10:24 PM To: "[email protected]"<mailto:[email protected]> <[email protected]><mailto:[email protected]> Subject: EventDispatcher.js:73 Uncaught TypeError: cls is not a constructor Hi, I am getting the error below. [cid:[email protected]] Here is the code piece while debugging (cls is undefined and throwing exception) : [cid:[email protected]] Call stack : [cid:[email protected]] When I comment the line(in red) below, not throw exception : <s:Group id="mainApp" width="100%" height="100%" excludeFrom="loggedOutState, dummyState"> <s:layout> <s:HorizontalLayout clipAndEnableScrolling="true" paddingRight="0" paddingLeft="0" paddingTop="10" paddingBottom="10" /> </s:layout> <comps:TreePanel height="100%" id="jobTree" left="0" right="10" top="0" bottom="0" visible="false" includeInLayout="false"/> <s:Group width="100%" height="100%"> <s:layout> <s:VerticalLayout clipAndEnableScrolling="true" paddingRight="0" paddingLeft="0" paddingTop="10" paddingBottom="10" /> </s:layout> <!--comps:MenuBar excludeFrom="loggedOutState, dummyState" id="menuBar"/--> <s:Panel id="messagePanel" title="" width="100%" height="55" visible="false" includeInLayout="false"> <mx:Text id="messageText" text="" textAlign="center" color="0xFF2D00" width="100%" /> </s:Panel> <!--s:BitmapImage source="@Embed('/images/likya.jpg')" left="0" right="0" top="0" bottom="0" scaleMode="stretch" includeIn="anaSayfaState" /--> <!--mx:SWFLoader width="950" height="500" source="http://www.youtube.com/v/ojASzi1Kb8c"<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.youtube.com%2Fv%2FojASzi1Kb8c&data=02%7C01%7Caharui%40adobe.com%7C90d3a60163444a9e624b08d73fe958bf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637048143796147756&sdata=n5wOH9oRUDCPsKm%2BmnXrk34uT1tzdc3qhO1vEibtytQ%3D&reserved=0> includeIn="loggedInState"/--> <!--comps:MainPanel includeIn="jobListState" height="100%"/--> <jobdetail:JobListWithDetails height="100%" excludeFrom="anaSayfaState, jobDetailState, loggedOutState, dummyState" id="jobListDetail"/> <!--RO:jobdetail:JobAllDetailPanel includeIn="jobDetailState" id="allJobDetail" height="100%"/--> </s:Group> </s:Group> Thanks, Serkan
