2013-10-10 179 views
3

我试图让Vaadin7应用程序在Google应用程序引擎上工作。我用eclipse juno使用app-engine sdk 1.8.5。部署到谷歌应用程序引擎的内部错误

部署似乎工作,因为我得到:

------------ 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 

没有被写入日志文件,我没有线索什么样的空指针是。从网络浏览器访问应用程序给HTTP 500. 任何提示可能是什么原因/可能的解决方案?

回答

2

通常,在成功部署后,Google App Engine Eclipse插件将启动一个指向your-app-id .appspot.com的浏览器选项卡。如果失败,您可以获得NullPointerException,如上所述。

至少在Eclipse 4.3(Kepler)和app-engine sdk 1.8.6中,这是至关重要的。

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

相关问题