1.2K Star 8.2K Fork 2.2K

GVP轨迹 / J-IM

 / 详情

HTTP发送消息异常

Backlog
Opened this issue  
2020-10-21 10:54

2020-10-21 10:51:31,877 ERROR o.j.s.p.h.DefaultHttpRequestHandler[204]: java.lang.InstantiationException: org.jim.core.ImChannelContext
java.lang.InstantiationException: org.jim.core.ImChannelContext
at java.lang.Class.newInstance(Class.java:427)
at org.jim.server.protocol.http.DefaultHttpRequestHandler.handler(DefaultHttpRequestHandler.java:167)
at org.jim.server.protocol.http.HttpProtocolHandler.handler(HttpProtocolHandler.java:86)
at org.jim.server.handler.DefaultImServerHandler.handler(DefaultImServerHandler.java:36)
at org.jim.server.handler.ImServerHandlerAdapter.handler(ImServerHandlerAdapter.java:49)
at org.tio.core.task.HandlerRunnable.handler(HandlerRunnable.java:262)
at org.tio.core.task.DecodeRunnable.handler(DecodeRunnable.java:246)
at org.tio.core.task.DecodeRunnable.decode(DecodeRunnable.java:392)
at org.tio.core.ReadCompletionHandler.completed(ReadCompletionHandler.java:275)
at org.tio.core.ReadCompletionHandler.completed(ReadCompletionHandler.java:213)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker$2.run(Invoker.java:218)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodException: org.jim.core.ImChannelContext.()
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.newInstance(Class.java:412)
... 15 common frames omitted

Comments (1)

zhangpengyi created任务
zhangpengyi set related repository to 轨迹/J-IM
Expand operation logs

应该是少传了参数,我遇到了相同的问题,发现是少传了chatType

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
2328439 tizerdev 1578972020
Java
1
https://git.oschina.net/xchao/j-im.git
git@git.oschina.net:xchao/j-im.git
xchao
j-im
J-IM

Search