2013-10-10 206 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選項卡。

相關問題