Copy link to clipboard
Copied
Hello.
I'm trying to use the chart components in Flash Builder 4. I'm using Flex SDK 4, but had to turn on the "Flex 3 compatibility mode" for some off-topic reasons.
I simply created a new application and copied the code from the DateTimeAxis class example: http://www.codigoactionscript.org/langref/as3/mx/charts/DateTimeAxis.html#includeExamplesSummary
When running the example, the following error is reported (sorry, it is in italian: it's simply the "null object" error):
TypeError: Error #1009: Impossibile accedere a una proprietà o a un metodo di un riferimento oggetto null.
at mx.charts.chartClasses::CartesianChart/updateMultipleAxesStyles()
at mx.charts.chartClasses::CartesianChart/commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/validateProperties()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/doPhasedInstantiationCallback()
Copy link to clipboard
Copied
Using the Flex SDK 4.1 fixes the issue.
Copy link to clipboard
Copied
I use SDK 4.1 but I also get the error: (Flashbuilder 4.0.1 in Flex 3 compatibility mode)
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.charts.chartClasses::CartesianChart/updateMultipleAxesStyles()
at mx.charts.chartClasses::CartesianChart/commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/validateProperties()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/doPhasedInstantiationCallback()
So I guess it is not solved....
regards,
Copy link to clipboard
Copied
Hi,
I tried the same sample from http://www.codigoactionscript.org/langref/as3/mx/charts/DateTimeAxis.html#includeExamplesSummary but I am not able to reproduce the issue.
I am using released Flash Builder 4.0.1 (277662) and released 4.0.1 SDK (16076).
If you are seeing the issue with same sample please give us the SDK build number that you are using. Build number can be found in flex-sdk-description.xml under that SDK.
If you are seeing the issue with same SDK but with a different sample, please provide us the sample.
Thanks,
Deeptika
Copy link to clipboard
Copied
Hoi Deeptika,
You are right it is working, I had problems with my build environment.
Thanks a lot.
Johan
Copy link to clipboard
Copied
I was having the same problem, so switching to SDK 4.1solve the error 1009.
Im now having all kinds of mirorring issues, mostly in panel and dropdown which are align rightToLeft.
Any idea how to fix those issues ?
Thanks