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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
MAli0012
Contributor
Contributor

Int to String Number.Format.Exception

Couldn't parse value for column 'DispTime' in 'row1', value is 'NULL'. Details: java.lang.NumberFormatException: For input string: "NULL"

DispTime column is of integer type but when I'm converting it to String in tMap, its giving this error due to these NULL in column. Any solution?

 

Labels (2)
3 Replies
kakooo16
Creator
Creator

try this :

Relational.ISNULL(row1.DispTime) ? '' :  row1.DispTime.toString()

 

Anonymous
Not applicable

Hi

There exists string value "NULL" in source file, you should read this column as string data type.

 

Regards

Shong

MAli0012
Contributor
Contributor
Author

It worked, thanks @Shicong Hong​