<?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 tExtractJsonFields error when restclient result array size is 0 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error-when-restclient-result-array-size-is-0/m-p/2299038#M71429</link>
    <description>&lt;P&gt;hi all:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;here is my design to get restult from rest api:&lt;/P&gt; 
&lt;P&gt;the patern of the restclient url is :&lt;/P&gt; 
&lt;P&gt;&lt;A href="http://services.groupkt.com/state/search/{countryCode}?text={text" target="_blank" rel="nofollow noopener noreferrer"&gt;http://services.groupkt.com/state/search/{countryCode}?text={text&lt;/A&gt; to search}&lt;/P&gt; 
&lt;P&gt;the url is set is :&lt;/P&gt; 
&lt;P&gt;"&lt;A href="http://services.groupkt.com/state/search/&amp;quot;+req.countryCode+&amp;quot;?text=&amp;quot;+req.searchText" target="_blank" rel="nofollow noopener noreferrer"&gt;http://services.groupkt.com/state/search/"+req.countryCode+"?text="+req.searchText&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyTm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138834iE0CB7F4CCF344203/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyTm.png" alt="0683p000009LyTm.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyU1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144581iFE1DC7B3F0486745/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyU1.png" alt="0683p000009LyU1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;when i call with parameter&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.talend.org/service/"&amp;gt;
   &amp;lt;soapenv:Header/&amp;gt;
   &amp;lt;soapenv:Body&amp;gt;
      &amp;lt;ser:CountrySearchWebServiceOperationRequest&amp;gt;
         &amp;lt;countryCode&amp;gt;IND&amp;lt;/countryCode&amp;gt;
         &amp;lt;searchText&amp;gt;pradesh&amp;lt;/searchText&amp;gt;
      &amp;lt;/ser:CountrySearchWebServiceOperationRequest&amp;gt;
   &amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;the rest client URL should be:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://services.groupkt.com/state/search/IND?text=pradesh" target="_blank" rel="nofollow noopener noreferrer"&gt;http://services.groupkt.com/state/search/IND?text=pradesh&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;the json result should be:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;{
  "RestResponse" : {
    "messages" : [ "Total [5] records found." ],
    "result" : [ {
      "id" : 69,
      "country" : "IND",
      "name" : "Madhya Pradesh",
      "abbr" : "MP",
      "area" : "72626809SKM",
      "largest_city" : "Bhopal",
      "capital" : "Bhopal"
    }, {
      "id" : 82,
      "country" : "IND",
      "name" : "Uttar Pradesh",
      "abbr" : "UP",
      "area" : "199812341SKM",
      "largest_city" : "Lucknow",
      "capital" : "Lucknow"
    }]
  }
}&lt;/PRE&gt; 
&lt;P&gt;the result is OK&amp;nbsp;:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LySB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140756iF73E661D61574D07/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LySB.png" alt="0683p000009LySB.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;but when the paramter is changed, and the json "result" value is blank, the service throw an exception:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;the parameter:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyFl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137768iD272189768396942/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyFl.png" alt="0683p000009LyFl.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;the rest client URL should be:&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;A href="http://services.groupkt.com/state/search/IND?text=pradesh3" target="_blank" rel="nofollow noopener noreferrer"&gt;http://services.groupkt.com/state/search/IND?text=pradesh3&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;the result of the api is:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;{
  "RestResponse" : {
    "messages" : [ "No matching state found for requested code [IND-&amp;gt;pradesh3]." ],
    "result" : [ ]
  }
}&lt;/PRE&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;the talend studio print the error:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;[WARN ]: org.apache.cxf.phase.PhaseInterceptorChain - Interceptor for {http://www.talend.org/service/}CountrySearchWebService#{http://www.talend.org/service/}CountrySearchWebServiceOperation has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not generate the XML stream caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [2,0].
	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:115)
	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:65)
	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:53)
	at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:137)
	at org.apache.cxf.wsdl.interceptors.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:90)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)
	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:247)
	at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:79)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1182)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1116)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
	at org.eclipse.jetty.server.Server.handle(Server.java:534)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [2,0]
	at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:685)
	at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2141)
	at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1131)
	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:793)
	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:722)
	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:648)
	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:111)
	... 28 more&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;is that the empty "result" cause the error?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;please help me out, thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:04:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T08:04:43Z</dc:date>
    <item>
      <title>tExtractJsonFields error when restclient result array size is 0</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error-when-restclient-result-array-size-is-0/m-p/2299038#M71429</link>
      <description>&lt;P&gt;hi all:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;here is my design to get restult from rest api:&lt;/P&gt; 
