Error when running the job

Six Stars

Error when running the job

I have a simple job where i am extracting fields from SQL server, mapping the input with output columns and converting them to a JSON Format. However, when i try to run the job it says:

 

Execution failed : Job compile errors
At least job "DAProductAccountAgentJob_V2" has a compile errors, please fix and export again.
Error Line: 5597
Detail Message: The method put(String, String) in the type Map<String,String> is not applicable for the arguments (String, Object&Serializable&Comparable<?>)
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.

 

Any help is appreciated.

Fifteen Stars TRF
Fifteen Stars

Re: Error when running the job

Hi,
For compilation errors, go to code tab (bottom of the designer) then follow the red crosses.

TRF
Six Stars

Re: Error when running the job

I did. It says:

 

The method put(String, String) in the type Map<String,String> is not applicable for the arguments (String, Object&Serializable&Comparable<?>)

 

The job seems to be failing at Twritejsonfield component. Don't know what i am doing wrong 

 

I have attached screenshots just in case.

 

Thanks for your time.

 

Moderator

Re: Error when running the job

Hello,

Did you use any expression in your tMap component? Would you mind also posting your tMap component setting screenshot on forum?

Many thanks.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads