<?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 Re: Route fails with java.lang.NoSuchMethodError: org.apache.camel.component.file.remote.RemoteFileEndpoint.isPreSort()Z in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Route-fails-with-java-lang-NoSuchMethodError-org-apache-camel/m-p/2304535#M76298</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I found the issue. I've exported two routes from a 7.1 TOS. It seems to have to do with the dependencies that are used by the connection factory. You can test it yourself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lx2q"&gt;testFTPError.zip&lt;/A&gt;</description>
    <pubDate>Mon, 09 Dec 2019 13:00:48 GMT</pubDate>
    <dc:creator>PaulTegelaar</dc:creator>
    <dc:date>2019-12-09T13:00:48Z</dc:date>
    <item>
      <title>Route fails with java.lang.NoSuchMethodError: org.apache.camel.component.file.remote.RemoteFileEndpoint.isPreSort()Z</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Route-fails-with-java-lang-NoSuchMethodError-org-apache-camel/m-p/2304531#M76294</link>
      <description>&lt;P&gt;Hi There!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope somebody can help me with this one, I have a simple route which scans an sftp directory. When files are found the route creates a message and puts that message in a ActiveMQ queue.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-05-13 at 10.13.26.png" style="width: 543px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4Ye.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150451iFFD89BC15C702591/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4Ye.png" alt="0683p000009M4Ye.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When running the above, the route crashes with the following error (removed the username/password and server):&lt;/P&gt; 
&lt;PRE&gt;Starting job triggerSFTPscan at 10:05 13/05/2019.

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Applications/Talend/FincoFuel_TOSESB-7.1.1/studio/configuration/.m2/repository/org/talend/libraries/activemq-all-5.15.5/6.0.0-SNAPSHOT/activemq-all-5.15.5-6.0.0-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Applications/Talend/FincoFuel_TOSESB-7.1.1/studio/configuration/.m2/repository/org/talend/libraries/slf4j-log4j12-1.7.5/6.0.0/slf4j-log4j12-1.7.5-6.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[statistics] connecting to socket on port 3516
[statistics] connected
[WARN ]: org.apache.camel.component.file.remote.SftpConsumer - Consumer SftpConsumer[sftp://username@server:22/?password=xxxxxx] failed polling endpoint: sftp://username@server:22/?password=xxxxxx. Will try again at next poll. Caused by: [java.lang.NoSuchMethodError - org.apache.camel.component.file.remote.RemoteFileEndpoint.isPreSort()Z]
java.lang.NoSuchMethodError: org.apache.camel.component.file.remote.RemoteFileEndpoint.isPreSort()Z
	at org.apache.camel.component.file.remote.SftpConsumer.doPollDirectory(SftpConsumer.java:157)
	at org.apache.camel.component.file.remote.SftpConsumer.pollDirectory(SftpConsumer.java:87)
	at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:124)
	at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174)
	at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)&lt;/PRE&gt; 
&lt;P&gt;But if i disable the ActiveMq components, the route works fine.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-05-13 at 10.14.08.png" style="width: 545px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4V2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143187i835D2866C23E9B1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4V2.png" alt="0683p000009M4V2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;To me it looks like there are some libraries with different versions that can cause this behaviour, but i can not figure out how to solve this. Does anybody have any suggestions?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Route-fails-with-java-lang-NoSuchMethodError-org-apache-camel/m-p/2304531#M76294</guid>
      <dc:creator>MdG_IntoDataNL</dc:creator>
      <dc:date>2024-11-16T05:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Route fails with java.lang.NoSuchMethodError: org.apache.camel.component.file.remote.RemoteFileEndpoint.isPreSort()Z</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Route-fails-with-java-lang-NoSuchMethodError-org-apache-camel/m-p/2304532#M76295</link>
      <description>&lt;P&gt;What version of Talend studio are you using?&amp;nbsp; Can you upgrade to the latest?&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 22:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Route-fails-with-java-lang-NoSuchMethodError-org-apache-camel/m-p/2304532#M76295</guid>
      <dc:creator>nfz11</dc:creator>
      <dc:date>2019-05-13T22:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Route fails with java.lang.NoSuchMethodError: org.apache.camel.component.file.remote.RemoteFileEndpoint.isPreSort()Z</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Route-fails-with-java-lang-NoSuchMethodError-org-apache-camel/m-p/2304533#M76296</link>
      <description>&lt;P&gt;I'm on &amp;nbsp;Talend Open Studio for ESB&amp;nbsp;Version: 7.1.1.20181026_1147&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If i try to update from studio, it tells me that there is no update found. Guess i'm on the latest?&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 08:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Route-fails-with-java-lang-NoSuchMethodError-org-apache-camel/m-p/2304533#M76296</guid>
      <dc:creator>MdG_IntoDataNL</dc:creator>
      <dc:date>2019-05-14T08:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Route fails with java.lang.NoSuchMethodError: org.apache.camel.component.file.remote.RemoteFileEndpoint.isPreSort()Z</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Route-fails-with-java-lang-NoSuchMethodError-org-apache-camel/m-p/2304534#M76297</link>
      <description>&lt;P&gt;We still are having this issue, does anyone have an idea of how to solve this?&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 11:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Route-fails-with-java-lang-NoSuchMethodError-org-apache-camel/m-p/2304534#M76297</guid>
      <dc:creator>MdG_IntoDataNL</dc:creator>
      <dc:date>2019-05-21T11:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Route fails with java.lang.NoSuchMethodError: org.apache.camel.component.file.remote.RemoteFileEndpoint.isPreSort()Z</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Route-fails-with-java-lang-NoSuchMethodError-org-apache-camel/m-p/2304535#M76298</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I found the issue. I've exported two routes from a 7.1 TOS. It seems to have to do with the dependencies that are used by the connection factory. You can test it yourself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lx2q"&gt;testFTPError.zip&lt;/A&gt;</description>
      <pubDate>Mon, 09 Dec 2019 13:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Route-fails-with-java-lang-NoSuchMethodError-org-apache-camel/m-p/2304535#M76298</guid>
      <dc:creator>PaulTegelaar</dc:creator>
      <dc:date>2019-12-09T13:00:48Z</dc:date>
    </item>
  </channel>
</rss>

