remote api GAE / J:StackOverflowError?

时间:2011-11-15 17:39:25

标签: google-app-engine remoteapi

我正在尝试从另一个GAE / J应用程序查询我的一个GAE / J应用程序的数据存储区 但是我使用开发服务器和生产中出现了这个错误

/ servlet_url

的错误
   java.lang.StackOverflowError 
        at java.lang.ThreadLocal$ThreadLocalMap.getEntry(ThreadLocal.java:381) 
        at java.lang.ThreadLocal$ThreadLocalMap.access$000(ThreadLocal.java:261) 
        at java.lang.ThreadLocal.get(ThreadLocal.java:146) 
        at com.google.appengine.tools.remoteapi.ThreadLocalDelegate.getDelegate(Thread LocalDelegate.java:32) 
        at com.google.appengine.tools.remoteapi.ThreadLocalDelegate.makeSyncCall(Threa dLocalDelegate.java:41) 
        at com.google.appengine.tools.remoteapi.HostedRemoteApiDelegate.makeSyncCall(H ostedRemoteApiDelegate.java:45) 
        at com.google.appengine.tools.remoteapi.ThreadLocalDelegate.makeSyncCall(Threa dLocalDelegate.java:41) 
        at com.google.appengine.tools.remoteapi.HostedRemoteApiDelegate.makeSyncCall(H ostedRemoteApiDelegate.java:45) 
        at com.google.appengine.tools.remoteapi.ThreadLocalDelegate.makeSyncCall(Threa dLocalDelegate.java:41) 
        at com.google.appengine.tools.remoteapi.HostedRemoteApiDelegate.makeSyncCall(H ostedRemoteApiDelegate.java:45) 
        at com.google.appengine.tools.remoteapi.ThreadLocalDelegate.makeSyncCall(Threa dLocalDelegate.java:41) 
        at com.google.appengine.tools.remoteapi.HostedRemoteApiDelegate.makeSyncCall(H ostedRemoteApiDelegate.java:45) 
        at com.google.appengine.tools.remoteapi.ThreadLocalDelegate.makeSyncCall(Threa dLocalDelegate.java:41) 
        at com.google.appengine.tools.remoteapi.HostedRemoteApiDelegate.makeSyncCall(H ostedRemoteApiDelegate.java:45) 
        at com.google.appengine.tools.remoteapi.ThreadLocalDelegate.makeSyncCall(Threa dLocalDelegate.java:41) 
        at com.google.appengine.tools.remoteapi.HostedRemoteApiDelegate.makeSyncCall(H ostedRemoteApiDelegate.java:45) 

在多次远程请求后检查第一个应用程序的appstats时,我看到几个成功的查询/ remote_api但没有RPC调用

* 2011-11-02 23:22:59.298“GET remote_api”200 real = 0ms cpu = 0ms api = 0ms overhead = 0ms(0 RPCs)*

PS:我完全按照这里描述的步骤: http://code.google.com/intl/fr-FR/appengine/docs/java/tools/remoteapi.html

1 个答案:

答案 0 :(得分:1)