jnan77 / jsonrpc4j

Automatically exported from code.google.com/p/jsonrpc4j
0 stars 0 forks source link

Call failed #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Clicking the "Click me!" button at http://localhost:8080/JSONRPCTest/ results 
in a failed call alert and the following exception:

java.io.EOFException: No content to map to Object due to end of input
        at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2022)
        at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:1974)
        at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1317)
        at com.googlecode.jsonrpc4j.JsonRpcServer.handle(JsonRpcServer.java:93)
        at com.googlecode.jsonrpc4j.spring.JsonServiceExporter.handleRequest(JsonServiceExporter.java:90)
        at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:874)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:808)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)

Any help would be greatly appreciated!

Original issue reported on code.google.com by jrimcl...@gmail.com on 3 Dec 2010 at 8:07

Attachments:

GoogleCodeExporter commented 8 years ago
Note: See attachment for source code and configuration.

Original comment by jrimcl...@gmail.com on 3 Dec 2010 at 8:08

GoogleCodeExporter commented 8 years ago
Although I didn't actually run and test the code for myself - the java side of 
things looks fine to me.

With that said - very little to no work at all has been done on the javascript 
JSON-RPC client for a long time.  In fact i think it was removed from the 
codebase if I'm not mistaken.  All of the latest focus has been on the java 
client (and a PHP and Python client that hasn't yet been committed to SVN).

Original comment by gabydil...@gmail.com on 4 Jan 2011 at 8:23

GoogleCodeExporter commented 8 years ago
Oh, and to elaborate on my previous content - what i think is going on is that 
the javascript json-rpc client is not sending the proper JSON-RPC request to 
the client.

Original comment by gabydil...@gmail.com on 4 Jan 2011 at 8:25

GoogleCodeExporter commented 8 years ago
oops - i responded to that on my wife's computer... hence the gabydilley.

Original comment by brian.di...@gmail.com on 13 Jan 2011 at 5:50

GoogleCodeExporter commented 8 years ago
This is old and irrelevant now.

Original comment by brian.di...@gmail.com on 5 Apr 2011 at 7:32

GoogleCodeExporter commented 8 years ago

Original comment by brian.di...@gmail.com on 26 May 2012 at 2:42