• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Chart causing error 1009 when enabling compatibility mode in Flash Builder 4

New Here ,
Jul 07, 2010 Jul 07, 2010

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()

Is there a solution to this bug? We really need to use charts AND keep the Flex 3 compatibility mode.

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 08, 2010 Jul 08, 2010

Copy link to clipboard

Copied

Using the Flex SDK 4.1 fixes the issue.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 15, 2010 Jul 15, 2010

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,

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 15, 2010 Jul 15, 2010

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 15, 2010 Jul 15, 2010

Copy link to clipboard

Copied

Hoi Deeptika,

You are right it is working, I had problems with my build environment.

Thanks a lot.

Johan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 09, 2010 Sep 09, 2010

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines