Actually, I searched lot from internet and in stackoverflow too for this,
Initially I don\'t used padding in my encryption and decryption,
But Finally I got
Not sure if this is relevant to OP's problem, but this may help someone.
When you repeatedly get that java.io.IOException: last block incomplete in decryption
regardless of what you change, check if you are still using the file from some previous run. If your read/write test code appends to that file, you will always get that exception -- unless you delete the corrupt file that you write to.