Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Web Services

Reply
Developer
Developer
KPK
Posts: 18
Registered: ‎06-01-2011
My Device: 9800
My Carrier: Rogers

Re: BES5 BAAWS Core findGroups error

Can you add this line after the other console.writelines?  Although, I am sure this will give an error.

Console.WriteLine("groups.length: " + fgresult.groups.Length);

 

 

Click "Accept as Solution" if your problem is solved. To give thanks, click on the KUDOS STAR
Please use plain text.
Contributor
BlackOsyks
Posts: 12
Registered: ‎08-24-2011
My Device: /
My Carrier: /

Re: BES5 BAAWS Core findGroups error

Yes, groups is null...so....:smileysad:
Please use plain text.
Contributor
BlackOsyks
Posts: 12
Registered: ‎08-24-2011
My Device: /
My Carrier: /

Re: BES5 BAAWS Core findGroups error

Seg fault :smileyhappy:
Please use plain text.
Contributor
BlackOsyks
Posts: 12
Registered: ‎08-24-2011
My Device: /
My Carrier: /

Re: BES5 BAAWS Core findGroups error

And Message is: Runtime exception occured

Please use plain text.
Contributor
BlackOsyks
Posts: 12
Registered: ‎08-24-2011
My Device: /
My Carrier: /

Re: BES5 BAAWS Core findGroups error

My account is an Enterprise Admin. I tried to add Security Admin...stil the error. Now I'l try to set only Security Admin...

Please use plain text.
Contributor
BlackOsyks
Posts: 12
Registered: ‎08-24-2011
My Device: /
My Carrier: /

Re: BES5 BAAWS Core findGroups error

hello

 

Obvisouly my locale was generating the error:

 

The locale I gathered was: de_DE\r\nen_US\r\nes_ES\r\nfr_FR\r\nit_IT\r\nja_JP\r\npt_BR\r\n

I changed it to en_US and it seems to work....

 

Do you know what is the definition of alocale ?

Please use plain text.
Contributor
BlackOsyks
Posts: 12
Registered: ‎08-24-2011
My Device: /
My Carrier: /

Re: BES5 BAAWS Core findGroups error

My error was to store the locale as "en_US\r\nfr_FR" instead of "en_US"

 

Hoo to do with multiple locale ?

 

The error is due to the casting of a string[] to a \r\n separated string, how to store them in a string to make it work with findusers and findgroups ?

 

Can someone be explicit with the meaning and the user of the locale ?

 

Thanks for your support

Please use plain text.
Developer
Developer
KPK
Posts: 18
Registered: ‎06-01-2011
My Device: 9800
My Carrier: Rogers

Re: BES5 BAAWS Core findGroups error

I don't think you can have multiple locales.  It has been a while but I think you choose the locale during the BES installation.  en_US = English, United States  fr_FR = french, France

 

You mentioned that findusers worked.  How did you specify the findUsersRequest.locale for that procedure?

 

 

Click "Accept as Solution" if your problem is solved. To give thanks, click on the KUDOS STAR
Please use plain text.
Contributor
BlackOsyks
Posts: 12
Registered: ‎08-24-2011
My Device: /
My Carrier: /

Re: BES5 BAAWS Core findGroups error

en_US\r\nfr_FR and it worked for findusers
Please use plain text.