mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-116260 ISE: RPC handler object "AddOnlineUser" not found at com.intellij.ide.XmlRpcServerImpl.process
This commit is contained in:
@@ -85,7 +85,7 @@ public class XmlRpcServerImpl implements XmlRpcServer {
|
||||
|
||||
@Override
|
||||
public boolean process(@NotNull String path, @NotNull FullHttpRequest request, @NotNull ChannelHandlerContext context, @Nullable Map<String, Object> handlers) throws IOException {
|
||||
if (!(path.isEmpty() || (path.length() == 1 && path.charAt(0) == '/') || path.equalsIgnoreCase("/RPC2"))) {
|
||||
if (!(path.isEmpty() || (path.length() == 1 && path.charAt(0) == '/') || path.equalsIgnoreCase("/rpc2"))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -136,16 +136,12 @@ public class XmlRpcServerImpl implements XmlRpcServer {
|
||||
return handler;
|
||||
}
|
||||
|
||||
IllegalStateException exception;
|
||||
if (dot > -1) {
|
||||
exception = new IllegalStateException("RPC handler object \"" + handlerName + "\" not found");
|
||||
throw new IllegalStateException("RPC handler object \"" + handlerName + "\" not found");
|
||||
}
|
||||
else {
|
||||
exception = new IllegalStateException("RPC handler object not found for \"" + methodName);
|
||||
throw new IllegalStateException("RPC handler object not found for \"" + methodName);
|
||||
}
|
||||
|
||||
LOG.error(exception);
|
||||
throw exception;
|
||||
}
|
||||
|
||||
private static Object invokeHandler(@NotNull Object handler, XmlRpcServerRequest request) throws Throwable {
|
||||
|
||||
Reference in New Issue
Block a user