<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic tJSONDocSave Failed following to different version of jackson-databind in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304704#M76447</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I designed a job which read data from Salesforce to populate a json file.&lt;/P&gt;&lt;P&gt;The json file creation is done using the custom components tJSONDoc.&lt;/P&gt;&lt;P&gt;When running the job from Talend Studio, it works well. But when trying to run from the TAC, it failed with the following errors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[statistics] disconnected
Exception in thread "Thread-1" java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.SerializationConfig.getDefaultPropertyInclusion()Lcom/fasterxml/jackson/annotation/JsonInclude$Value;
	at com.fasterxml.jackson.databind.node.ObjectNode.serialize(ObjectNode.java:298)
	at com.fasterxml.jackson.databind.ser.std.SerializableSerializer.serialize(SerializableSerializer.java:41)
	at com.fasterxml.jackson.databind.ser.std.SerializableSerializer.serialize(SerializableSerializer.java:27)
	at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:129)
	at com.fasterxml.jackson.databind.ObjectWriter._configAndWriteValue(ObjectWriter.java:1052)
	at com.fasterxml.jackson.databind.ObjectWriter.writeValueAsString(ObjectWriter.java:923)
	at de.jlo.talendcomp.json.JsonDocument.getJsonString(JsonDocument.java:677)
	at esb.oi2jsn_20_jsoncust_010_consents_0_1.OI2JSN_20_JsonCust_010_consents.tJSONDocSave_2Process(OI2JSN_20_JsonCust_010_consents.java:3660)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After investigations, I found that when building the job Talend brings different versions of the same Jackson jars (see screenshot).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried different solutions without any success :&amp;nbsp;&lt;/P&gt;&lt;P&gt;- delete the older version from Talend configuration/ ...,&lt;/P&gt;&lt;P&gt;- build the job from the Studio -&amp;gt; Unzip the build and delete the older version -&amp;gt; re-zip -&amp;gt; it works in my local but it failed after importing the zip in the TAC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone have a solution ? I will appreciate... I spent too much time trying to fix that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:03:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T08:03:36Z</dc:date>
    <item>
      <title>tJSONDocSave Failed following to different version of jackson-databind</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304704#M76447</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I designed a job which read data from Salesforce to populate a json file.&lt;/P&gt;&lt;P&gt;The json file creation is done using the custom components tJSONDoc.&lt;/P&gt;&lt;P&gt;When running the job from Talend Studio, it works well. But when trying to run from the TAC, it failed with the following errors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[statistics] disconnected
Exception in thread "Thread-1" java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.SerializationConfig.getDefaultPropertyInclusion()Lcom/fasterxml/jackson/annotation/JsonInclude$Value;
	at com.fasterxml.jackson.databind.node.ObjectNode.serialize(ObjectNode.java:298)
	at com.fasterxml.jackson.databind.ser.std.SerializableSerializer.serialize(SerializableSerializer.java:41)
	at com.fasterxml.jackson.databind.ser.std.SerializableSerializer.serialize(SerializableSerializer.java:27)
	at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:129)
	at com.fasterxml.jackson.databind.ObjectWriter._configAndWriteValue(ObjectWriter.java:1052)
	at com.fasterxml.jackson.databind.ObjectWriter.writeValueAsString(ObjectWriter.java:923)
	at de.jlo.talendcomp.json.JsonDocument.getJsonString(JsonDocument.java:677)
	at esb.oi2jsn_20_jsoncust_010_consents_0_1.OI2JSN_20_JsonCust_010_consents.tJSONDocSave_2Process(OI2JSN_20_JsonCust_010_consents.java:3660)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After investigations, I found that when building the job Talend brings different versions of the same Jackson jars (see screenshot).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried different solutions without any success :&amp;nbsp;&lt;/P&gt;&lt;P&gt;- delete the older version from Talend configuration/ ...,&lt;/P&gt;&lt;P&gt;- build the job from the Studio -&amp;gt; Unzip the build and delete the older version -&amp;gt; re-zip -&amp;gt; it works in my local but it failed after importing the zip in the TAC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone have a solution ? I will appreciate... I spent too much time trying to fix that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304704#M76447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: tJSONDocSave Failed following to different version of jackson-databind</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304705#M76448</link>
      <description>&lt;P&gt;you can try to load the good jar with tLibraryLoad!&lt;/P&gt;&lt;P&gt;but the best way is to upgrade Tac Version jar version.&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 15:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304705#M76448</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-06-20T15:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: tJSONDocSave Failed following to different version of jackson-databind</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304706#M76449</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I ve tried that before. But it's still failing .&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 15:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304706#M76449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-20T15:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: tJSONDocSave Failed following to different version of jackson-databind</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304707#M76450</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Are you using Nexus or commandline?&lt;/P&gt; 
&lt;P&gt;For commandline, have you tried to restart the commandline, and then generate the task again?&lt;/P&gt; 
&lt;P&gt;Let us know if you can get the user component latest updating.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 09:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304707#M76450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-21T09:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: tJSONDocSave Failed following to different version of jackson-databind</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304708#M76451</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I tried both but it did not work.&lt;BR /&gt;So far what was successful was the following :&lt;BR /&gt;- build the job from the studio&lt;BR /&gt;- unzip the zip built and remove the old version of the Jackson jar&lt;BR /&gt;- execute locally&lt;BR /&gt;This works only when I run in my machine.&lt;BR /&gt;When I re-zip and import in the TAC (import zip), it failed during the execution with this error : "connection to the server failed".&lt;BR /&gt;&lt;BR /&gt;Do you know why after having unzipped a build job and re-zipped manually, the TAC cannot execute it ?&lt;BR /&gt;&lt;BR /&gt;Thank you for helping,&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 13:09:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304708#M76451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-21T13:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: tJSONDocSave Failed following to different version of jackson-databind</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304709#M76452</link>
      <description>Just wanted to add my problem is still not solved but I found a workaround ; I now able to run from the TAC the built job I cleaned.
&lt;BR /&gt;
&lt;BR /&gt;So to summarize, I did the follow :
&lt;BR /&gt;- build the job from the studio ( select binaries)
&lt;BR /&gt;- unzip the zip built job
&lt;BR /&gt;. here there are 3 items ( file .properties, lib folder and the job folder)
&lt;BR /&gt;. in the lib folder, remove the old version of the Jackson jar
&lt;BR /&gt;- re-zip the job : select the above 3 items and zip them. Take care of not zip them inside a new folder, otherwise the job will fail when running on the TAC.
&lt;BR /&gt;- From the TAC, create a task by importing the zip
&lt;BR /&gt;
&lt;BR /&gt;_(o)_</description>
      <pubDate>Wed, 27 Jun 2018 21:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304709#M76452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-27T21:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: tJSONDocSave Failed following to different version of jackson-databind</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304710#M76453</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thanks for sharing your solution with us on forum.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 04:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304710#M76453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-28T04:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: tJSONDocSave Failed following to different version of jackson-databind</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304711#M76454</link>
      <description>&lt;P&gt;Which version of Talend and the tJSONDoc components (see in the Advanced settings) you are running?&lt;/P&gt;
&lt;P&gt;I use these components in Talend Runtime 6.3.1 and we currently checking Talend Runtime 6.5.1.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 07:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJSONDocSave-Failed-following-to-different-version-of-jackson/m-p/2304711#M76454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-21T07:59:16Z</dc:date>
    </item>
  </channel>
</rss>