&lt;P&gt;the patern of the restclient url is :&lt;/P&gt; 
&lt;P&gt;&lt;A href="http://services.groupkt.com/state/search/{countryCode}?text={text" target="_blank" rel="nofollow noopener noreferrer"&gt;http://services.groupkt.com/state/search/{countryCode}?text={text&lt;/A&gt; to search}&lt;/P&gt; 
&lt;P&gt;the url is set is :&lt;/P&gt; 
&lt;P&gt;"&lt;A href="http://services.groupkt.com/state/search/&amp;quot;+req.countryCode+&amp;quot;?text=&amp;quot;+req.searchText" target="_blank" rel="nofollow noopener noreferrer"&gt;http://services.groupkt.com/state/search/"+req.countryCode+"?text="+req.searchText&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyTm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138834iE0CB7F4CCF344203/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyTm.png" alt="0683p000009LyTm.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyU1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144581iFE1DC7B3F0486745/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyU1.png" alt="0683p000009LyU1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;when i call with parameter&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.talend.org/service/"&amp;gt;
   &amp;lt;soapenv:Header/&amp;gt;
   &amp;lt;soapenv:Body&amp;gt;
      &amp;lt;ser:CountrySearchWebServiceOperationRequest&amp;gt;
         &amp;lt;countryCode&amp;gt;IND&amp;lt;/countryCode&amp;gt;
         &amp;lt;searchText&amp;gt;pradesh&amp;lt;/searchText&amp;gt;
      &amp;lt;/ser:CountrySearchWebServiceOperationRequest&amp;gt;
   &amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;the rest client URL should be:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://services.groupkt.com/state/search/IND?text=pradesh" target="_blank" rel="nofollow noopener noreferrer"&gt;http://services.groupkt.com/state/search/IND?text=pradesh&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;the json result should be:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;{
  "RestResponse" : {
    "messages" : [ "Total [5] records found." ],
    "result" : [ {
      "id" : 69,
      "country" : "IND",
      "name" : "Madhya Pradesh",
      "abbr" : "MP",
      "area" : "72626809SKM",
      "largest_city" : "Bhopal",
      "capital" : "Bhopal"
    }, {
      "id" : 82,
      "country" : "IND",
      "name" : "Uttar Pradesh",
      "abbr" : "UP",
      "area" : "199812341SKM",
      "largest_city" : "Lucknow",
      "capital" : "Lucknow"
    }]
  }
}&lt;/PRE&gt; 
&lt;P&gt;the result is OK&amp;nbsp;:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LySB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140756iF73E661D61574D07/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LySB.png" alt="0683p000009LySB.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;but when the paramter is changed, and the json "result" value is blank, the service throw an exception:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;the parameter:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyFl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137768iD272189768396942/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyFl.png" alt="0683p000009LyFl.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;the rest client URL should be:&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;A href="http://services.groupkt.com/state/search/IND?text=pradesh3" target="_blank" rel="nofollow noopener noreferrer"&gt;http://services.groupkt.com/state/search/IND?text=pradesh3&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;the result of the api is:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;{
  "RestResponse" : {
    "messages" : [ "No matching state found for requested code [IND-&amp;gt;pradesh3]." ],
    "result" : [ ]
  }
}&lt;/PRE&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;the talend studio print the error:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;[WARN ]: org.apache.cxf.phase.PhaseInterceptorChain - Interceptor for {http://www.talend.org/service/}CountrySearchWebService#{http://www.talend.org/service/}CountrySearchWebServiceOperation has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not generate the XML stream caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [2,0].
	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:115)
	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:65)
	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:53)
	at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:137)
	at org.apache.cxf.wsdl.interceptors.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:90)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267)
	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:247)
	at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:79)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1182)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1116)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
	at org.eclipse.jetty.server.Server.handle(Server.java:534)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [2,0]
	at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:685)
	at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2141)
	at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1131)
	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:793)
	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:722)
	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:648)
	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:111)
	... 28 more&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;is that the empty "result" cause the error?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;please help me out, thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error-when-restclient-result-array-size-is-0/m-p/2299038#M71429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJsonFields error when restclient result array size is 0</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error-when-restclient-result-array-size-is-0/m-p/2299039#M71430</link>
      <description>anyone had this problem?</description>
      <pubDate>Tue, 19 Jun 2018 02:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJsonFields-error-when-restclient-result-array-size-is-0/m-p/2299039#M71430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-19T02:45:28Z</dc:date>
    </item>
  </channel>
</rss>

