gpt4 book ai didi

java - 异常获取服务器实例 : No valid instance id for this instance

转载 作者:塔克拉玛干 更新时间:2023-11-03 04:38:12 27 4
gpt4 key购买 nike

当我在我的本地主机 Google App Engine 应用程序中将日志记录级别更改为 FINE 时,我开始在我的跟踪堆栈中看到这些:

Apr 17, 2013 4:54:20 PM com.google.appengine.tools.development.DevAppServerServersFilter getCurrentServerInstance
FINE: Exception getting server instance
com.google.appengine.api.labs.servers.ServersException: No valid instance id for this instance.
at com.google.appengine.api.labs.servers.ServersServiceImpl.getCurrentInstanceId(ServersServiceImpl.java:75)
at com.google.appengine.tools.development.DevAppServerServersFilter.getCurrentServerInstance(DevAppServerServersFilter.java:210)
at com.google.appengine.tools.development.DevAppServerServersFilter.isServerLoadBalancingServerRequest(DevAppServerServersFilter.java:185)
at com.google.appengine.tools.development.DevAppServerServersFilter.getRequestType(DevAppServerServersFilter.java:174)
at com.google.appengine.tools.development.DevAppServerServersFilter.doFilter(DevAppServerServersFilter.java:112)
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(DevAppEngineWebAppContext.java:94)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:421)
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)

知道这是什么以及如何解决它吗?

最佳答案

这是开发服务器中的一个已知问题:
https://code.google.com/p/googleappengine/issues/detail?id=10412

已经知道有一段时间了,所以我不确定他们是否会修复它。

关于java - 异常获取服务器实例 : No valid instance id for this instance,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16055821/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com