0 Replies Latest reply on Dec 8, 2011 3:53 AM by kkudiksx

    Integration RPC, Flex 4.5.1 and Parsley 2.4.0

    kkudiksx Level 1

      I've been trying to use CairngormIntegrationRPCSupport with Parsley 2.4.0 and I get a runtime error as follows:

       

      ReferenceError: Error #1065: Variable org.spicefactory.parsley.metadata::Target is not defined.

                at com.adobe.cairngorm::CairngormIntegrationRPCSupport$cinit()

                at global$init()[C:\workspaces\flex4.0betadrop17feb10\Cairngorm 3 trunk\target\checkout\libraries\IntegrationRPC\src\com\adobe\cairngorm\CairngormIntegrati onRPCSupport.as:34]

                at CIBFlexApp/_CIBFlexApp_CairngormIntegrationRPCSupport1_c()[C:\dev\upgrade-flex-branch\crc ib-upgrade-flex-branch-andreas\cib-flexapp\src\main\flex\CIBFlexApp.mxml:167]

                at CIBFlexApp/_CIBFlexApp_ContextBuilderTag1_i()[C:\dev\upgrade-flex-branch\crcib-upgrade-fl ex-branch-andreas\cib-flexapp\src\main\flex\CIBFlexApp.mxml:164]

                at CIBFlexApp()[C:\dev\upgrade-flex-branch\crcib-upgrade-flex-branch-andreas\cib-flexapp\src \main\flex\CIBFlexApp.mxml:164]

                at _CIBFlexApp_mx_managers_SystemManager/create()[_CIBFlexApp_mx_managers_SystemManager.as:5 2]

                at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.5.1\framework s\projects\framework\src\mx\managers\systemClasses\ChildManager.as:311]

                at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.5.1\frameworks\projects\fr amework\src\mx\managers\SystemManager.as:3063]

                at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2849]

                at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2716]

                at mx.managers::SystemManager/docFrameListener()[E:\dev\4.5.1\frameworks\projects\framework\ src\mx\managers\SystemManager.as:2604]

       

      Any idea on how to fix the problem?

       

      This is how I'm initializing parlsey.

       

       

          <fx:Declarations>

              <spicefactory:ContextBuilder id="spiceFactoryContextBuilder">

                   <spicefactory:Settings autowireViews="true"/>

                  <cairngorm:CairngormModuleSupport/>

                  <cairngorm:CairngormIntegrationRPCSupport/>

                  <spicefactory:FlexConfig type="{CIBFlexAppContext}"/>

              </spicefactory:ContextBuilder>

              <spicefactory:Configure/>

          </fx:Declarations>

       

      Thanks