Hi there !
I'm not able to run the sample "EventFeedDemo" if I import the
EventFeedDemo.java file into my project and I launch it, it throw an
AuthenticationException.
The weird thing is that I can run the sample from the gdata-sample
archive if I use ant (with ant -f build-samples.xml
sample.calendar.run) as described in the documentation.
I have this stack trace :
com.google.gdata.util.AuthenticationException: Error connecting with
login URI
at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken
(GoogleAuthTokenFactory.java:479)
at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials
(GoogleAuthTokenFactory.java:336)
at com.google.gdata.client.GoogleService.setUserCredentials
(GoogleService.java:362)
at com.google.gdata.client.GoogleService.setUserCredentials
(GoogleService.java:317)
at com.google.gdata.client.GoogleService.setUserCredentials
(GoogleService.java:301)
at fr.habipro.crm.exp.EventFeedDemo.main(EventFeedDemo.java:449)
Caused by: javax.net.ssl.SSLKeyException: RSA premaster secret error
at com.sun.net.ssl.internal.ssl.RSAClientKeyExchange.<init>(Unknown
Source)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone
(Unknown Source)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage
(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown
Source)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown
Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown
Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake
(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown
Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown
Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown
Source)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream
(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream
(Unknown Source)
at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest
(GoogleAuthTokenFactory.java:537)
at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken
(GoogleAuthTokenFactory.java:477)
... 5 more
Caused by: java.security.NoSuchAlgorithmException:
SunTlsRsaPremasterSecret KeyGenerator not available
at javax.crypto.KeyGenerator.<init>(DashoA13*..)
at javax.crypto.KeyGenerator.getInstance(DashoA13*..)
at com.sun.net.ssl.internal.ssl.JsseJce.getKeyGenerator(Unknown
Source)
... 20 more
What's wrong ?
Thanks a lot for your answers !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" 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://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---