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: 
Anonymous
Not applicable

Cannot invoke getDocument() on the primitive type int

Hi, 

 

Anyone have an idea about the error below:

0683p000009M8gz.jpg

org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "create_sip" has a compile errors, please fix and export again.
Error Line: 1051
Detail Message: Cannot invoke getDocument() on the primitive type int
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.

Labels (4)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@vvengala , Understand now,that you need to use tXMLMap only,the problem is the output of the data type should be document ,which you need to configure and pass that filed to tSipCreator component.

check the third screenshot in the below link.

https://exchange.talend.com/?&_ga=2.35400738.2073740095.1582002401-512171932.1560926171#marketplacep...

 

View solution in original post

7 Replies
manodwhb
Champion II
Champion II

@vvengala ,can you share screen shot of your tMap for that column and where are you using getDocument() ?

Anonymous
Not applicable
Author

@manodwhb  I have used tXMLMap, below are the screenshots:

0683p000009M96Z.png0683p000009M96e.png

manodwhb
Champion II
Champion II

@vvengala , Why are you using txmlMap? can you explain your usecase?

Anonymous
Not applicable
Author

@manodwhbI'm trying to convert data in a table into a SIP package which is used by Infoarchive application, Infoarchive Supports only the XML as input. I have tried with tMap as well it throws the same error. I referred the below for creating the SIP Package:

https://exchange.talend.com/?&_ga=2.260965387.762023503.1582023998-675832383.1582023998#marketplacep....

 

Thank you

 

manodwhb
Champion II
Champion II

@vvengala , Understand now,that you need to use tXMLMap only,the problem is the output of the data type should be document ,which you need to configure and pass that filed to tSipCreator component.

check the third screenshot in the below link.

https://exchange.talend.com/?&_ga=2.35400738.2073740095.1582002401-512171932.1560926171#marketplacep...

 

Anonymous
Not applicable
Author

hi @manodwhb 

 

yeah, what you said was correct. I configured the tXMLMap using the Document datatype. we have some manual work to do, but it worked fine.

manodwhb
Champion II
Champion II

@vvengala , Great, Please mark this post solution.