winfieldcw / otr4j

Automatically exported from code.google.com/p/otr4j
0 stars 0 forks source link

OtrKeyManagerImpl throws a NullPointerException when calling loadLocalKeyPair #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by filipe.m...@gmail.com on 17 Dec 2011 at 6:42