MID Server: Credential Loading Fails with ClassCastException (DeferredTextImpl to Element)Issue The MID Server fails to load credentials, and related discovery or credential-dependent activity does not run. The failure is typically caused by a corrupt credential record. Symptoms MID Server logs show the following error when loading credentials:java.lang.ClassCastException: class org.apache.xerces.dom.DeferredTextImpl cannot be cast to class org.w3c.dom.Element Release All Resolution Identify records in the discovery_credentials table where the <password> field is not encrypted.Disable, remove, or recreate each affected record. Recreating the record is preferred so that the password is stored correctly.Restart the MID Server or wait for the next credential load, then confirm the error no longer appears in the agent logs.