Customer Portal

Error in extern transformation in EXT_MERGE_JOIN

Comments 2

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hi,
    problem is, that when you do left outer join transformation gets null on the 1st input instead of DataRecord, so in the line
    ${out.0.EMPI_ID} = ${in.0.attrval}; 
    NullPointerException occurs. There is no possiblility of checking this in TLLite, so you can surround it by try-catch block:
    ${out.0.curentrecno} = ${in.0.curentrecno}; 
    ${out.0.EMPI_ID} = ${in.0.attrval};
    try{
    ${out.0.Best} = ${in.1.memidnum};
    }catch(Exception e){
    ${out.0.Best} = -1;
    }
  • Avatar
    wmdbowler
    0
    Comment actions Permalink
    Thanks for the advice. I didn't realize I'd have to put in that handling. All fixed now.

Please sign in to leave a comment.