Hi, you  are getting number format exception that means somewhere your
array of string is feeding up with primitive type instead of string.
if you give me the piece of code, then it will help us better to
understand. you can instead mail me to [email protected]

On Jan 24, 9:14 pm, avi <[email protected]> wrote:
> Can any one suggest me to reasone/sollution for the error that got
> while running my GWT project
>
> Starting Jetty on port 8888
>    [WARN] Exception while dispatching incoming RPC call
> com.google.gwt.user.server.rpc.UnexpectedException: Service method
> 'public abstract com.noaa.wind.client.WindSpeed[]
> com.noaa.wind.client.WindSpeedService.getSpeeds(java.lang.String[])'
> threw an unexpected exception: java.lang.NumberFormatException: For
> input string: "Speed"
>         at
> com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:
> 385)
>         at
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
> 588)
>         at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
> 208)
>         at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
> 248)
>         at
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
> 62)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 487)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 362)
>         at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
> 216)
>         at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 181)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 729)
>         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 405)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>         at
> org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:
> 49)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>         at org.mortbay.jetty.Server.handle(Server.java:324)
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 505)
>         at org.mortbay.jetty.HttpConnection
> $RequestHandler.content(HttpConnection.java:843)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>         at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
> 395)
>         at org.mortbay.thread.QueuedThreadPool
> $PoolThread.run(QueuedThreadPool.java:488)
> Caused by: java.lang.NumberFormatException: For input string: "Speed"
>         at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:
> 1242)
>         at java.lang.Double.valueOf(Double.java:492)
>         at
> com.noaa.wind.server.WindSpeedServiceImpl.ReadFile(WindSpeedServiceImpl.java:
> 88)
>         at
> com.noaa.wind.server.WindSpeedServiceImpl.getSpeeds(WindSpeedServiceImpl.java:
> 42)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> 43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
> 569)
>         ... 22 more
> [ERROR] 500 - POST /windreport/windSpeed (127.0.0.1) 57 bytes
>    Request headers
>       Host: 127.0.0.1:8888
>       Connection: keep-alive
>       Accept: */*
>       User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2
> (KHTML, like Gecko) Ubuntu/11.10 Chromium/15.0.874.106 Chrome/
> 15.0.874.106 Safari/535.2
>       Accept-Encoding: gzip,deflate,sdch
>       Accept-Language: en-US,en;q=0.8
>       Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
>       Content-Length: 168
>       Origin:http://127.0.0.1:8888
>       X-GWT-Module-Base:http://127.0.0.1:8888/windreport/
>       X-GWT-Permutation: HostedMode
>       Content-Type: text/x-gwt-rpc; charset=UTF-8
>       Referer:http://127.0.0.1:8888/WindReport.html?gwt.codesvr=127.0.0.1:9997
>    Response headers
>       Content-Type: text/plain

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-web-toolkit?hl=en.

Reply via email to