i don't know if there is an error in the scriptsig generation method of input in p2psh
ECDSA signatures are not deterministic unless you are using a deterministic signature scheme. Meaning that signing the same data with the same key produce different (valid) signatures. 

I don't know if Bitcoinj uses such a scheme so If only the signature bytes in the transaction are different it is probably  fine.