Hello,

Please post your question on the Google App Engine dedicated
forum<http://code.google.com/appengine/community.html>as experts will
be able to help you better there.

Best,
Alain

On Fri, Sep 16, 2011 at 2:43 PM, Sonal_b <[email protected]> wrote:

> I am getting the error when running the application. In the
> application I have
>
> 1. added  below line in appengine-web.xml
> <property name="com.google.gdata.DisablecookieHandler" value="true"/>
>
> 2. Copied the jars in the lib folder other than having it build
> configurations.
> I have following jar files
> a. gdata-contacts-3.0.jar
> b. gdata-contacts-meta-3.0.jar
> c. gdata-core-1.0.jar
> d. gdata-client-1.0.jar
> e. gdata-client-meta-1.0.jar
> f. guava-r07.jar
>
> Error:
> -------------------------------------------------------------
> java.lang.ExceptionInInitializerError
>        at com.google.gdata.client.http.GoogleGDataRequest
> $Factory.createRequest(GoogleGDataRequest.java:73)
>        at com.google.gdata.client.http.HttpGDataRequest
> $Factory.getRequest(HttpGDataRequest.java:162)
>        at com.google.gdata.client.Service.createRequest(Service.java:
> 697)
>        at
> com.google.gdata.client.GoogleService.createRequest(GoogleService.java:
> 525)
>        at
> com.google.gdata.client.Service.createInsertRequest(Service.java:
> 1401)
>        at com.google.gdata.client.Service.insert(Service.java:1322)
>        at
> com.google.gdata.client.GoogleService.insert(GoogleService.java:
> 599)
>        at com.test.GoogleAppServlet.doGet(GoogleAppServlet.java:95)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 617)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 717)
>        at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 511)
>        at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1166)
>        at
> com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(He
> aderVerificationFilter.java:
> 35)
>        at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>        at
> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi
> lter.java:
> 58)
>        at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>        at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans
> actionCleanupFilter.java:
> 43)
>        at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>        at
> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile
> Filter.java:
> 122)
>        at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>        at
> com.google.appengine.tools.development.BackendServersFilter.doFilter(Backen
> dServersFilter.java:
> 97)
>        at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>        at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 388)
>        at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
> 216)
>        at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 182)
>        at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 765)
>        at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 418)
>        at
> com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEn
> gineWebAppContext.java:
> 70)
>        at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>        at
> com.google.appengine.tools.development.JettyContainerService
> $ApiProxyHandler.handle(JettyContainerService.java:351)
>        at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>        at org.mortbay.jetty.Server.handle(Server.java:326)
>        at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 542)
>        at org.mortbay.jetty.HttpConnection
> $RequestHandler.headerComplete(HttpConnection.java:923)
>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:
> 547)
>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:
> 212)
>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:
> 404)
>        at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
> 409)
>        at org.mortbay.thread.QueuedThreadPool
> $PoolThread.run(QueuedThreadPool.java:582)
> Caused by: java.security.AccessControlException: access denied
> (java.net.NetPermission getCookieHandler)
>        at
> java.security.AccessControlContext.checkPermission(AccessControlContext.jav
> a:
> 323)
>        at
> java.security.AccessController.checkPermission(AccessController.java:
> 546)
>        at
> java.lang.SecurityManager.checkPermission(SecurityManager.java:
> 532)
>        at com.google.appengine.tools.development.DevAppServerFactory
> $CustomSecurityManager.checkPermission(DevAppServerFactory.java:166)
>        at java.net.CookieHandler.getDefault(CookieHandler.java:58)
>        at com.google.gdata.client.http.GoogleGDataRequest
> $GoogleCookieHandler.<init>(GoogleGDataRequest.java:316)
>        at com.google.gdata.client.http.GoogleGDataRequest
> $GoogleCookieHandler.<init>(GoogleGDataRequest.java:305)
>        at
> com.google.gdata.client.http.GoogleGDataRequest.<clinit>(GoogleGDataRequest
> .java:
> 408)
>        ... 39 more
> Sep 16, 2011 5:49:39 PM com.google.apphosting.utils.jetty.JettyLogger
> warn
> WARNING: Nested in java.lang.ExceptionInInitializerError:
> java.security.AccessControlException: access denied
> (java.net.NetPermission getCookieHandler)
>        at
> java.security.AccessControlContext.checkPermission(AccessControlContext.jav
> a:
> 323)
>        at
> java.security.AccessController.checkPermission(AccessController.java:
> 546)
>        at
> java.lang.SecurityManager.checkPermission(SecurityManager.java:
> 532)
>        at com.google.appengine.tools.development.DevAppServerFactory
> $CustomSecurityManager.checkPermission(DevAppServerFactory.java:166)
>        at java.net.CookieHandler.getDefault(CookieHandler.java:58)
>        at com.google.gdata.client.http.GoogleGDataRequest
> $GoogleCookieHandler.<init>(GoogleGDataRequest.java:316)
>        at com.google.gdata.client.http.GoogleGDataRequest
> $GoogleCookieHandler.<init>(GoogleGDataRequest.java:305)
>        at
> com.google.gdata.client.http.GoogleGDataRequest.<clinit>(GoogleGDataRequest
> .java:
> 408)
>        at com.google.gdata.client.http.GoogleGDataRequest
> $Factory.createRequest(GoogleGDataRequest.java:73)
>        at com.google.gdata.client.http.HttpGDataRequest
> $Factory.getRequest(HttpGDataRequest.java:162)
>        at com.google.gdata.client.Service.createRequest(Service.java:
> 697)
>        at
> com.google.gdata.client.GoogleService.createRequest(GoogleService.java:
> 525)
>        at
> com.google.gdata.client.Service.createInsertRequest(Service.java:
> 1401)
>        at com.google.gdata.client.Service.insert(Service.java:1322)
>        at
> com.google.gdata.client.GoogleService.insert(GoogleService.java:
> 599)
>        at com.test.GoogleAppServlet.doGet(GoogleAppServlet.java:95)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 617)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 717)
>        at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 511)
>        at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1166)
>        at
> com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(He
> aderVerificationFilter.java:
> 35)
>        at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>        at
> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi
> lter.java:
> 58)
>        at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>        at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans
> actionCleanupFilter.java:
> 43)
>        at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>        at
> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile
> Filter.java:
> 122)
>        at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://code.google.com/apis/contacts/community/forum.html
>



-- 
Alain Vongsouvanh | Developer Programs Engineer

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html

Reply via email to