Communications Server throws Null pointer exception Realm is not configured when P-Asserted-Identity authentication is configured in sun-sip.xml.
Configure Realm using the trust-auth-realm-ref property in sun-sip.xml. See TBDlink for more information on setting this property.