> 2009-03-04 14:50:43,318 ERROR 
> [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas].[cas]] 
> - <Servlet.service() for servlet cas threw exception>
> java.lang.NullPointerException
> at 
> org.jasig.cas.web.view.Saml10FailureResponseView.renderMergedOutputModel(Saml10FailureResponseView.java:38)
> at 
> org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
> at 
> org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
> at 
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
> ...

The error above is caused by failing to meet both of the following criteria:

 1. Request to /samlValidate must have TARGET querystring parameter
 2. Request body must have properly formed SAML request payload, e.g.

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<samlp:Request
xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"
MajorVersion="1" MinorVersion="1"
RequestID="_192.168.16.51.1024506224022"
IssueInstant="2002-06-19T17:03:44.022Z">
<samlp:AssertionArtifact>
  ST-7-hqNf4nzSOBfHVTacMWVP-cas-dev.middleware.vt.edu
</samlp:AssertionArtifact>
</samlp:Request>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

I will assume you're using the Java CAS client 3.1 or better, which is
the only client that supports SAML.  If it is configured propertly,
you should be meeting the criteria above.  Have you followed the
instructions at
http://www.ja-sig.org/wiki/display/CASC/CAS+Client+for+Java+3.1?

M

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to