Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Error Log Details

I want to retrieve exception error details and error line no and store in database. In tLogCatcher, I only saw exception error name such as java.lang.NumberFormatException:null. How to retrieve error line no and their details?

0683p000009M6Uw.png

The following is tLogCatcher details. Where to get error line number and details?

0683p000009M6V6.png

Labels (2)
14 Replies
Anonymous
Not applicable
Author

Hello @JaRoi 

The tXMLMap component doesn't have "die on error" option. You could add another output to catch rejects via the filter box.

!Relational.ISNULL(((String)globalMap.get("tXMLMap_1_ERROR_MESSAGE"))) && 
! ((String)globalMap.get("tXMLMap_1_ERROR_MESSAGE")).equals("")

Best regards

Sabrina

Anonymous
Not applicable
Author

Hello,

In addition to that, there is a jira issue that "tmap with Die on error uncheck doesn't create ErrorReject Output".

https://jira.talendforge.org/browse/TUP-20851

It works in 7.1.1 but subscription version and not work in 7.0, 7.1.1 Open Studio.

This issue is fixed in V 7.2.1.

Best regards

Sabrina

Anonymous
Not applicable
Author

I changed txmlmap to tmap to get error stack trace via ErrorReject output. But I still have one issue. It only catch one error exception but the file has one or more exception error. How to get all error exceptions in one xml file?

Anonymous
Not applicable
Author

Hello @JaRoi 

Could you please set an example for your more exception error in one XML file?

Best regards

Sabrina

Anonymous
Not applicable
Author

For example, remove value from xml file which is required in xml and database table.