Have you tried running your code with Sun Java instead of gcj?

Ray

On Sep 27, 2008, at 9:06 AM, jules wrote:

>
> Hi,
>
> I am getting an error when I use the Finance API. I am sending on this
> group because it also happens when I use the others google API. Here
> is the error I get when I do
> FinanceService service = new FinanceService("NAME");
> (I have tried with other names)
>
>
> Exception in thread "main" java.lang.ExceptionInInitializerError
>   at java.lang.Class.initializeClass(libgcj.so.81)
>   at com.google.gdata.client.Service.<init>(Service.java:546)
>   at com.google.gdata.client.GoogleService.<init>(GoogleService.java:
> 198)
>   at com.google.gdata.client.GoogleService.<init>(GoogleService.java:
> 171)
>   at
> com
> .google
> .gdata.client.finance.FinanceService.<init>(FinanceService.java:
> 56)
>   at TestDocumentList.main(TestDocumentList.java:26)
> Caused by: java.util.regex.PatternSyntaxException: At position 10 in
> regular expression pattern:
> At position 0 in regular expression pattern:
> unsupported name ASCII
>       ^[\p{ASCII}&&[^\p{Cntrl} ;/=\[\]\(\)\<\>[EMAIL PROTECTED],\:\"\?\=]]+$
>                 ^
>   at java.util.regex.Pattern.<init>(libgcj.so.81)
>
>
>   at java.util.regex.Pattern.compile(libgcj.so.81)
>   at java.util.regex.Pattern.compile(libgcj.so.81)
>   at com.google.gdata.util.ContentType.<clinit>(ContentType.java:38)
>   at java.lang.Class.initializeClass(libgcj.so.81)
>   ...5 more
> Caused by: gnu.java.util.regex.REException: At position 10 in regular
> expression pattern:
> At position 0 in regular expression pattern:
> unsupported name ASCII
>   at gnu.java.util.regex.RE.getRETokenNamedProperty(libgcj.so.81)
>   at gnu.java.util.regex.RE.parseCharClass(libgcj.so.81)
>   at gnu.java.util.regex.RE.initialize(libgcj.so.81)
>   at gnu.java.util.regex.RE.<init>(libgcj.so.81)
>   at gnu.java.util.regex.RE.<init>(libgcj.so.81)
>   at java.util.regex.Pattern.<init>(libgcj.so.81)
>   ...9 more
> Caused by: gnu.java.util.regex.REException: At position 0 in regular
> expression pattern:
> unsupported name ASCII
>   at gnu.java.util.regex.RETokenNamedProperty.getHandler(libgcj.so.
> 81)
>   at gnu.java.util.regex.RETokenNamedProperty.<init>(libgcj.so.81)
>   at gnu.java.util.regex.RE.getRETokenNamedProperty(libgcj.so.81)
>   ...14 more
>
>
>
> Thanks a lot
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data Protocol" 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to