This article explains the errors "Statement creation failed" or "statement not found" observed while updating the security policy from Security Director Cloud, and how to resolve them.
Users may encounter the following error when they perform a Security Policy update from the Security Director Cloud to the device.
Here is an example of a "Statement creation failed" error:
Cannot invoke "net.juniper.space.sd.versioning.VersionMetaDataMO.getId()" because "versionMO" is null Exception occurred during batch processing of sub-jobs, deploy failed for the following device(s), with attached error:{<Rule_name>=deploy failed with error:[ErrorSeverity:error,ErrorPath:,ErrorMessage:statement creation failed,BadElement:<Object>} Start Time Aug 7, 2025, 9:50:37 PM End Time Aug 7, 2025, 9:51:02 PM Owner <email> Job Id <jobID>
Here is the actual workflow of how auto-resync works:
Root cause of the statement creation failed message:
Root cause of the statement not found message:
First, try performing "Resynchronize Devices | SD Cloud", and then perform a couple of updates to see if the issue is occurring. If the issue is not occurring, the reported issue is resolved.
If in case the issue is not resolved, then open a case with JTAC for further assistance.