部署到谷歌appengine的内部错误

时间:2013-10-10 11:42:48

标签: google-app-engine

我正在努力让Vaadin7应用在Google应用引擎上运行。我使用app-engine sdk 1.8.5和eclipse juno。

部署似乎有效:

------------ Deploying frontend ------------

Preparing to deploy:
    Created staging directory at: '/tmp/appcfg4530509922106401908.tmp'
    Scanning for jsp files.
    Scanning files on local disk.
    Initiating update.
    Cloning 4 static files.
    Cloning 8 application files.

Deploying:
    Uploading 0 files.
    Initializing precompilation...
    Deploying new version.

Verifying availability:
    Will check again in 1 seconds.
    Will check again in 2 seconds.
    Will check again in 4 seconds.
    Will check again in 8 seconds.
    Closing update: new version is ready to start serving.

Updating datastore:
    Uploading index definitions.

Deployment completed successfully

然而,在操作结束时有一个弹出窗口说:

An internal error occurred during: "Deploying <app-name> to Google".
java.lang.NullPointerException

没有任何内容写入日志文件,我不知道那是什么类型的nullpointer。从Web浏览器访问应用程序提供HTTP 500。 关于可能是什么原因/可能的解决方案的任何提示?

1 个答案:

答案 0 :(得分:2)

通常,成功部署后,Google App Engine Eclipse插件会启动一个指向 your-app-id .appspot.com的浏览器标签。如果失败,您可以按照描述获得NullPointerException。

至少,使用Eclipse 4.3(Kepler)和app-engine sdk 1.8.6会发生这种情况。

在这种情况下,您的后端确实已部署,忽略此错误是安全的。但是,您必须手动启动或刷新浏览选项卡。