bitwiseshiftleft / sjcl

Stanford Javascript Crypto Library
http://bitwiseshiftleft.github.com/sjcl/
Other
7.18k stars 987 forks source link

Cannot read property 'replace' of null #365

Open dmaglio opened 6 years ago

dmaglio commented 6 years ago

This error show only on the first boot of my angular webapp, after a refresh works correctly

ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'replace' of null
TypeError: Cannot read property 'replace' of null
    at Object.decode (sjcl.js:formatted:1078)
    at Object.decrypt (sjcl.js:formatted:1050)
    at Object.get (crypt.io.js:158)
    at cryptio.get (crypt.io.js:552)