Announcement Announcement Module
Collapse
No announcement yet.
Spring Social Showcase - Exception while Facebook Signin Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Social Showcase - Exception while Facebook Signin

    Hello All,

    I have just started working with Spring Social and playing with Spring Social Showcase example. Everything works fine, I am able to sign in with the supplied user id, associate user with Facebook account.

    However when i try to sign in with Facebook account I receive the exception below.


    Code:
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: FacebookSigninController cannot find an access token in the Facebook cookie.
    	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)
    	org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    	org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
    	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:312)
    	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
    	org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
    	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:324)
    	org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:95)
    	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:324)
    	org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
    	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:324)
    	org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:79)
    	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:324)
    	org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
    	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:324)
    	org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
    	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:324)
    	org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
    	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:324)
    	org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
    	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:324)
    	org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
    	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:324)
    	org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:165)
    	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
    	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    My dependencies are

    Code:
    <dependency>
    		    <groupId>org.springframework.social</groupId>
    		    <artifactId>spring-social-core</artifactId>
    	        <version>${org.springframework.social-version}</version>
    	    </dependency>
    		<dependency>
    		    <groupId>org.springframework.social</groupId>
    		    <artifactId>spring-social-facebook</artifactId>
    	        <version>${org.springframework.social-version}</version>
    	    </dependency>
    		<dependency>
    		    <groupId>org.springframework.social</groupId>
    		    <artifactId>spring-social-tripit</artifactId>
    	        <version>${org.springframework.social.tripit-version}</version>
    	    </dependency>
    		<dependency>
    		    <groupId>org.springframework.social</groupId>
    		    <artifactId>spring-social-twitter</artifactId>
    	        <version>${org.springframework.social-version}</version>
    	    </dependency>
    		<dependency>
    		    <groupId>org.springframework.social</groupId>
    		    <artifactId>spring-social-web</artifactId>
    	        <version>${org.springframework.social-version}</version>
    	    </dependency>
    where versions are

    Code:
    <org.springframework.social-version>1.0.0.M2</org.springframework.social-version>
    		<org.springframework-version>3.1.0.M1</org.springframework-version>
    		<org.springframework.security-version>3.1.0.RC1</org.springframework.security-version>
    		<org.springframework.social.tripit-version>1.0.0.M2</org.springframework.social.tripit-version>
    Could you please help me with this.

    Many thanks,
    Alex.
    Last edited by guitarist; Apr 4th, 2012, 05:39 PM.

  • #2
    My apologies. Problem is solved. I used too old version of showcase.

    Comment

    Working...
    X