{"action":"opened","issue":{"url":"https://api.github.com/repos/caelum/mamute/issues/280","repository_url":"https://api.github.com/repos/caelum/mamute","labels_url":"https://api.github.com/repos/caelum/mamute/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/caelum/mamute/issues/280/comments","events_url":"https://api.github.com/repos/caelum/mamute/issues/280/events","html_url":"https://github.com/caelum/mamute/issues/280","id":179523910,"number":280,"title":"Google sign in error","user":{"login":"ramswaroop","id":2862724,"avatar_url":"https://avatars.githubusercontent.com/u/2862724?v=3","gravatar_id":"","url":"https://api.github.com/users/ramswaroop","html_url":"https://github.com/ramswaroop","followers_url":"https://api.github.com/users/ramswaroop/followers","following_url":"https://api.github.com/users/ramswaroop/following{/other_user}","gists_url":"https://api.github.com/users/ramswaroop/gists{/gist_id}","starred_url":"https://api.github.com/users/ramswaroop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramswaroop/subscriptions","organizations_url":"https://api.github.com/users/ramswaroop/orgs","repos_url":"https://api.github.com/users/ramswaroop/repos","events_url":"https://api.github.com/users/ramswaroop/events{/privacy}","received_events_url":"https://api.github.com/users/ramswaroop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-27T15:17:38Z","updated_at":"2016-09-27T15:17:38Z","closed_at":null,"body":"I have been trying to enable social logins for my website, facebook works fine but google sign in is giving me the below error:\r\n```java\r\njava.lang.NullPointerException\r\n\tat org.mamute.auth.GoogleAPI.getSignupInfo(GoogleAPI.java:28)\r\n\tat org.mamute.controllers.LoginMethodManager.merge(LoginMethodManager.java:34)\r\n\tat org.mamute.controllers.GoogleAuthController.signUpViaGoogle(GoogleAuthController.java:31)\r\n\tat org.mamute.controllers.GoogleAuthController$Proxy$_$$_WeldClientProxy.signUpViaGoogle(Unknown Source)\r\n\tat sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat net.vidageek.mirror.provider.java.PureJavaMethodReflectionProvider.invoke(PureJavaMethodReflectionProvider.java:38)\r\n\tat net.vidageek.mirror.invoke.MethodHandlerByMethod.withArgs(MethodHandlerByMethod.java:54)\r\n\tat br.com.caelum.vraptor.observer.ExecuteMethod.execute(ExecuteMethod.java:87)\r\n\tat br.com.caelum.vraptor.actioncache.events.CachedExecuteMethod.access$001(CachedExecuteMethod.java:24)\r\n\tat br.com.caelum.vraptor.actioncache.events.CachedExecuteMethod$1.run(CachedExecuteMethod.java:44)\r\n\tat br.com.caelum.vraptor.actioncache.events.ExecuteIfNoCache.execute(ExecuteIfNoCache.java:32)\r\n\tat br.com.caelum.vraptor.actioncache.events.CachedExecuteMethod.execute(CachedExecuteMethod.java:41)\r\n\tat sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:90)\r\n\tat org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:271)\r\n\tat org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:258)\r\n\tat org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:237)\r\n\tat org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:174)\r\n\tat org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:170)\r\n\tat org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:124)\r\n\tat org.jboss.weld.event.EventImpl.fire(EventImpl.java:84)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:78)\r\n\tat org.mamute.providers.GlobalInterceptor.intercept(GlobalInterceptor.java:28)\r\n\tat org.mamute.providers.GlobalInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)\r\n\tat br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:58)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat org.mamute.interceptors.InternalErrorInterceptor.intercept(InternalErrorInterceptor.java:37)\r\n\tat org.mamute.interceptors.InternalErrorInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)\r\n\tat br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:58)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat org.mamute.interceptors.RulesInterceptor.intercept(RulesInterceptor.java:49)\r\n\tat org.mamute.interceptors.RulesInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)\r\n\tat br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:58)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:60)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat org.mamute.interceptors.RedirectCommitInterceptor.intercept(RedirectCommitInterceptor.java:39)\r\n\tat org.mamute.interceptors.RedirectCommitInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)\r\n\tat br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:58)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor.intercept(ExceptionHandlerInterceptor.java:75)\r\n\tat br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)\r\n\tat br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:58)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack$Proxy$_$$_WeldClientProxy.next(Unknown Source)\r\n\tat br.com.caelum.vraptor.interceptor.DefaultSimpleInterceptorStack.next(DefaultSimpleInterceptorStack.java:49)\r\n\tat br.com.caelum.vraptor.interceptor.DefaultSimpleInterceptorStack$Proxy$_$$_WeldClientProxy.next(Unknown Source)\r\n\tat org.mamute.providers.TransactionInterceptor.intercept(TransactionInterceptor.java:42)\r\n\tat org.mamute.providers.TransactionInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)\r\n\tat sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat net.vidageek.mirror.provider.java.PureJavaMethodReflectionProvider.invoke(PureJavaMethodReflectionProvider.java:38)\r\n\tat net.vidageek.mirror.invoke.MethodHandlerByMethod.withArgs(MethodHandlerByMethod.java:54)\r\n\tat br.com.caelum.vraptor.interceptor.StepInvoker.invokeMethod(StepInvoker.java:49)\r\n\tat br.com.caelum.vraptor.interceptor.StepInvoker.tryToInvoke(StepInvoker.java:40)\r\n\tat br.com.caelum.vraptor.interceptor.StepInvoker$Proxy$_$$_WeldClientProxy.tryToInvoke(Unknown Source)\r\n\tat br.com.caelum.vraptor.interceptor.InterceptorExecutor.executeAround(InterceptorExecutor.java:75)\r\n\tat br.com.caelum.vraptor.interceptor.InterceptorExecutor$Proxy$_$$_WeldClientProxy.executeAround(Unknown Source)\r\n\tat br.com.caelum.vraptor.interceptor.AspectStyleInterceptorHandler.execute(AspectStyleInterceptorHandler.java:85)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack$Proxy$_$$_WeldClientProxy.next(Unknown Source)\r\n\tat br.com.caelum.vraptor.interceptor.DefaultSimpleInterceptorStack.next(DefaultSimpleInterceptorStack.java:49)\r\n\tat br.com.caelum.vraptor.interceptor.DefaultSimpleInterceptorStack$Proxy$_$$_WeldClientProxy.next(Unknown Source)\r\n\tat br.com.caelum.vraptor.simplemail.AsyncMailerFlushInterceptor.intercept(AsyncMailerFlushInterceptor.java:33)\r\n\tat br.com.caelum.vraptor.simplemail.AsyncMailerFlushInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)\r\n\tat sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat net.vidageek.mirror.provider.java.PureJavaMethodReflectionProvider.invoke(PureJavaMethodReflectionProvider.java:38)\r\n\tat net.vidageek.mirror.invoke.MethodHandlerByMethod.withArgs(MethodHandlerByMethod.java:54)\r\n\tat br.com.caelum.vraptor.interceptor.StepInvoker.invokeMethod(StepInvoker.java:49)\r\n\tat br.com.caelum.vraptor.interceptor.StepInvoker.tryToInvoke(StepInvoker.java:40)\r\n\tat br.com.caelum.vraptor.interceptor.StepInvoker$Proxy$_$$_WeldClientProxy.tryToInvoke(Unknown Source)\r\n\tat br.com.caelum.vraptor.interceptor.InterceptorExecutor.executeAround(InterceptorExecutor.java:75)\r\n\tat br.com.caelum.vraptor.interceptor.InterceptorExecutor$Proxy$_$$_WeldClientProxy.executeAround(Unknown Source)\r\n\tat br.com.caelum.vraptor.interceptor.AspectStyleInterceptorHandler.execute(AspectStyleInterceptorHandler.java:85)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat org.mamute.interceptors.PimpMyControllerInterceptor.intercept(PimpMyControllerInterceptor.java:31)\r\n\tat org.mamute.interceptors.PimpMyControllerInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)\r\n\tat br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:58)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat org.mamute.interceptors.BlockedIpInterceptor.intercept(BlockedIpInterceptor.java:44)\r\n\tat org.mamute.interceptors.BlockedIpInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)\r\n\tat br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:58)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat br.com.caelum.brutauth.interceptors.BrutauthMapInterceptor.intercept(BrutauthMapInterceptor.java:36)\r\n\tat br.com.caelum.brutauth.interceptors.BrutauthMapInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)\r\n\tat br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:58)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat br.com.caelum.vraptor.interceptor.AspectStyleInterceptorHandler.execute(AspectStyleInterceptorHandler.java:88)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:98)\r\n\tat br.com.caelum.vraptor.interceptor.FlashInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)\r\n\tat br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:58)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack.start(DefaultInterceptorStack.java:93)\r\n\tat br.com.caelum.vraptor.core.DefaultInterceptorStack$Proxy$_$$_WeldClientProxy.start(Unknown Source)\r\n\tat br.com.caelum.vraptor.observer.RequestHandlerObserver.handle(RequestHandlerObserver.java:93)\r\n\tat org.mamute.infra.locale.CustomRequestHandlerObserver.handle(CustomRequestHandlerObserver.java:42)\r\n\tat sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:90)\r\n\tat org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:271)\r\n\tat org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:258)\r\n\tat org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:237)\r\n\tat org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:174)\r\n\tat org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:170)\r\n\tat org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:124)\r\n\tat org.jboss.weld.event.EventImpl.fire(EventImpl.java:84)\r\n\tat br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:123)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:483)\r\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)\r\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:521)\r\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:412)\r\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)\r\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)\r\n\tat org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)\r\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)\r\n\tat org.eclipse.jetty.server.Server.handle(Server.java:351)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:451)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:916)\r\n\tat org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)\r\n\tat org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)\r\n\tat org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)\r\n\tat org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)\r\n\tat org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)\r\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)\r\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```\r\n\r\nAny ideas? From the error, it seems the error is due to the mismatch in the response from Google and what mamute expects."}}
{"actor":{"display_login":"ramswaroop"}}