Red5执行调用时出错:Service:null方法:closeStream Num Params:0

时间:2015-07-08 11:06:04

标签: java red5

我在使用Windows 2008 R2服务器的Red5 1.0.5上遇到了以下几个错误。

我尝试在服务器应用程序中放置一个closeStream函数,但似乎没有帮助。

2015-07-07 21:08:10,458 [RTMPConnectionExecutor#DCFPLXM1YIXYJ-1] ERROR o.r.server.service.ServiceInvoker - Error executing call: Service: null Method: closeStream Num Params: 0
java.lang.reflect.InvocationTargetException: null
    at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) ~[na:na]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_45]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_45]
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:193) ~[red5-server-common-1.0.5-RELEASE.jar:na]
    at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:210) [red5-server-common-1.0.5-RELEASE.jar:1.0.5-RELEASE]
    at org.red5.server.net.rtmp.RTMPHandler.onCommand(RTMPHandler.java:269) [red5-server-common-1.0.5-RELEASE.jar:1.0.5-RELEASE]
    at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:105) [red5-server-common-1.0.5-RELEASE.jar:1.0.5-RELEASE]
    at org.red5.server.net.rtmp.ReceivedMessageTask.call(ReceivedMessageTask.java:57) [red5-server-common-1.0.5-RELEASE.jar:1.0.5-RELEASE]
    at org.red5.server.net.rtmp.ReceivedMessageTask.call(ReceivedMessageTask.java:11) [red5-server-common-1.0.5-RELEASE.jar:1.0.5-RELEASE]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_45]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_45]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_45]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_45]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
Caused by: java.util.ConcurrentModificationException: null
    at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) ~[na:1.8.0_45]
    at java.util.HashMap$KeyIterator.next(HashMap.java:1453) ~[na:1.8.0_45]
    at org.red5.server.stream.PlaylistSubscriberStream.close(PlaylistSubscriberStream.java:289) ~[red5-server-common-1.0.5-RELEASE.jar:1.0.5-RELEASE]
    at org.red5.server.stream.StreamService.closeStream(StreamService.java:156) ~[red5-server-common-1.0.5-RELEASE.jar:1.0.5-RELEASE]
    at org.red5.server.stream.StreamService.closeStream(StreamService.java:112) ~[red5-server-common-1.0.5-RELEASE.jar:1.0.5-RELEASE]
    ... 15 common frames omitted

我需要做些什么才能解决此错误?

由于

1 个答案:

答案 0 :(得分:0)

这是/是服务器公共库中的错误;现在使用此提交修复了它:https://github.com/Red5/red5-server-common/commit/c090111aada85abbc922c4931d25f5083b81c97c