BadPadding Exception

Hello,I used RSA Public/private key to encrypt AND zip a text file.It does well.Upon decryption using javax.crypto.Cipher with SunJCE as provider, I got BadPadding Exception . I used PKCS5Padding .any solutions?
[246 byte] By [shankar-screena] at [2007-10-3 2:40:55]
# 1
Mind reading is not one of the skills shown by most of the people who visit this forum. A view of you code would help.
sabre150a at 2007-7-14 19:39:25 > top of Java-index,Security,Cryptography...
# 2
A few things you could check:- proper use of doFinal(), close() etc.- try different padding/mode combinationsBut a look at your code would propably be the best.
7exa at 2007-7-14 19:39:25 > top of Java-index,Security,Cryptography...