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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Jennifer_siders
Contributor III
Contributor III

Java exception not caught by tAssertcatcher

 

Hi team, 

 

We are reading a file using tfileInputDelimited and one of the column has incorrect date format and the system is throwing exception which is fine, but we would like to get an email notification when ever such exception occurs. We have got tAssertCatcher and tSendMail components configured and are expecting it to catch the exception and send an email notification but doesnt seems to be happening. Kindly advice

Error:

java.lang.NumberFormatException: For input string: "5/09"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at routines.system.FastDateParser$DateParser.parse(FastDateParser.java:127)
at routines.system.ParserUtils.parseTo_Date(ParserUtils.java:306)

 

 

Cheers

J

Labels (2)
1 Reply
Anonymous
Not applicable

Hi
tAssertCatcher capture the log messages thrown by tAssert component. For Java exception, you should use tLogCatcher component to capture it.

Regards
Shong