On Generate and Email document, user encounters application error:
Example: An application error occurred. Please try again later, or notify support (with the error information of errorID=900481b5-eeef-45de-9f2e-72a77c8a4382, timestamp=2017-02-13T11:29:06.311+0100, and the version information from the current screen) if the issue keeps occurring.
Reproducing the Issue
- Go to Admin tool then Generate Document
- Click Generate and Email
- Result: user encounters application error
An application error occurred. Please try again later, or notify support (with the error information of errorID=65457f3b-384f-42b2-925d-a683903b2b33, timestamp=2017-02-13T14:49:28.484+0100, and the version information from the current screen) if the issue keeps occurring.
Issue: Missiconfiguration of Document
1. Go to Admin tool then Manage Document Template
3. Select document
4. Click on source
5. Review source
The issue with resolvedTrRow value is null :
The whole of DocGen framework the variable is used 3 times in one method andthat method is called on if the body has table associated with it .
But we don't find any table associated with the template , and more-ever this template is straight forward. in terms complications in the structure of the template content.
Step 1: Create a New Document
- Go to Admin tool then Manage Document Template
- Create a New Document
Step 2: Refresh the template
- Go to Admin tool then Manage Document Template Mapping
- Select the document and update base object and target field
Result: No Error Message
Document Generate Generate and Email Splunk Result: while trying to invoke the method java.lang.String.replace(java.lang.CharSequence, java.lang.CharSequence) of a null object loaded from local variable 'resolvedTrRow' Table associated with the template ECT-65346 , KBA , LOD-SF-EC-DOC , Document Generation , LOD-SF-EC , Employee Central , Problem