Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Blank screen appears intermittently in some application flows

SA-3597

Summary



Blank screens display intermittently in some application flows, mostly at the end of the flow. The below two exceptions are observed in the log.

While removing a tabPage from the tabPane using an index (which is already removed before), it displays a blank screen.

However, when trying to remove the tabPage from the tabPane using the "tag name" (which does not exist now since it is already removed before), it does not throw any exception and page is not blank.
"removeTabPage(idOrTag)" in tabpane.htc, is behaves differently for ID and tag.
 


Error Messages



1)

<Thd=Default : 1> <com.chordiant.jxw.efa.TaskHelper.acquireCompositeWorkflowPart2()> <Cannot instantiate composite workflow w/wid=salesandmarketingstatic/saveandretain/taskflows/retentionoverview <com.chordiant.jxw.efa.ContextException: Essential parameters : name, type, scope, value Cannot be null> >
[10/13/14 13:30:47:458 IST] 0000000d SystemErr R
[START]
JXW Exception Stack Dump
Timestamp : Mon Oct 13 13:30:47 IST 2014 (1413187247458ms)
Thread Name : Default : 1
Stack Summary : print Stack Details : print
JXW Annotations : print JVM stackdumps : ommit
[10/13/14 13:30:47:458 IST] 0000000d SystemErr R
[Trace Summary] 1 : com.chordiant.jxw.efa.ContextException: Essential parameters : name, type, scope, value Cannot be null
[10/13/14 13:30:47:458 IST] 0000000d SystemErr R
[Detailed Trace] 1\ [JXWException] 1| Exception: com.chordiant.jxw.efa.ContextException
1| Message : Essential parameters : name, type, scope, value Cannot be null
1| Origin : null
1| Severity : 3
1| Code : 1
1/ [JXWException]
[END]

2)
<com.chordiant.core.transform.connectors.TransformerConnectorsBase.serializeNodeToString()> <Exception during transform. <java.io.IOException: The character '' is an invalid XML character> >
<com.chordiant.cafe.util.LoadInstructions.execute()> <java.lang.Exception: Invalid Document object passed to class, cannot retrieve instructions>
<com.chordiant.core.transform.connectors.TransformerConnectorsBase.serializeNodeToString()> <Exception during transform. <java.io.IOException: The character '' is an invalid XML character> >

Steps to Reproduce



Below are the steps to reproduce this issue in OOTB environment.

1.Take a backup of the existing  ccacustomerprofilesummarytab.jsp and ccacustomerprofiletabs.jsp from the following director:
/Advisor/WebRoot/iAdvisorWeb/bundles/ccacustomer
2.Add a new tab in ccacustomerprofiletabs.jsp.
 
   <iframe id="offersTabElementContent" frameborder="no" style="width:100%;height:100%;" src="">    </iframe>
 
3. Add the following code in ccacustomerprofilesummarytab.jsp, for method summaryTabFormatFields(). 
     
      customerProfileTabpane.removeTabPane(4);
 
     after the below code snippet.
 
                if(oTemp != null){
                     for(var i= 0; i < oTemp.length; i++){
                           summaryTabFormatField(        oTemp[i].cells[1].children("summaryTabHistoryListItemDate"), oSummaryTabDateFormat, "date" );
                     }
                }
4. Save the files and refresh the Advisor project. Run the application .
5. Open customer details page following the steps. Identify Customer > Search > Verify > Customer details Page
6. Click Change Address from the Activities and change the address and click the finish button. Confirm Change Address page will be blank.


Root Cause



System was unable to detect if the tab is already removed.



Resolution



Modify removeTabpage method in Tabpane.htc file. 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us