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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
igoralcantara
Partner Ambassador/MVP
Partner Ambassador/MVP

tDataPrepRun returning error DictionarySnapshot.getDQCategoryByName(String)" because "dictionarySnapshot" is null

Good day Qlik Community,

I am working with a job whose schema was provided by Qlik Learning. All other pieces work fine but this one.

Basically I have a Data Preparation job in Talend Cloud (Demographics) which uses only one semantic type: US State Code. The job runs perfectly in the cloud. However, when I call it in Studio, it fails.

I have all the modules installed on Studio and I do have the latest version of Studio installed. I have a Windows OS.

The error I get is this one:

Exception in component tDataprepRun_1 (Process_Data)

java.lang.NullPointerException: Cannot invoke "org.talend.dataquality.semantic.snapshot.DictionarySnapshot.getDQCategoryByName(String)" because "dictionarySnapshot" is null

I also attached a few images.

Any tip on how to fix this? 

igoralcantara_0-1752073495302.png

 

igoralcantara_1-1752073523942.png

 

igoralcantara_2-1752073585763.png

 



Check out my latest posts at datavoyagers.net
Labels (4)
34 Replies
marksouzacosta

Hi @Denis_Segard,

There is one date column, the Date of birth. I checked all values using different techniques, and values look valid (format yyyy-MM-dd) minimum date 1906-05-31 and max 2022-05-28, no blanks and no -1228158000000 value.

Anyway, I changed the Data Preparation to remove the Date of birth column and the Job worked - with the use dictionary checked.

My guess now is that the Date issue was some other non-related issue with the Data Preparation while the workaround of publishing a dictionary semantic type made the magic.

 

Regards,

Mark Costa

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

Denis_Segard
Support
Support

Hello Mark,
I "dug a little bit deeper" and the error occurs when there is a date before 1970-01-01 (EPOCH limit) .
I have reported the problem to the R&D. 

Kind regards
Denis

hugo_andrade
Partner - Creator III
Partner - Creator III

What about Null values @marksouzacosta ? Did you have them on the data?

Live and Breathe Qlik & AWS.
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

marksouzacosta

No. No null values.
By the way, Talend released a new patch this week. I have updated and I will retest it to see if this problem was addressed.

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

hugo_andrade
Partner - Creator III
Partner - Creator III

Nice. Please let us know how it goes!

Live and Breathe Qlik & AWS.
Follow me on my LinkedIn | Know IPC Global at ipc-global.com