Closed ManujSubhankar closed 7 years ago
Hi @ManujSubhankar, thanks for reporting this bug.
I have a pretty substantial PR (#68) that tries to fixup the project quite a bit. If you have time, I'd be curious to hear if this issue still exists in the features/immutable-crypto-conditions
branch.
Otherwise, I'll try to take a look once I have some spare cycles. Thanks!
Just a follow-up here: the features/immutable-crypto-conditions
branch that I alluded to in my previous comment has now been merged into master, and is now part of version 0.3.0-SNAPSHOT
.
This is verified to be fixed as of version 0.3.0-SNAPSHOT of this library. This issue will be closed when #81 (which adds more formalized tests for this issue) is merged.
throws NullPointerException.
Below is the sample code where in I am encoding a Fulfillment and reading it back using CryptoConditionReader.readFulfillment(), which throws NullPointerException.