Closed IanDavey closed 1 week ago
Thanks for your thorough issue report. From the stack trace it is clear that this is a duplicate of #5273 Although the original issue is closed the fix has not landed in develop-6.x.x yet as we discovered that additional work has to be done to allow update expressions to work in all use cases (related are these two open PRs #5311 and #5296).
We have been dealing with the following intermittent NPE being thrown after updating nodes in a document repeatedly:
From there, any queries into the document return no results until we reindex the document.
Looking at NativeBroker.java:3036, it appears
null
is being passed aspool
into theDocumentImpl
constructor, which then callspool.getSecurityManager()
, guaranteeing an NPE.We are uncertain about the context that leads up to this execution path (given the difficulty in reliably reproducing the error), as well as the implications of simply wrapping in a ternary that checks for nulls, although we are currently testing a recompiled JAR with DocumentImpl.java:205 like so:
This is using the existdb:6.2.0 Docker container.