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

Compile error migrating from 4.0 to 4.5

Guest
Jun 02, 2011 Jun 02, 2011

Copy link to clipboard

Copied

Hi,

I have just migrated a project from Flash Builder 4.0 to 4.5 using the export/import feature provided by Flash Builder.

After importing the project the following compile error appear in auto generated classes generated from BlazeDS services _Super_XXXService.as.

The error is in this line:

_serviceControl.convertResultHandler = mx.data.TypeUtility.convertResultHandler;

Description Resource Path Location Type

1119: Access of possibly undefined property convertResultHandler through a reference with static type Class. _Super_CompanyService.as

The autocomplete feature finds a class with hame TypeUtility in a package different from mx.data, com.adobe.serializers.utility.TypeUtility.

Any idea what might be the source of this error?

Best regards,

Rodrigo

Views

3.1K

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 ,
Jun 02, 2011 Jun 02, 2011

Copy link to clipboard

Copied

I ran into pretty much the same issue, but in my case I have trouble with the SystemManager:

Error: Interface method addPreloadedRSL in namespace mx.core:IFlexModuleFactory not implemented by class _... and about 13 more. This error only occurs if I include the latest cairngorm libs. I can build apps fine w/o cainrgorm.

Is there an ETA for cairngorm libs that support 4.5?

Is there an easy workaround (I'm not so keen on building cairngorm myself)

These are the ones I use:

        <dependency>
            <groupId>com.adobe.cairngorm</groupId>
            <artifactId>integration</artifactId>
            <version>0.17</version>
            <type>swc</type>
        </dependency>
        <dependency>
            <groupId>com.adobe.cairngorm</groupId>
            <artifactId>integrationParsley</artifactId>
            <version>0.17</version>
            <type>swc</type>
        </dependency>
        <dependency>
            <groupId>com.adobe.cairngorm</groupId>
            <artifactId>observer</artifactId>
            <version>1.15</version>
            <type>swc</type>
        </dependency>         

Thanks

Jacques

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
Jun 03, 2011 Jun 03, 2011

Copy link to clipboard

Copied

Hi Jacques,

Thanks for your response. In the project we are not using cairngorm. I guess this _Super_XXXService.as classes are generated by Flash Builder, so I deleted the services and created new ones in Flash Builder 4.5. But the error persist, it can not compile the classes it generates automatically.

A new version of BlazeDs is required to work with the new Flash Builder 4.5?

Regards,

Rodrigo

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 ,
Jun 06, 2011 Jun 06, 2011

Copy link to clipboard

Copied

Hello,

Same issue to me to, but that strange : i  have the update of FlashBuiler 4.5 on 2PC, on with XP and other with WIN  7 the pbm occure only on XP !

Don't know the relation with the system. I have found that the path to change in _Super_XXXService.as classes  is now : com.adobe.serializers.utility.TypeUtility._serviceControl.convertResultHandler

conflict for the SDK version ??.

it seam to me that i have now to a pbm withthe  php file encodage in services en gateway.php.....but can't resolve it. !!

fbm

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
Jun 06, 2011 Jun 06, 2011

Copy link to clipboard

Copied

I am having the same problem on Mac Snow Leopard, but the class resolves a bit differently:

_serviceControl.convertResultHandler = com.adobe.serializers.utility.TypeUtility.convertResultHandler;

This looks like a bug in the BlazeDS code gen?

I've cross-posted to this thread to (1) document my Mac-specific workaround and (2) describe the other problem of the _Super classes for all Services getting clobbered if one Service is deleted/re-added: http://forums.adobe.com/thread/861396?tstart=0

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
Jun 06, 2011 Jun 06, 2011

Copy link to clipboard

Copied

Hi,

Im glad that it is not only me with this error. I have mac os x snow leopard.

Regards,

Rodrigo

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 ,
Jun 02, 2011 Jun 02, 2011

Copy link to clipboard

Copied

There is a JIRA issue on this:

     https://bugs.adobe.com/jira/browse/CGM-66

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
Jun 12, 2011 Jun 12, 2011

Copy link to clipboard

Copied

Hi,

I'm wondering if this forum is the right place to post this kind of issues. Any ideas?

Regards,

Rodrigo

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 ,
Jun 12, 2011 Jun 12, 2011

Copy link to clipboard

Copied

Yes, this is the right place. However, this thread continued elsewhere:

http://forums.adobe.com/thread/861396?tstart=0

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
Jun 13, 2011 Jun 13, 2011

Copy link to clipboard

Copied

LATEST

Hi,

Thanks, I could solve it with the provided solution.

See:

http://bugs.adobe.com/jira/browse/FB-31218

Regards,

Rodrigo

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