<div dir="ltr">I'm pulling email attributes from an ldap connector and have the attributeDefinition as follows:<div><AttributeDefinition id="myMail" xsi:type="Simple"><br>        <InputDataConnector ref="myLDAP" attributeNames="email"/><br>        <AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:mail" encodeType="false" /><br>        <AttributeEncoder xsi:type="SAML2String" name="urn:oid:0.9.2342.19200300.100.1.3" friendlyName="myMail" encodeType="false" /><br>    </AttributeDefinition><br></div><div><br></div><div>I'm now trying to use that attribute as a query param into a URLTemplate:</div><div><DataConnector id="myRestWebSvc" xsi:type="HTTP" httpClientRef="shibboleth.NonCachingHttpClient"><br>        <URLTemplate><br>            <![CDATA[ <br>                <a href="http://localhost:8080/rest/v3/getUserInfo?emailId=$paramEscaper.escape($myMail)">http://localhost:8080/rest/v3/getUserInfo?emailId=$paramEscaper.escape($myMail)</a><br>            ]]><br>        </URLTemplate><br></div><div>.</div><div>.</div><div>.</div><div>I'm getting a null pointer exception from paramEscaper.</div><div>I've also tried:</div><div>$myMail.getValues().get(0)</div><div>$myMail.get(0)</div><div>$myMail.getValue()</div><div>all options I've ran into from the docs.</div><div><br></div><div>Anyone able to get something like this to work?</div><div><br></div><div>Thanks.</div><div>-psv</div></div>