Done, please star: http://code.google.com/p/googleappengine/issues/detail?id=8294
Deprecated or not I certainly hope they fix it at some point, this is certainly throwing a wrench in my testing! Anyone know where to download older versions of the SDK? On Oct 17, 12:00 am, alex <[email protected]> wrote: > I got the same error today (only with the latest SDK version). Deployed on > production servers works fine so it seems to be a dev server only issue. > > Could you create a bug on the issue tracker? I'll star it :) > Given OAuth 1.0 is deprecated I'm not sure when and if it'll be resolved > though: hopefully 2.0 will be released soon! > > > > > > > > On Tue, Oct 16, 2012 at 11:44 PM, tempy <[email protected]> wrote: > > Hi all, > > > I recently moved an existing body of working GAE code to another > > computer and updated the SDK to the latest (1.7.2.1). Now, > > "OAuthServiceFactory.getOAuthService().getCurrentUser();" produces a > > nullpointerexception. > > > I looked at the offending code in the SDK and I don't really see how > > its possible that either parameter in the ConcurrentHashMap.put() in > > question could be null - which leads me to another question... is > > there any way to get the source code jars for the SDK, so I could step > > into the SDK in my development environment? > > > Other than that - this seems to be the sort of thing caused by a > > screwed up SDK installation, but the rest of the app seems to be > > functioning just fine. I haven't uploaded this to production so I > > can't be sure if its a dev-server only error. > > > Thanks, > > Mike > > > Trace: > > java.lang.NullPointerException > > at > > java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java: > > 881) > > at > > > com.google.appengine.api.oauth.OAuthServiceImpl.getGetOAuthUserResponse(OAu > > thServiceImpl.java: > > 69) > > at > > > com.google.appengine.api.oauth.OAuthServiceImpl.getCurrentUser(OAuthService > > Impl.java: > > 30) > > at MYSERVLET.doGet(MyServlet.java:37) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > at > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > > 511) > > at org.mortbay.jetty.servlet.ServletHandler > > $CachedChain.doFilter(ServletHandler.java:1166) > > at > > > com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilte > > r.java: > > 74) > > at org.mortbay.jetty.servlet.ServletHandler > > $CachedChain.doFilter(ServletHandler.java:1157) > > at > > > com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(Resp > > onseRewriterFilter.java: > > 110) > > at org.mortbay.jetty.servlet.ServletHandler > > $CachedChain.doFilter(ServletHandler.java:1157) > > at > > > com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(He > > aderVerificationFilter.java: > > 34) > > at org.mortbay.jetty.servlet.ServletHandler > > $CachedChain.doFilter(ServletHandler.java:1157) > > at > > > com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi > > lter.java: > > 61) > > at org.mortbay.jetty.servlet.ServletHandler > > $CachedChain.doFilter(ServletHandler.java:1157) > > at > > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans > > actionCleanupFilter.java: > > 43) > > at org.mortbay.jetty.servlet.ServletHandler > > $CachedChain.doFilter(ServletHandler.java:1157) > > at > > > com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile > > Filter.java: > > 125) > > at org.mortbay.jetty.servlet.ServletHandler > > $CachedChain.doFilter(ServletHandler.java:1157) > > at > > > com.google.appengine.tools.development.BackendServersFilter.doFilter(Backen > > dServersFilter.java: > > 97) > > at org.mortbay.jetty.servlet.ServletHandler > > $CachedChain.doFilter(ServletHandler.java:1157) > > at > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: > > 388) > > at > > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: > > 216) > > at > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: > > 182) > > at > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: > > 765) > > at > > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > > 418) > > at > > > com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(Dev > > AppEngineWebAppContext.java: > > 94) > > at > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > > 152) > > at com.google.appengine.tools.development.JettyContainerService > > $ApiProxyHandler.handle(JettyContainerService.java:380) > > at > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > > 152) > > at org.mortbay.jetty.Server.handle(Server.java:326) > > at > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > > 542) > > at org.mortbay.jetty.HttpConnection > > $RequestHandler.headerComplete(HttpConnection.java:923) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) > > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) > > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > > at > > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: > > 409) > > at org.mortbay.thread.QueuedThreadPool > > $PoolThread.run(QueuedThreadPool.java:582) > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
