I forgot to mention that I am using GWT 1.5.3 and gwt-log 2.5.3

Thanks,
Somik

On Jun 9, 1:09 pm, somik <[email protected]> wrote:
> HI Folks,
>
> My gwt-log install was working great till we deployed in a linux
> environment. Now, I have started getting
> java.lang.ExceptionInInitializerError and further investigating the
> cause seems to indicate the RemoteLoggerService is using GWT.create()
> on the server-side, GWT.create() can only be used on the client side.
>
> Here's the stack trace:
>
> Caused by: java.lang.ExceptionInInitializerError
>  at com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl.info
> (RemoteLoggerServiceImpl.java:70)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:597)
>  at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
> (RPC.java:527)
>  ... 27 more
> Caused by: java.lang.UnsupportedOperationException: ERROR: GWT.create
> () is only usable in client code! It cannot be called, for example,
> from server code. If you are running a unit test, check that your test
> case extends GWTTestCase and that GWT.create() is not called from
> within an initializer or constructor.
>  at com.google.gwt.core.client.GWT.create(GWT.java:91)
>  at com.allen_sauer.gwt.log.client.Log.<clinit>(Log.java):70)
>  ... 33 more
>
> Please let me know, if anyone has workaround or a bug # for the known
> issue, so that I can track it till the issue gets fixed.
>
> Thanks in advance and keep up the good work Fred!
>
> Somik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-log" 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/gwt-log?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to