I've been having the same problem, same backtrace and error message. I think the 0.4.9 upgrade didn't go smoothly, I restored from a backup, and it's been broken since. In my case it's a bid that I can't cancel (but fortunately I placed it back when BTSX was high, so the price is low enough that it will probably not execute until we have a nice BTSX rally).