Null check on nv variable in storeValueByKey()
Null check on nv variable in storeValueByKey()

The line nv.getClass().getName() (now line 252) has the vulnerability of throwing a NullPointerException. The line to create the JSONTokener and get the nextValue() has been wrapped in a try/catch and the resulting variable, nv, is null checked and handled with a graceful callback error.
tripodsan/me.apla.cordova.app-preferences,daxko/me.apla.cordova.app-preferences,apla/me.apla.cordova.app-preferences,vladimir-kotikov/cordova-app-preferences,vladimir-kotikov/cordova-app-preferences,adobe-rnd/me.apla.cordova.app-preferences,vladimir-kotikov/cordova-app-preferences,adobe-rnd/me.apla.cordova.app-preferences,daxko/me.apla.cordova.app-preferences,apla/me.apla.cordova.app-preferences,xlongtang/me.apla.cordova.app-preferences,adobe-rnd/me.apla.cordova.app-preferences,xlongtang/me.apla.cordova.app-preferences,daxko/me.apla.cordova.app-preferences,tripodsan/me.apla.cordova.app-preferences,apla/me.apla.cordova.app-preferences,xlongtang/me.apla.cordova.app-preferences,adobe-rnd/me.apla.cordova.app-preferences,vladimir-kotikov/cordova-app-preferences,daxko/me.apla.cordova.app-preferences,daxko/me.apla.cordova.app-preferences,vladimir-kotikov/cordova-app-preferences,tripodsan/me.apla.cordova.app-preferences,xlongtang/me.apla.cordova.app-preferences,xlongtang/me.apla.cordova.app-preferences,tripodsan/me.apla.cordova.app-preferences,apla/me.apla.cordova.app-preferences,apla/me.apla.cordova.app-preferences