Expand my Community achievements bar.

CM Solution (ES3)...letter preview hangs

Avatar

Level 2

I'm having issues getting the letter preview from within the Correspondence Management Solution to launch.  The UI just says "Loading Letter..." and nothing ever gets displayed.  I assume this is an issue with Flex not being able to launch the Reader plugin via the Form Bridge.  I don't see any javascript errors, however.  Any ideas or thoughts on how to debug and/or resolve this?

7 Replies

Avatar

Level 2

I resolved this issue a long time ago, but thought I'd provide additional info to close out the thread.  I found some rendering errors in the JBoss log.  I'm not entirely sure why it was failing, but I think it was related to my laptop being reassigned a new IP Address once I connected to a new network.  Restarting JBoss resolved the issue.  It would have been helpful if the Flex UI had presented an error message of some sort.

Avatar

Employee

In any case if a user would like to know more information from Flex UI, It does provide some useful debug information.

Just click on the Flex area on left hand side and click Ctrl + Alt + D , a flex dialog box opens up with useful information

Avatar

Level 2

Santosh,

   Your post helped me in finding out the exact reason of the issue that I am facing now. The issue is: I am getting an exception while previewing in CM UI. The Exception is attached.CM_Exception.png

After clicking Ctrl + Alt + D, as per your previous post, I got the below error log. Can you please help me in resolving this issue.

{icc} info    @12:25:40 > Updating Context Root: lc

{icc} info    @12:25:40 > Updated Context Root

{icc} info    @12:25:40 > Reconnect Duration 20000

{icc} info    @12:25:41 > App Config Initialization start.

{icc} info    @12:25:41 > initializing FormBridge External API

{icc} info    @12:25:41 > In appPreInitHandler

{icc} info    @12:25:41 > App Url:http://10.224.64.151:8080/lc/content/cm/createcorrespondence.html?#random=1388732132812&cmLetterId=%...

{icc} info    @12:25:42 > App Config Initialization complete.

{icc_dc} info    @12:25:42 > initializing DC External API

{icc_dc} info    @12:25:42 > [handleCCRHashParamsChange]invoke url: http://10.224.64.151:8080/lc/content/cm/createcorrespondence.html?#random=1388732132812&cmLetterId=%...

{icc_dc} info    @12:25:42 > Query Parameters {map len: 5, elems: =, cmUseTestData=1, cmPreview=1, random=1388732132812, cmLetterId=/content/apps/cm/correspondence/letters/1000/ETLLetterTemplate}

{icc_dc} info    @12:25:42 > Loading CCR with following parameters

cmLetterInstanceId: null

cmLetterId: /content/apps/cm/correspondence/letters/1000/ETLLetterTemplate

cmLetterName: null

cmLetterVersion: 0

cmLetterPublishDate: null

cmPreview: true

cmLcWorkspace: false

cmUseTestData: true

cmUseLatest: false

cmDataUrl: null

cmData: null

{icc_dc} info    @12:25:42 > invoke params: {ivp letterInstanceId: null, letterId: /content/apps/cm/correspondence/letters/1000/ETLLetterTemplate, name: null, ver: 0, pubDate: null, useTestData: true, useLatest: false, xmlData: null, dataUrl: null, ddkeMap: [map], preview: true, lcWorkspace: false, debug: false, fbDebug: false, dataDebug: false}

          ddke: {map len: 2, elems: random=1388732132812, =}

{icc_dc} info    @12:25:42 > invoke url: http://10.224.64.151:8080/lc/content/cm/createcorrespondence.html?#random=1388732132812&cmLetterId=%...

{icc_dc} info    @12:25:42 > Query Parameters {map len: 5, elems: =, cmPreview=1, cmUseTestData=1, cmLetterId=/content/apps/cm/correspondence/letters/1000/ETLLetterTemplate, random=1388732132812}

{icc_dc} info    @12:25:42 > Loading CCR with following parameters

cmLetterInstanceId: null

cmLetterId: /content/apps/cm/correspondence/letters/1000/ETLLetterTemplate

cmLetterName: null

cmLetterVersion: 0

cmLetterPublishDate: null

cmPreview: true

cmLcWorkspace: false

cmUseTestData: true

cmUseLatest: false

cmDataUrl: null

cmData: null

{icc_dc} info    @12:25:42 > invoke url: http://10.224.64.151:8080/lc/content/cm/createcorrespondence.html?#random=1388732132812&cmLetterId=%...

{icc_dc} info    @12:25:42 > Query Parameters {map len: 5, elems: =, cmPreview=1, cmUseTestData=1, cmLetterId=/content/apps/cm/correspondence/letters/1000/ETLLetterTemplate, random=1388732132812}

{icc_dc} info    @12:25:42 > Loading CCR with following parameters

cmLetterInstanceId: null

cmLetterId: /content/apps/cm/correspondence/letters/1000/ETLLetterTemplate

cmLetterName: null

cmLetterVersion: 0

cmLetterPublishDate: null

cmPreview: true

cmLcWorkspace: false

cmUseTestData: true

cmUseLatest: false

cmDataUrl: null

cmData: null

{icc_dc} info    @12:25:42 > invoke url: http://10.224.64.151:8080/lc/content/cm/createcorrespondence.html?#random=1388732132812&cmLetterId=%...

{icc_dc} info    @12:25:42 > Query Parameters {map len: 5, elems: =, cmPreview=1, cmUseTestData=1, cmLetterId=/content/apps/cm/correspondence/letters/1000/ETLLetterTemplate, random=1388732132812}

{icc_dc} info    @12:25:42 > Loading CCR with following parameters

cmLetterInstanceId: null

