Buffalo BUG: Nomequate load

xiaoxiao2021-04-07  387

Open source AJAX engine Buffalo does not support method overload, but the remote interface contains the same method name, the parameter method, there will always be one of the following exceptions:

com.caucho.burlap.io.BurlapProtocolException: expected string at at com.caucho.burlap.io.BurlapInput.error (BurlapInput.java:1657) at com.caucho.burlap.io.BurlapInput.expectedTag (BurlapInput.java:1652) at com.caucho.burlap.io.BurlapInput.readString (BurlapInput.java:733) at com.caucho.hessian.io.BasicDeserializer.readObject (BasicDeserializer.java:170) at com.caucho. burlap.io.BurlapInput.readObject (BurlapInput.java) at net.buffalo.service.invoker.burlap.BurlapInvoker.invoke (BurlapInvoker.java:200) at net.buffalo.service.BuffaloWorker.processRequest (BuffaloWorker.java:76) at net.buffalo.web.servlet.ApplicationServlet.doRequest (ApplicationServlet.java:125) at net.buffalo.web.servlet.ApplicationServlet.doPost (ApplicationServlet.java:88) at javax.servlet.http.HttpServlet.service (HttpServlet .java: 154) at javax.servlet.http.HttpServlet.service (HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter (ServletFilterChain.java:106) at com.caucho.server.webapp. WE bAppFilterChain.doFilter (WebAppFilterChain.java:178) at com.caucho.server.dispatch.ServletInvocation.service (ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest (HttpRequest.java:268) at com .caucho.server.port.TcpConnection.run (TcpConnection.java:389) at com.caucho.util.ThreadPool.runTasks (ThreadPool.java:507) at com.caucho.util.ThreadPool.run (ThreadPool.java:433 ) At java.lang.thread.run (thread.java:595)

For processing above, you only need to keep the method name. But from object-oriented views, it is necessary.

转载请注明原文地址:https://www.9cbs.com/read-132552.html

New Post(0)