Skip navigation
erory
Currently Being Moderated

Correspondence Management custom build errors

Feb 22, 2011 5:26 PM

Hello,

 

I have been looking at customising the Correspondence Management Flex applications, I have been able to update the logo for example, rebuild the ear file and deploy it. The logo is successfully updated but there is a problem with the CreateCorrespondence application, whenever it is launched it displays the following error message:

 

'A letter was not specified for filling'

 

I set flex.debug=true in the top level build script and rebuilt/deployed. When attaching the Flex debugger I get the following output:

 

[SWF] /cmsa/dc/index.swf - 3,553,122 bytes after decompression
{icc} info [com.adobe.icc.external.pdf::FormBridgeApi/_initialize]@10:42:37 > initializing FormBridge External API
{icc} info [com.adobe.icc.external.dc::ExternalApi/_initialize]@10:42:37 > initializing DC External API
{icc} info [IndexModel]@10:42:37 > Start of IndexModel constructor
{icc} info [com.adobe.icc.asset::AssetLoader/load]@10:42:37 > found 13 style properties: loading asset styles...
{icc_dc} info [IndexModel/appPreInitHandler]@10:42:37 > In appPreInitHandler
{icc_dc} info [IndexModel/appInitHandler]@10:42:38 > In appInitHandler
{icc_dc} info [IndexModel/appInitHandler]@10:42:38 > externalAPI.available: true
{icc_dc} info [IndexModel/appInitHandler]@10:42:38 > bridgeApi.available: true
{icc_dc} info [IndexModel/appInitHandler]@10:42:38 > invoke url: null
{icc_dc} info [IndexModel/appInitHandler]@10:42:38 > invoke params: {ivp id: null, name: null, state: -1, ver: 0, useTestData: false, xmlData: null, dataUrl: null, ddkeMap: null, preview: false, debug: false, fbDebug: false, dataDebug: false}
{icc_dc} info [IndexModel/appInitHandler]@10:42:38 > loading flex config...
{icc_dc} info [IndexModel/_loadFlexConfig]@10:42:38 > DC is loading the Flex configuration...
[SWF] /cmsa/dc/adobe-acm-ccr_styles.swf - 513,779 bytes after decompression
{icc_dc} info [com.adobe.icc.asset::AssetLoader/styleLoadCompleteHandler]@10:42:38 > asset styles loaded: loading style properties...
{icc_dc} info [com.adobe.icc.asset::AssetLoader/styleLoadCompleteHandler]@10:42:38 > style properties loaded
{icc_dc} info [IndexModel.as:266:Function/<anonymous>]@10:42:38 > configuring Data Dictionary service
{icc_dc} info [IndexModel.as:272:Function/<anonymous>]@10:42:38 > Finished configuring the Data Dictionary service
{icc_dc} info [IndexModel.as:274:Function/<anonymous>]@10:42:38 > loading dc config...
{icc_dc} info [IndexModel/_loadDcConfigHandler]@10:42:38 > The http service has returned the DC config
{icc_dc} info [IndexModel/_loadUser]@10:42:38 > About to load the user (and authenticate)
{icc_dc} info [com.adobe.icc.services.user.providers::UserManager/loadUserSuccessHa ndler]@10:42:38 > loadUserSuccessHandler
{icc_dc} info [IndexModel/_loadUserCompleteHandler]@10:42:38 > The user was loaded and authenticated
{icc_dc} info [com.adobe.icc.widget::IccApplication/set ssoTimeout]@10:42:38 > ssoTimeout: 4464145
ReferenceError: Error #1056: Cannot create property expressionSwf on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property dataDictionaryRefs on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property expressionSwf on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property dataDictionaryRefs on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property expressionSwf on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property dataDictionaryRefs on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property expressionSwf on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property dataDictionaryRefs on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property expressionSwf on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property dataDictionaryRefs on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property expressionSwf on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property dataDictionaryRefs on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property expressionSwf on com.adobe.consulting.pst.vo.Letter.
ReferenceError: Error #1056: Cannot create property dataDictionaryRefs on com.adobe.consulting.pst.vo.Letter.

 

Something seems to be wrong in the 'com.adobe.consulting.pst.vo.Letter' class, this class is in the adobe-acm-flex-services.swc which is in the assetcomposer building block.

 

Looking into the adobe-acm-flex-services.swc, the Letter class does NOT contain getter/setter properties for 'expressionSwf', it does contain a reference for 'dataDictionaryRef' NOT 'dataDictionaryRefs'. The client/server definitions for the com.adobe.consulting.pst.vo.Letter class are not compatible.

 

The default install of the Correspondence Management SA works fine without the above errors, it only fails after I have rebuilt the ear file.


Thanks

 
Replies
  • Currently Being Moderated
    Feb 22, 2011 9:50 PM   in reply to erory

    The ReferenceErrors  are warnings that can be ignored. There must be more in the logs beynd that. Could you share that?

    Also, what is the URL with which you are invoking the Create Correspondence app?

    Would also be helpful if you could enlist the steps that you had taken to customize the solution, so that we could confirm if there is nothing amiss there.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 23, 2011 3:23 AM   in reply to erory

    Thanks for the details.

    I was looking for more in the 'flash' logs. (i.e., what's logged beyond the 'ReferenceErrors')

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 23, 2011 3:49 AM   in reply to erory

    Looking at the flash logs :

    ......

    ......

    {icc_dc} info [IndexModel/appInitHandler]@10:42:38 > invoke url: null

    {icc_dc} info [IndexModel/appInitHandler]@10:42:38 > invoke params: {ivp id: null, name:null, state: -1, ver: 0, useTestData: false, xmlData: null, dataUrl: null, ddkeMap: null, preview: false, debug: false, fbDebug: false, dataDebug: false}

    ......

    ......

    it seems that the CCR app could not pick the correct URL. Was the DC application SWF built successfully and correctly?

    What Flash player version are you using?

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 24, 2011 1:44 AM   in reply to erory

    What if you disabled the flex debug environment and produced/deployed a standard release SWF?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 23, 2011 2:51 AM   in reply to erory

    Deleted 'jboss.web' within 'work' folder and it started to work for me.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points