Author: solomax
Date: Tue Apr 24 04:14:44 2012
New Revision: 1329546

URL: http://svn.apache.org/viewvc?rev=1329546&view=rev
Log:
OPENMEETINGS-211 NPE is fixed

Modified:
    
incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/remote/FLVRecorderService.java

Modified: 
incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/remote/FLVRecorderService.java
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/remote/FLVRecorderService.java?rev=1329546&r1=1329545&r2=1329546&view=diff
==============================================================================
--- 
incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/remote/FLVRecorderService.java
 (original)
+++ 
incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/remote/FLVRecorderService.java
 Tue Apr 24 04:14:44 2012
@@ -321,6 +321,10 @@ public class FLVRecorderService implemen
                        ClientBroadcastStream stream = (ClientBroadcastStream) 
scopeApplicationAdapter
                                        .getBroadcastStream(conn.getScope(), 
broadcastid);
 
+                       if (stream == null) {
+                               log.debug("Unable to get stream: " + 
streamName);
+                               return;
+                       }
                        // Save the stream to disk.
                        if (isScreenData) {
                                


Reply via email to