This discussion is archived
3 Replies Latest reply: Jan 11, 2013 11:51 AM by shreevat RSS

null Pointer Exception for datefieldbean

User415813 Newbie
Currently Being Moderated
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...

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points