Yulian, I've been running some tests with the 4.x version and had the following error appear:
11:23:57,546 ERROR [Task] java.lang.NullPointerException
I added a stack trace to the code base and this is what caused the NPE:
11:23:57,546 ERROR [Task] java.lang.NullPointerException
java.lang.NullPointerException
at ua.mobius.media.server.concurrent.ConcurrentCyclicFIFO.offer(ConcurrentCyclicFIFO.java:126)
at ua.mobius.media.server.component.audio.AudioInput.onMediaTransfer(AudioInput.java:108)
at ua.mobius.media.server.impl.AbstractAudioSink.perform(AbstractAudioSink.java:77)
at ua.mobius.media.server.impl.AbstractAudioSource$Worker.perform(AbstractAudioSource.java:288)
at ua.mobius.media.server.scheduler.Task.run(Task.java:127)
at ua.mobius.media.server.scheduler.Scheduler$WorkerThread.run(Scheduler.java:425)
I've included a console log file from MMS.
It would seem like 2 threads need to be accessing the same object(and effecting activeFrame), one calling AudioInput.recycle() and at the same time one calling AudioInput.onMediaTransfer() for this to NPE:
AudioInput.java:108: buffer.offer(activeFrame);
Any thoughts on this error?
--Sean