0 Replies Latest reply on Jan 26, 2010 8:19 PM by Arbi Sookazian

    InvocationTargetException in setter

    Arbi Sookazian Master

      I have a setter in my SFSB:

      public class MerchantBillingGroupEditorUIBean implements
              MerchantBillingGroupEditorUI {
              public void setPercent(BigDecimal percent) {
                  BigDecimal currentPercent = editor.getBillingGroup().getDiscountRate();  //the exception is triggered by this line!
                  if (currentPercent.compareTo(percent) != 0)

      Exception method invoked in debugger:

      public InvocationTargetException(Throwable target) {
           super((Throwable)null);  // Disallow initCause
              this.target = target;

      What is causing this and why is it happening (how to fix)?