Users may observe NullPointerException errors in the Offlineruleexecutor.log file, similar to the following entries:
2025-09-02 01:44:07,852 ERROR MainRuleExecutor-thread-2 c.c.r.m.c.GenericSQLCommandBuilder: Error while processing DB record java.lang.NullPointerException: null
2025-09-02 01:44:07,852 WARN MainRuleExecutor-thread-2 c.c.r.m.c.RaiseRuleAnomalyCommandBuilder$: Problem with the declaration of one of the entities of the "raiseRuleAnomaly" command java.lang.IllegalArgumentException: The "name" of one of the entities of the "raiseRuleAnomaly" command was not defined [null] at com.google.common.base.Preconditions.checkArgument(Preconditions.java:165)
The NullPointerException occurs because for Windows 4663 events originating from system accounts (such as NT AUTHORITY\SYSTEM, S-1-5-8, or accounts ending with '$'), the username field in the augmented_access.rule query results consistently appears as null. This happens because the Account Name from these system-level events is incorrectly mapped to the loginsourcedevicename field instead of the username field. When the rule attempts to process these events expecting a non-null username, it encounters a NullPointerException. Windows Event ID 4663 logs object access attempts and includes fields like "Account Name" and "Security ID".
To resolve this issue, implement the following two steps:
Modify Windows Security datasource Query to Exclude System Account Events: Update your data ource query to prevent events generated by NT AUTHORITY\SYSTEM, S-1-5-8, or accounts with trailing "$" from being ingested into User Behavior Analytics (UBA). This ensures that only relevant user-generated events are processed for analytics, preventing the NullPointerException caused by system-level events with null usernames.
Update augmented_access.rule: Open a support case and request the most recent version of augmented_access.rule and instructions to update the rule.
Splunk Knowledgebase Article - KBA 000019150
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |