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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

NumberFormatException Issue in Mapping

 I am using:

new new BigDecimal(row1.BalanceDueCurr) 

This is converting a string from the source file.

I am getting the following error when processing a file through mapping.

Exception in component tMap_1 (ASG)
java.lang.NumberFormatException
	at java.math.BigDecimal.<init>(BigDecimal.java:494)
	at java.math.BigDecimal.<init>(BigDecimal.java:383)
	at java.math.BigDecimal.<init>(BigDecimal.java:806)
	at asg_integration.asg_0_1.ASG.tFileList_1Process(ASG.java:3641)
	at asg_integration.asg_0_1.ASG.tFTPGet_1Process(ASG.java:4891)
	at asg_integration.asg_0_1.ASG.tFTPConnection_1Process(ASG.java:4535)
	at asg_integration.asg_0_1.ASG.runJobInTOS(ASG.java:8023)
	at asg_integration.asg_0_1.ASG.main(ASG.java:7806)
[statistics] disconnected

 The odd behavior is that it processes all of the records in the text file without issue. Out of 272 readable records, 272 are being updated or inserted into Salesforce correctly. I do not understand what is causing this error.

Labels (3)
2 Replies
vapukov
Master II
Master II

do You set - skip empty rows? it could be at the end of file

Anonymous
Not applicable
Author

Skip empty rows is checked.