manish-ratufa / socialauth-android

Automatically exported from code.google.com/p/socialauth-android
0 stars 0 forks source link

org.brickred.socialauth.exception.SocialAuthException: Verification code is null for yammer #183

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download socialauth-android-sdk-2.0.zip
2. Import any of the test projects
3. Try to login using yammer

What is the expected output? What do you see instead?
I suppose to get the "Authentication Successful" log from the ResponseListener 
but what i get is the following exception:
org.brickred.socialauth.exception.SocialAuthException: Verification code is null
    at org.brickred.socialauth.provider.YammerImpl.doVerifyResponse(YammerImpl.java:176)
    at org.brickred.socialauth.provider.YammerImpl.verifyResponse(YammerImpl.java:156)
    at org.brickred.socialauth.SocialAuthManager.connect(SocialAuthManager.java:184)
    at org.apache.jsp.app.customportlets.social.worker7_jsp._jspService(worker7_jsp.java:648)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.rightanswers.rassp.AdminAuditFilter.doFilter(AdminAuditFilter.java:121)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.rightanswers.rassp.CSRFPreventor.doFilter(CSRFPreventor.java:345)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.rightanswers.rassp.ExternalFileFilter.doFilter(ExternalFileFilter.java:110)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.rightanswers.rassp.XSSFilter.doFilter(XSSFilter.java:203)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.rightanswers.rassp.RedirectFilter.doFilter(RedirectFilter.java:316)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.rightanswers.rassp.SSOFilter.doFilter(SSOFilter.java:291)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at com.rightanswers.rassp.EncodingFilter.doFilter(EncodingFilter.java:61)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)

What version of the product are you using? On what operating system?
I am using socialauth-java-sdk4.6 on Windows server 2008 R2 Enterprise edition 
with java7 and tomcat7

Please provide any additional information below.
I have read that the simillar bug was fixed for facebook so looking forward for 
a fix for yammer too.
Thanks...

Original issue reported on code.google.com by mukulsax...@gmail.com on 17 Jul 2014 at 8:46

GoogleCodeExporter commented 9 years ago
There is a correction in the answer to first question:
What steps will reproduce the problem?
1. Download socialauth-android-sdk-4.6.zip
2. Import any of the test projects
3. Try to login using yammer 

Original comment by mukulsax...@gmail.com on 17 Jul 2014 at 8:48