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ş <serkan....@likyateknoloji.com>
*Reply-To: *"users@royale.apache.org" <users@royale.apache.org>
*Date: *Sunday, September 22, 2019 at 10:24 PM
*To: *"users@royale.apache.org" <users@royale.apache.org>
*Subject: *EventDispatcher.js:73 Uncaught TypeError: cls is not a
constructor
Hi,
I am getting the error below.
Here is the code piece while debugging (cls is undefined and throwing
exception) :
Call stack :
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%7Ce9d6a47607e64a1587e408d73fe65772%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637048130864850787&sdata=AMWE2qdn%2Bv%2FwzrN1NeeEkrAffvxw%2FhHZb1zUWFlMmjg%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