Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
myField == null ? 0 : myField
try
{
// My Code
return myValue;
}
catch(NullPointerException ex)
{
return 0;
}
Hi maverick, thanks for your help and sorry that I am responding that late ...
I'm trying to use tMap with twebservice, but it crashes in any case, even when I run it without other components.
I add this code to tjavarow:
if(row3.output == null)
row4.output = "0";
else
row4.output = row3.output;
but no change.
Conclusion:
tWebServices can't handle "null" or "NullPointerException" as response.