Hi Linda,

Are you sure you are using the latest version of the GData Java client
library?
As you said, the removeOwnerFromGroup is correctly defined in the source
and the error is not on the server side, so there must be some
configuration or versioning issue in your application.

Claudio

On Wed, Mar 28, 2012 at 5:26 PM, Linda Toth <[email protected]> wrote:

> Claudio
>
> The browser posts the following error (I am successfully adding members,
> owners, and deleting members via the AppsGroupsService methods.  This is
> the only method it repeatedly fails for):
>
> The server encountered an internal error () that prevented it from
> fulfilling this request.</u></p><p><b>exception</b>
> <pre>javax.servlet.ServletException: Servlet execution threw an exception
> </pre></p><p><b>root cause</b> <pre>java.lang.NoSuchMethodError:
> com.google.gdata.client.appsforyourdomain.AppsGroupsService.removeOwnerFromGroup(Ljava/lang/String;Ljava/lang/String;)V
>
> I have used the following information as parameters:
> [email protected] & [email protected] (our test domain).
>
>
> On Wednesday, March 28, 2012 3:05:06 PM UTC-8, Claudio Cherubino wrote:
>>
>> Hi Linda,
>>
>> What exactly is the error you get?
>> Thanks
>>
>> Claudio
>>
>> On Wed, Mar 28, 2012 at 3:53 PM, Linda Toth <[email protected]> wrote:
>>
>>> Folks,
>>>
>>> I have the latest libraries; the source clearly includes the method for
>>> removeOwnerFromGroup as shown by the result from a grep, searching for the
>>> method:  
>>> src/com/google/gdata/client/**appsforyourdomain/**AppsGroupsService.java:
>>>  public void removeOwnerFromGroup(String email, String groupId.
>>>
>>> Our build process has not changed, our libraries have not changed, and I
>>> successfully tested this component before.  Some thing, some where has
>>> changed.  Can Googlers please follow up on this.
>>>
>>> Linda
>>>
>>>
>>> On Wednesday, March 28, 2012 12:10:20 PM UTC-8, Linda Toth wrote:
>>>>
>>>> Thank you for the revision number.  I am able to see the source as you
>>>> listed it here in my version.  I will review import statements, etc.
>>>>
>>>> Linda
>>>>
>>>> On Wednesday, March 28, 2012 11:27:45 AM UTC-8, Claudio Cherubino wrote:
>>>>>
>>>>> Hi Linda,
>>>>>
>>>>> The removeOwnerFromGroup is defined in the AppsGroupsService class at:
>>>>>
>>>>> http://code.google.com/p/**gdata**-java-client/source/**browse/**
>>>>> trunk/java/src/com/**google/**gdata/client/**appsforyourdomain**/**
>>>>> AppsGroupsService.java#366<http://code.google.com/p/gdata-java-client/source/browse/trunk/java/src/com/google/gdata/client/appsforyourdomain/AppsGroupsService.java#366>
>>>>>
>>>>> I'm not aware of any changes that could affect this.
>>>>>
>>>>> Claudio
>>>>>
>>>>>
>>>>> Hello
>>>>>>
>>>>>> I previously tested the removeOwnerFromGroup method, which removes
>>>>>> the owner designation from a member without removing the member.  I am 
>>>>>> not
>>>>>> repeatedly receiving an error that the method does not exist, even though
>>>>>> it appears to be included in the gdata distribution I am using.  I want 
>>>>>> to
>>>>>> make sure there is not some change at the Google level that is affecting 
>>>>>> my
>>>>>> result before I go too deeply into why it is not working now.
>>>>>>
>>>>>> Linda
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Google Apps Domain Information and Management APIs" group.
>>>>>>
>>>>>>
>>>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Apps Domain Information and Management APIs" group.
>>> To view this discussion on the web visit https://groups.google.com/d/**
>>> msg/google-apps-mgmt-apis/-/**e5wnUCoFSKsJ<https://groups.google.com/d/msg/google-apps-mgmt-apis/-/e5wnUCoFSKsJ>
>>> .
>>>
>>> To post to this group, send email to google-apps-mgmt-apis@**
>>> googlegroups.com <[email protected]>.
>>> To unsubscribe from this group, send email to google-apps-mgmt-apis+**
>>> [email protected]<google-apps-mgmt-apis%[email protected]>
>>> .
>>> For more options, visit this group at http://groups.google.com/**
>>> group/google-apps-mgmt-apis?**hl=en<http://groups.google.com/group/google-apps-mgmt-apis?hl=en>
>>> .
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google Apps Domain Information and Management APIs" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-apps-mgmt-apis/-/R5huPCQdq6QJ.
>
> 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-apps-mgmt-apis?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management 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://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to