I experienced below situation but don't know if it's a bug.
I made my last transaction three hours ago and left the wallet untouched. I tried to make another transaction just now but failed to do it. Re-scanned and tried again, still failed. The 'getinfo' command shown me that all the blocks had been downloaded. Then closed wallet, opened wallet, tried again, worked.