简体   繁体   English

如何修复以下异常com.google.appengine.api.labs.modules.ModulesException:实例ID不可用

[英]How to fix the following exception com.google.appengine.api.labs.modules.ModulesException: Instance id unavailable

I am trying to port over a pre-1.8.x Google App Engine application to 1.8.7 我正在尝试将1.8.x之前的Google App Engine应用程序移植到1.8.7

And I am getting the following errors on my Local Development Server as well as when I deploy my application to GAE on every call to a URL. 我在本地开发服务器上以及每次调用URL时将应用程序部署到GAE时出现以下错误。

I see that other people are suffering from the same issue but none of the posts I could find on the Internet had an actual solution. 我看到其他人正在遭受同样的问题,但我在互联网上找到的帖子都没有实际的解决方案。

Nov 12, 2013 9:05:40 PM com.google.appengine.tools.development.DevAppServerModulesFilter doDirectRequest
[INFO] FINEST: request to specific module instance: -1.default
[INFO] Nov 12, 2013 9:05:40 PM com.google.appengine.tools.development.DevAppServerModulesFilter getCurrentModuleInstance
[INFO] FINE: Exception getting module instance
[INFO] com.google.appengine.api.labs.modules.ModulesException: Instance id unavailable
[INFO]  at com.google.appengine.api.labs.modules.ModulesServiceImpl.getCurrentInstanceId(ModulesServiceImpl.java:68)

This is a known issue (I encountered it with 1.8.9), but can be ignored. 这是一个已知问题(我在1.8.9中遇到过它),但可以忽略。

Issue 10412: Skeleton web application's doGet throws "ModulesException: Instance id unavailable" 问题10412:Skeleton Web应用程序的doGet抛出“ModulesException:Instance id unavailable”

As Tom answered correctly, this is not an issue, but it is April 2015 and this exception still fills the logs of my devserver! 正如Tom正确回答的那样,这不是一个问题,但它是2015年4月,这个异常仍然填满了我的devserver的日志!

Add the following to your logging.properties to keep this noise out of your logs when running in the development server. 将以下内容添加到logging.properties ,以便在开发服务器中运行时将噪声从日志中排除。

# turn off error com.google.appengine.api.modules.ModulesException: Instance id unavailable errors in devserver
com.google.appengine.tools.development.DevAppServerModulesFilter.level = SEVERE

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google App Engine:com.google.appengine.api.labs.modules.ModulesException:此实例没有有效的实例ID - Google App Engine: com.google.appengine.api.labs.modules.ModulesException: No valid instance id for this instance 启动AppEngine MapJob出现错误:com.google.appengine.api.modules.ModulesException:未知模块 - Start AppEngine MapJob got error: com.google.appengine.api.modules.ModulesException: Unknown module 将JavaMail与Google AppEngine一起使用时出现异常:如何解决此问题? - Exception while using JavaMail with Google AppEngine: How to fix this? 如何在数据库中存储“ com.google.appengine.api.datastore.Text” - How to store “com.google.appengine.api.datastore.Text” in database 如何使用com.google.appengine.api.datastore.Text - how to use com.google.appengine.api.datastore.Text Google Appengine-ID为“ com.google.appengine.api.datastore.Key:Product(“ Potatoe”)”的对象由其他对象管理器管理 - Google Appengine - Object with id “com.google.appengine.api.datastore.Key:Product(”Potatoe“)” is managed by a different Object Manager NoClassDefFoundError:com / google / appengine / api / urlfetch / ResponseTooLargeException - NoClassDefFoundError: com/google/appengine/api/urlfetch/ResponseTooLargeException AppEngine ClassNotFoundException:com.google.appengine.api.datastore.DatastoreServiceFactory - AppEngine ClassNotFoundException: com.google.appengine.api.datastore.DatastoreServiceFactory 如何在Google App Engine _ah / api / explorer中创建com.google.appengine.api.datastore.Key对象? - How to create the com.google.appengine.api.datastore.Key object in the Google App Engine _ah/api/explorer? 使用com.google.appengine.api.datastore.Text时如何维护格式和缩进 - How to maintain formatting and indentation when using com.google.appengine.api.datastore.Text
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM