Comment #1 on issue 117 by [email protected]: NPE when stopping playback
http://code.google.com/p/mediaserver/issues/detail?id=117

More information:

If I add this debug statement to PlayRecord.java, it prints NULL after the recorder.deactive();

  private void terminateRecordPhase() {
        if (recorder != null) {
            recorder.deactivate();

            logger.error("recorder state? (" + recorder +")");

            recorder.removeListener(recordingHandler);
            recorder=null;
        }

moving the recorder.removeListener(recordingHandler) above recorder.deactivate() either masks the problem or makes it go away.

--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to