[Webfunds-users] Deposit not working?

Ian Grigg iang@systemics.com
Sat Mar 25 12:05:19 2000


Edwin Woudt wrote:

> Something really odd happened on depositing a bearer spend:
> 
> >   AB: got wallet SOX
> > After plug.start()
> > <>failed on decode, trying decodeByteArray
> > java.lang.StringIndexOutOfBoundsException: String index out of range: 5
> > <>failed on decodeByteArray
> > webfunds.sox.SOXPacketException: data == null
> >         at webfunds.sox.Encodable.decode(Encodable.java:64)
> >         at webfunds.sox.Payment.<init>(Payment.java:207)
> >         at webfunds.client.sox.SOXWallet.makeDeposit(SOXWallet.java:370)
> >         at
> > webfunds.client.SimpleDepositFrame.deposit(SimpleDepositFrame.java:118)
> >         at > webfunds.client.SimpleDepositFrame$1.run(SimpleDepositFrame.java:104)
> >
> > <>[ not recoverable: webfunds.sox.SOXPacketException: data == null ]
> 
> The last line was also displayed in an error box on the screen.
> 
> Any ideas what's going on?

WebFunds is trying to decode the packet.  It seems to have got
past the ascii-armoured stage, albeit with some errors, and has
tried to decode a raw byte array into a Payment.

WebFunds then barfs, saying (correctly) that this isn't any payment
that it understands.

Question is, what is the payment?  It might be a dud payment, or it
might be a bug in the decode part.  I don't suppose you still have
the payment?

(BTW, I'll post on the inadequate support situation later...)

iang