when you made the keystore, you made an actual file. I'm not sure whatthe "application" is you are refering to, but when you make a keystore, you select a place to save it.
I think, but don't know if it is enforced, the default naming scheme is "xxx.keystore". So look for that file (or create a new one), and use that as keystore.
In your case, the file you use as keystore is probably something else, so it is "tampered with" (aka: not a keystore)