ramarao1990 / openid4java

Automatically exported from code.google.com/p/openid4java
Apache License 2.0
0 stars 0 forks source link

NullPointer in OpenID4JavaConsumer.endConsumptio #107

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Tried to use Google Account https://www.google.com/accounts/o8/site-
xrds?hd=<domain>

What is the expected output? What do you see instead?

I was expecting it work, but the following exception is raised.

java.lang.NullPointerException
    at 
org.springframework.security.openid.OpenID4JavaConsumer.endConsumption(Open
ID4JavaConsumer.java:172)
    at 
org.springframework.security.openid.OpenIDAuthenticationFilter.attemptAuthe
ntication(OpenIDAuthenticationFilter.java:152)
    at 
org.springframework.security.web.authentication.AbstractAuthenticationProce
ssingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
    at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilt
er(FilterChainProxy.java:355)
    at 
org.springframework.security.web.authentication.logout.LogoutFilter.doFilte
r(LogoutFilter.java:105)
    at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilt
er(FilterChainProxy.java:355)
    at 
org.springframework.security.web.context.SecurityContextPersistenceFilter.d
oFilter(SecurityContextPersistenceFilter.java:79)
    at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilt
er(FilterChainProxy.java:355)
    at 
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy
.java:149)
    at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Delegat
ingFilterProxy.java:237)
    at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFil
terProxy.java:167)
    at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle
r.java:1187)
    at 
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilter
Internal(OpenSessionInViewFilter.java:198)
    at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequest
Filter.java:76)
    at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle
r.java:1187)
    at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)
    at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:11
9)
    at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)
    at 
org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:
182)
    at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.jav
a:933)
    at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)
    at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java
:867)
    at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:11
7)
    at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHan
dlerCollection.java:245)
    at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection
.java:126)
    at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:
113)
    at org.eclipse.jetty.server.Server.handle(Server.java:334)
    at 
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:5
59)
    at 
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpC
onnection.java:992)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541)
    at 
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203)
    at 
org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)
    at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:462)
    at 
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:
436)
    at java.lang.Thread.run(Thread.java:619)

What version of the product are you using? On what operating system?
Latest jar from openid4java-0.9.5.593.tar.gz.

Please provide any additional information below.

I am using spring-security 3 to ease the integration.

Original issue reported on code.google.com by pedr...@gmail.com on 26 Jan 2010 at 2:32

GoogleCodeExporter commented 8 years ago
I guess this issue can be dismessed since the exception concerns 
spring-security. 
sorry about that.

Original comment by pedr...@gmail.com on 26 Jan 2010 at 9:39

GoogleCodeExporter commented 8 years ago

Original comment by Johnny.B...@gmail.com on 24 Mar 2010 at 1:21