cmLetterId: /content/apps/cm/correspondence/letters/1000/ETLLetterTemplate

cmLetterName: null

cmLetterVersion: 0

cmLetterPublishDate: null

cmPreview: true

cmLcWorkspace: false

cmUseTestData: true

cmUseLatest: false

cmDataUrl: null

cmData: null

{icc_dc} info    @12:25:42 > Loading Letter using Letter Id : /content/apps/cm/correspondence/letters/1000/ETLLetterTemplate

{icc_dc} info    @12:25:42 > loaded letter {letter name: ETLLetterTemplate, state: 4, ver: 0, targets: 0, fields: 28, vars: 0, dd: ETLDataDictionary, pp: null, layout: ETLLayout, id: /content/apps/cm/correspondence/letters/1000/ETLLetterTemplate}

{icc_dc} info    @12:25:42 > loading IXD from letter test data...

{icc_dc} info    @12:25:43 > IXD loaded

{icc_dc} ERROR   @12:25:43 > Failed to render letter and retrieve DD {dd name: ETLDataDictionary}:

          {fault code: Server.Processing, errId: 0, info: com.adobe.icc.dbforms.exceptions.ICCException : Exception in extracting form data bindings., detail: null}

{icc_dc} ERROR   @12:25:43 > Error in letter Load{fault code: Server.Processing, errId: 0, info: com.adobe.icc.dbforms.exceptions.ICCException : Exception in extracting form data bindings., detail: null}

{icc_dc} info    @12:25:43 > [RPC Fault faultString="com.adobe.icc.dbforms.exceptions.ICCException : Exception in extracting form data bindings." faultCode="Server.Processing" faultDetail="null"]

Thanks in advance,

Arjun

Avatar

Level 2

Hi All,

Even I am facing the same issue while loading the letter. Below is the error log Please help me

{icc} info    @07:59:54 > Reconnect Duration 20000

{icc_dc} info    @07:59:54 > In appPreInitHandler

{icc_dc} info    @07:59:55 > initializing FormBridge External API

{icc_dc} info    @07:59:55 > App Url:https://ftwldscimw124.r1-core.r1.aig.net:42650/content/cm/createcorrespondence.html?cmLetterId=%...

{icc_dc} info    @07:59:55 > initializing DC External API

{icc_dc} info    @07:59:55 > invoke url: https://ftwldscimw124.r1-core.r1.aig.net:42650/content/cm/createcorrespondence.html?cmLetterId=%2Fco...

{icc_dc} info    @07:59:55 > invoke params: {ivp id: /content/apps/cm/correspondence/letters/FR_GES_AU_INTER_PRES_BIENNALE, name: null, ver: 0, useTestData: true, useLatest: false, xmlData: null, dataUrl: null, ddkeMap: null, preview: true, debug: false, fbDebug: false, dataDebug: false}

{icc_dc} info    @07:59:55 > Loading Letter using Letter Id : /content/apps/cm/correspondence/letters/FR_GES_AU_INTER_PRES_BIENNALE

{icc_dc} info    @08:00:06 > loaded letter {letter name: FR_GES_AU_INTER_PRES_BIENNALE, state: 5, ver: 0, targets: 8, fields: 1, vars: 21, dd: iCorrOneClaimGlobalDDE, pp: iCorrespondence/Processes/Internal/OCDistributeUICorrespondence, layout: FranceLayout2, id: /content/apps/cm/correspondence/letters/FR_GES_AU_INTER_PRES_BIENNALE}

{icc_dc} info    @08:00:06 > loading IXD from letter test data...

{icc_dc} info    @08:00:07 > extensions loaded

{icc_dc} info    @08:00:07 > IXD loaded

{icc_dc} info    @08:00:07 > invoke url: https://ftwldscimw124.r1-core.r1.aig.net:42650/content/cm/createcorrespondence.html?cmLetterId=%2Fco...

{icc_dc} info    @08:00:07 > invoke url MSF: https://ftwldscimw124.r1-core.r1.aig.net:42650/content/cm/createcorrespondence.html?cmLetterId=%2Fco...

{icc_dc} info    @08:00:07 > invoke url: https://ftwldscimw124.r1-core.r1.aig.net:42650/content/cm/createcorrespondence.html?cmLetterId=%2Fco...

{icc_dc} info    @08:00:09 > created DD instance {ddi ddName: iCorrOneClaimGlobalDDE, ddId: /content/apps/cm/datadictionaries/iCorrOneClaimGlobalDDE}

{icc_dc} info    @08:00:09 > LetterInstanceBuilder success

{icc_dc} info    @08:00:09 > rendering letter [object LetterInstance]...

{icc_dc} ERROR   @08:00:10 > failed to render letter:

{fault code: Server.Processing, errId: 0, info: com.adobe.icc.dbforms.exceptions.ICCException : ALC-ACM-003-003: Error rendering Letter :, detail: null}

Avatar

Level 2

It says there is an error rendering the letter.  Check the logs for the LiveCycle application server, the actual error is likely in there somewhere.

Avatar

Level 2

HI,

I have new issue while am generating the letters through CMSA. When am generating the letter for first time is throwing error saying "Error in Passing XML" and that issues is not reoccurring again and again.

Also, its have inconsistency behavior.

Can anybody suggest what may be the issue.

Avatar

Employee Advisor

I got a similar error msg for one of my clients who was trying to preview letters but he was getting "Error rendering Letter" everytime. After going through all the logs, we found that the path set for temp over "Asset Composer Configurations " in configuration manager was not correct and correcting the same served the purpose post which he was able to render letters. So checking for the correct parameters in "Asset Composer Configurations " can be useful.

-Pulkit