Sure thing. We have a method to get the calendar service that is nothing
more than:
return new com.google.api.services.calendar.Calendar.Builder(TRANSPORT,
JSON_FACTORY, getStoredCredentials(GAPPS_ADMIN_EMAIL))
.setApplicationName(APPLICATION_NAME)
.build();
We also have situations when sharing calendars with users with:
Calendar client = new Calendar(TRANSPORT, JSON_FACTORY,
getStoredCredentials(GAPPS_ADMIN_EMAIL));
Again, both versions work perfectly fine with no difference on the Standard
Environment, but both situations fail on the Flexible Environment.
On Monday, May 2, 2016 at 11:27:35 AM UTC-4, Nick (Cloud Platform Support)
wrote:
>
> Hey Kevin,
>
> This seems like a great beginning to an issue report in the App Engine
> Public Issue Tracker
> <http://code.google.com/p/googleappengine/issues/list>. This forum is
> meant for more high level discussion of the platform and services, however
> the Public Issue Tracker is designed for threads like these. Nonetheless,
> let's continue to discuss it here and we can create a thread once all the
> information has been gathered. Could you share enough example code to show
> how you're calling new Calendar()? Usually Calendar.Builder is used.
>
> Cheers!
>
> Nick
> Cloud Platform Community Support
>
> On Friday, April 29, 2016 at 11:13:51 AM UTC-4, Kevin Diaz wrote:
>>
>> There seems to be an issue with the Calendar constructor on the Flexible
>> Environment. Anytime new Calendar(transport, JsonFactory,
>> HttpRequestInitializer) is called, the following 500 Internal Server Error
>> occurs:
>>
>> java.lang.NoSuchMethodError:
>> com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.<init>(Lcom/google/api/client/http/HttpTransport;Lcom/google/api/client/json/JsonFactory;Ljava/lang/String;Ljava/lang/String;Lcom/google/api/client/http/HttpRequestInitializer;Z)
>>
>> We've tested this on both the Standard Environment and the Flexible
>> Environment. The Standard Environment works as intended with no issues and
>> appears to only happen on the Flexible Environment. We even tried updating
>> to v3-rev179-1.21.0 and the same issue persists.
>>
>> We're unsure if this is just a temporary bug with Flexible Environment
>> being in beta, or if there are some extra steps required in order for the
>> Calendar API to function properly on the VM. Either way, we thought that it
>> would be a good idea to report the issue so that it may be looked into.
>>
>
--
*Confidentiality Warning: This e-mail contains information intended only
for the use of the individual or entity named above. If the reader of this
e-mail is not the intended recipient or the employee or agent responsible
for delivering it to the intended recipient, any dissemination, publication
or copying of this e-mail is strictly prohibited. The sender does not
accept any responsibility for any loss, disruption or damage to your data
or computer system that may occur while using data contained in, or
transmitted with, this e-mail. If you have received this e-mail in error,
please immediately notify us by return e-mail.*
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/0302f8a4-ca30-4f3d-badc-6b317a457ab0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.