3 Replies Latest reply: Jan 11, 2013 1:51 PM by shreevat RSS

    null Pointer Exception for datefieldbean

    User415813
      Hi all,
      im getting nullPointer Exception at line

      OAMessageDateFieldBean DtEstablishmentBn = (OAMessageDateFieldBean)pgbean.findChildRecursive("ActFlexField0");
      DtEstablishmentBn.setRequired("no");

      the datefield bean is getting mandatory but not non-mandatory..

      please suggest...