Export to GitHub

otr4j - issue #9

OtrKeyManagerImpl throws a NullPointerException when calling loadLocalKeyPair


Posted on Dec 17, 2011 by Swift Monkey

After some debugging:

getPropertyBytes from getPropertyBytes calls Base64.decode(value) without check for value nullity.

To reproduce the problem follow the next setps 1. Instantiate a OtrKeyManagerImpl using as argument a path of a file that doesn't exists yet 2. Call loadLocalKeyPair

Status: New

Labels:
Type-Defect Priority-Medium