hoangduit / openmeetings

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

Silent Exception when leaving a Recorder-Session #405

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
if Leaving a Recorder Session there is an Exception for the Second user.

To Reproduce:
User A enters a Room.
User A starts to Record (choose name and starts recording)
User B enters a Room (choose device and stay some seconds)
User B leaves the Room

Result:
No problems, also the Recorded Files seem to be OK.
But there is a NullPointer Exception when leaving the Room.
Maybe this is connected to the Fact that the stream was already
removed/stopped by the Client, sothat Red5-API cannot find any Stream
anymore by that name.

ERROR 04-14 17:14:24.488  ? 332423 ? org.xmlcrm.app.remote.StreamService
[pool-3-thread-2] - [stopRecordingShowForClient]
java.lang.NullPointerException
    at
org.red5.server.adapter.ApplicationAdapter.getBroadcastStream(ApplicationAdapter
.java:778)
    at org.xmlcrm.app.remote.StreamService.stopRecordingShow(Unknown Source)
    at org.xmlcrm.app.remote.StreamService.stopRecordingShowForClient(Unknown
Source)
    at org.xmlcrm.app.remote.Application.logicalRoomLeave(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:217)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:123)
    at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:163)
    at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:431)
    at
org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:14
3)
    at
org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.jav
a:120)
    at
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(
AbstractIoFilterChain.java:570)
    at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Abs
tractIoFilterChain.java:299)
    at
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilte
rChain.java:53)
    at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived
(AbstractIoFilterChain.java:648)
    at
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:
220)
    at
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Executo
rFilter.java:264)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:6
50)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:613)

Original issue reported on code.google.com by seba.wag...@gmail.com on 14 Apr 2008 at 3:19

GoogleCodeExporter commented 9 years ago
this should be tested against red5-0.7.1

Original comment by seba.wag...@gmail.com on 14 Apr 2008 at 3:20

GoogleCodeExporter commented 9 years ago
Outdated

Original comment by seba.wag...@gmail.com on 21 Jan 2010 at 1:59