<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0px;
        margin-bottom:0px}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" dir="ltr">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">That's very strange, that particular line is dealing with the system scopes, which shouldn't be null at all by there. If anything, they should be an empty set, and it should pass
 through. Please file an issue with the main project and we'll look into the details and see if we can replicate it.<br>
<br>
&nbsp;-- Justin<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF857316"><font face="Tahoma" color="#000000" size="2"><b>From:</b> mitreid-connect-bounces@mit.edu [mitreid-connect-bounces@mit.edu] on behalf of Felipe Polo-Wood [felipe.polowood@duke.edu]<br>
<b>Sent:</b> Tuesday, December 09, 2014 2:01 PM<br>
<b>To:</b> mitreid-connect@mit.edu<br>
<b>Subject:</b> [mitreid-connect] Null Pointer Exception<br>
</font><br>
</div>
<div></div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Inconsolata">
<div dir="ltr" style="color:rgb(33,33,33)">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Inconsolata">
<div dir="ltr" style="color:rgb(33,33,33)">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Inconsolata">
<p>​We have set up the ldap-openid-connect-server for testing and I am able to login directly, but it is failing to authenticate my client. &nbsp;The following URL, brings up the credentials screen, but then after the login it throws an Exception.<br>
</p>
<p><br>
</p>
<p></p>
<p><a href="http://vml-catstools2:8080/ldap-openid-connect-server/authorize?client_id=OnRampTestClient&amp;redirect_uri=smartapp://callback&amp;scope=launch/patient%20user/*.*%20patient/*.read%20openid%20profile&amp;response_type=code&amp;state=4D640684" id="lnk495922" target="_blank">http://vml-catstools2:8080/ldap-openid-connect-server/authorize?client_id=OnRampTestClient&amp;redirect_uri=smartapp://callback&amp;scope=launch/patient%20user/*.*%20patient/*.read%20openid%20profile&amp;response_type=code&amp;state=4D640684</a><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>incluying relevant lines:<br>
</p>
<pre>java.lang.NullPointerException
        org.mitre.oauth2.web.OAuthConfirmationController.confimAccess(OAuthConfirmationController.java:154)
        org.mitre.oauth2.web.OAuthConfirmationController$$FastClassByCGLIB$$608f3ba8.invoke(&lt;generated&gt;)
        org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698)
        org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)
        org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631)
        org.mitre.oauth2.web.OAuthConfirmationController$$EnhancerByCGLIB$$151ff338.confimAccess(&lt;generated&gt;)​<br></pre>
<p><br>
</p>
<p>I have played with the settings in the &quot;Manage Clients&quot; screen, but without documentation, it is hard to know what to do there... but I keep getting this error. &nbsp;Is this an error with the LDAP configuration?<br>
</p>
<p><br>
</p>
<p>I appreciate your help.<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-size:13px; font-family:Tahoma">
<div class="BodyFragment"><font size="2">
<div class="PlainText">Felipe Polo-Wood<br>
</div>
<div class="PlainText">Office: &#43;1.919.668.2268<br>
Mobile: &#43;1.919.741.421<br>
</div>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>