<?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: tWebserviceInput: Crashhandling in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254076#M37201</link>
    <description>Hi maverick, thanks for your help and sorry that I am responding that late ...&lt;BR /&gt;I'm trying to use tMap with twebservice, but it crashes in any case, even when I run it without other components.&lt;BR /&gt;I add this code to tjavarow:&lt;BR /&gt;if(row3.output == null)&lt;BR /&gt;	row4.output = "0";&lt;BR /&gt;else &lt;BR /&gt;	row4.output = row3.output;&lt;BR /&gt;but no change.&lt;BR /&gt;Conclusion:&lt;BR /&gt;tWebServices can't handle "null" or "NullPointerException" as response.</description>
    <pubDate>Thu, 05 Jun 2008 11:50:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-06-05T11:50:16Z</dc:date>
    <item>
      <title>tWebserviceInput: Crashhandling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254072#M37197</link>
      <description>Hi talend-team, 
&lt;BR /&gt;sometimes tWebserviceInput crash with this message: 
&lt;BR /&gt;Starting job KISS at 12:03 21/05/2008. 
&lt;BR /&gt;Exception in component tWebServiceInput_1 
&lt;BR /&gt;AxisFault 
&lt;BR /&gt; faultCode: { 
&lt;A href="http://schemas.xmlsoap.org/soap/envelope/}Server.userException" target="_blank" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/soap/envelope/}Server.userException&lt;/A&gt; 
&lt;BR /&gt; faultSubcode: 
&lt;BR /&gt; faultString: java.lang.NullPointerException 
&lt;BR /&gt; faultActor: 
&lt;BR /&gt; faultNode: 
&lt;BR /&gt; faultDetail: 
&lt;BR /&gt; { 
&lt;A href="http://xml.apache.org/axis/}hostname:PROD" target="_blank" rel="nofollow noopener noreferrer"&gt;http://xml.apache.org/axis/}hostname&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;ROD&lt;/A&gt; 
&lt;BR /&gt;java.lang.NullPointerException 
&lt;BR /&gt; at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) 
&lt;BR /&gt; at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) 
&lt;BR /&gt; at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) 
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) 
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1772) 
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923) 
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645) 
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) 
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508) 
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) 
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) 
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) 
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) 
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) 
&lt;BR /&gt; at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) 
&lt;BR /&gt; at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) 
&lt;BR /&gt; at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) 
&lt;BR /&gt; at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) 
&lt;BR /&gt; at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) 
&lt;BR /&gt; at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) 
&lt;BR /&gt; at org.apache.axis.client.Call.invokeEngine(Call.java:2784) 
&lt;BR /&gt; at org.apache.axis.client.Call.invoke(Call.java:2767) 
&lt;BR /&gt; at org.apache.axis.client.Call.invoke(Call.java:2443) 
&lt;BR /&gt; at org.apache.axis.client.Call.invoke(Call.java:2366) 
&lt;BR /&gt; at org.apache.axis.client.Call.invoke(Call.java:1812) 
&lt;BR /&gt; at org.talend.DynamicInvoker.invokeMethod(DynamicInvoker.java:289) 
&lt;BR /&gt; at org.talend.DynamicInvoker.main(DynamicInvoker.java:162) 
&lt;BR /&gt; at org.talend.DynamicInvoker.main(DynamicInvoker.java:119) 
&lt;BR /&gt; at inpower.kiss.KISS.tInfiniteLoop_1Process(KISS.java:286) 
&lt;BR /&gt; at inpower.kiss.KISS$1.run(KISS.java:555) 
&lt;BR /&gt;Job KISS ended at 12:05 21/05/2008. 
&lt;BR /&gt;Is it possible to prevent talend to end the whole job? I would like, that twebserviceinput just retry, not to die? 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC8B.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140566i5EB41999A0C03BA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC8B.png" alt="0683p000009MC8B.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 14:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254072#M37197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: tWebserviceInput: Crashhandling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254073#M37198</link>
      <description>Hi,&lt;BR /&gt;Your exception is a NullPointerException.&lt;BR /&gt;It means that an input value is null and should not be null...&lt;BR /&gt;Make sure that your columns in tWebServiceInput schema are nullable.</description>
      <pubDate>Thu, 22 May 2008 16:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254073#M37198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-22T16:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: tWebserviceInput: Crashhandling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254074#M37199</link>
      <description>Thanks for your tip, but it doesn't work. All columns are nullable.&lt;BR /&gt;Lets see, perhaps, I'll get soon another idea.</description>
      <pubDate>Mon, 26 May 2008 09:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254074#M37199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-26T09:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: tWebserviceInput: Crashhandling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254075#M37200</link>
      <description>Hi,&lt;BR /&gt;In your tMap field, you can handle the null value as you wich.&lt;BR /&gt;For example :&lt;BR /&gt;&lt;PRE&gt;myField == null ? 0 : myField&lt;/PRE&gt;&lt;BR /&gt;Will insert the value of your field if it's not null, or the value 0 if it's null.&lt;BR /&gt;If your line is treated by a function, you can also handle the exception in a try/catch clause.&lt;BR /&gt;For example :&lt;BR /&gt;&lt;PRE&gt;try&lt;BR /&gt;{&lt;BR /&gt;      // My Code&lt;BR /&gt;      return myValue;&lt;BR /&gt;}&lt;BR /&gt;catch(NullPointerException ex)&lt;BR /&gt;{&lt;BR /&gt;     return 0;&lt;BR /&gt;}&lt;/PRE&gt;&lt;BR /&gt;Hope it will help</description>
      <pubDate>Mon, 26 May 2008 10:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254075#M37200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-26T10:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: tWebserviceInput: Crashhandling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254076#M37201</link>
      <description>Hi maverick, thanks for your help and sorry that I am responding that late ...&lt;BR /&gt;I'm trying to use tMap with twebservice, but it crashes in any case, even when I run it without other components.&lt;BR /&gt;I add this code to tjavarow:&lt;BR /&gt;if(row3.output == null)&lt;BR /&gt;	row4.output = "0";&lt;BR /&gt;else &lt;BR /&gt;	row4.output = row3.output;&lt;BR /&gt;but no change.&lt;BR /&gt;Conclusion:&lt;BR /&gt;tWebServices can't handle "null" or "NullPointerException" as response.</description>
      <pubDate>Thu, 05 Jun 2008 11:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254076#M37201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-05T11:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: tWebserviceInput: Crashhandling</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254077#M37202</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi maverick, thanks for your help and sorry that I am responding that late ...&lt;BR /&gt;I'm trying to use tMap with twebservice, but it crashes in any case, even when I run it without other components.&lt;BR /&gt;I add this code to tjavarow:&lt;BR /&gt;if(row3.output == null)&lt;BR /&gt; row4.output = "0";&lt;BR /&gt;else &lt;BR /&gt; row4.output = row3.output;&lt;BR /&gt;but no change.&lt;BR /&gt;Conclusion:&lt;BR /&gt;tWebServices can't handle "null" or "NullPointerException" as response.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Use Var section and first check for the null value and then use the Var variable in the output section 
&lt;BR /&gt;say col1 is null, in Var section, row1.col1==null?0:row1.col1 and now you can use the new variable for mapping. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 03 Mar 2010 07:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWebserviceInput-Crashhandling/m-p/2254077#M37202</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-03-03T07:25:56Z</dc:date>
    </item>
  </channel>
</rss>

