Downgrade to org.json:json:20180130 fixes synchrony/smsn-mode#29 #68
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In order to troubleshoot synchrony/smsn-mode#29 I bisected commits between
smsn
1.4
todevelop
and narrow down the problem to 636ddb1I further isolated the problem to the
org.json
dependency upgrade toorg.json:json:20220924
. I then bisected the dependency versions and identified that:org.json:json:20180813
has the problemorg.json:json:20180130
didn't have the problemSo
20180813
is the version that introduced the bug. The release notes point at this possible culprit stleary/JSON-java#678I imagine that some code somewhere (probably in a serializer in the Gremlin Script Engine or SessionOpProcessor or Netty) is now throwing because of null values in the map (I assume that's what
map keys are null
means), which indeed there are quite a lot of in that payload:This downgrade is probably a good enough fix for now since the future v2 will look quite different.