How Can jBilling Help You?
Who’s Using jBilling?

“jBilling handles any complex subscription we can think of.”
Russell Vowles
UK Broadband Ltd.
See all testimonials >

BUG - NullPointerException thrown when paying Partners

Exception trace:


2007-06-12 11:53:24,149 ERROR [com.sapienter.jbilling.client.util.CrudAction] Exception
java.lang.NullPointerException
at com.sapienter.jbilling.client.util.FormDateHelper.parseDate(FormDateHelper.java:37)
at com.sapienter.jbilling.client.util.CrudAction.parseDate(CrudAction.java:389)
at com.sapienter.jbilling.client.payment.PaymentCrudAction.doEditFormToDTO(PaymentCrudAction.java:218)

Contents of request map:


DynaActionForm[dynaClass=payment,bank_name=,currencyId=1,
date_month=,id=,amount=12.20,ccExpiry_day=,
chequeNumber=123456789,ccExpiry_month=,chequeDate_month=06,
ccName=,chbx_processNow=false,chequeDate_year=2007,reset=,
bank=ABank,account_type=,direct=no,account_number=,
date_year=,create=payout,aba_code=,account_name=,
chequeDate_day=08,date_day=,ccNumber=,ccExpiry_year=,
method=cheque]

Essentially the bug is date_month, date_year, date_day are not filled in by the request. Its seems this is standard information for all payment requests, its just not being completed by the Partner ones.

For full discussion see: http://www.jbilling.com/?q=node/254

Cheers

Tom