Ok Alex, I am going to work on finding a server to host my application
and than let you know.
Thanks,
Serkan
Alıntı Alex Harui <[email protected]>:
If you can host a test case on a server, we can try to run it in our
debuggers and then it doesn’t have to be quite as simple.
-Alex
From: Serkan Taş <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Monday, September 30, 2019 at 12:27 PM
To: "[email protected]" <[email protected]>
Subject: Re: EventDispatcher.js:73 Uncaught TypeError: cls is not a
constructor
Hi Alex,
It is related with TabBar. I am going to work on simplify the case
for specifically of TabBar.
If we talk about the original problem;
I can use debugger, believe me, for over 20 years I use some kind :)
Only the language is not js mostly.
Maybe it is better to leave this one for later, because it is very
complex - advanced grid - and deeply nested in the layout of my
project.
Thanks,
Serkan
30.09.2019 19:57 tarihinde Alex Harui yazdı:
Not sure about your latest error. If the TabBar buttons end up
being Royale Basic components instead of MXRoyale components you
will get problems like this, but we’ve also seen that the code was
already set up like this but some sizing thing didn’t get triggered
in our tests.
Regarding your original problem, did you try using the debugger as I
suggested? Learning how to use the debugger is worth it, IMO.
Modern cars have fault codes for a reason. It is far faster and
cheaper to check a fault code and replace the right part than to
guess as what part to replace. Same for a debugger. It can help
you find the part to replace with far less guessing.
-Alex
From: Serkan Taş
<[email protected]><mailto:[email protected]>
Reply-To: "[email protected]"<mailto:[email protected]>
<[email protected]><mailto:[email protected]>
Date: Sunday, September 29, 2019 at 6:27 AM
To: "[email protected]"<mailto:[email protected]>
<[email protected]><mailto:[email protected]>
Subject: Re: EventDispatcher.js:73 Uncaught TypeError: cls is not a
constructor
As I mentioned in the preceding mail, I could not solve the error.
I am trying to get deeper by disabling inner components.
Now, I am getting an error
[cid:[email protected]]
for component
child = mx.controls.listClasses.ListItemRenderer
at the line 2724 of UIComponenet.js that the method is
"getExplicitOrMeasuredWidth()" undefined.
[cid:[email protected]]
This may be a misuse or bug ?
Thanks,
Serkan
23.09.2019 12:27 tarihinde Serkan Taş yazdı:
I tried removing "excludeFrom" but failed with the same error Harbs.
Here is the debug view of the step which throws exception :
[cid:[email protected]]
data array content :
[cid:[email protected]]
[cid:[email protected]]
[cid:[email protected]]
[cid:[email protected]]
23.09.2019 10:33 tarihinde Harbs yazdı:
A likely cause of the problem is the “excludeFrom” piece. Definitely
try to narrow that down.
I’ve bumped into issues using “includeIn” in the past, and there’s
likely still bugs related to states. I generally use state.visible
instead of includeIn.
HTH,
Harbs
On Sep 23, 2019, at 8:45 AM, Serkan Taş
<[email protected]<mailto:[email protected]>>
wrote:
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
--
Serkan Taş
Mobil : +90 532 250 07 71
Likya Bilgi Teknolojileri
ve İletişim Hiz. Ltd. Şti.
www.likyateknoloji.com
--------------------------------------
Bu elektronik posta ve onunla iletilen bütün dosyalar gizlidir. Sadece
yukarıda isimleri belirtilen kişiler arasında özel haberleşme amacını
taşımaktadır. Size yanlışlıkla ulaşmışsa bu elektonik postanın
içeriğini açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız
kesinlikle yasaktır. Lütfen mesajı geri gönderiniz ve sisteminizden
siliniz. Likya Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. bu
mesajın içeriği ile ilgili olarak hiç bir hukuksal sorumluluğu kabul
etmez.
This electronic mail and any files transmitted with it are intended
for the private use of the persons named above. If you received this
message in error, forwarding, copying or use of any of the information
is strictly prohibited. Please immediately notify the sender and
delete it from your system. Likya Bilgi Teknolojileri ve İletişim Hiz.
Ltd. Şti. does not accept legal responsibility for the contents of
this message.
--------------------------------------