tayfundogdas / red5phone

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

org.red5.server.stream.ProviderService - File was null or did not exist #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
red5(svn),i changed the appPath(SipUser.java),because in linux not found 
the folder "wrapper",so i deleted "appPath = appPath.substring(0, 
(appPath.length() - 8));"
i compile the red5phone,when using flex phone to call xxx,red5 error:

[INFO] [pool-4-thread-16] org.red5.server.stream.ProviderService - 
getVODProviderFile scope path:  name: speaker_1216779240074
[WARN] [pool-4-thread-16] org.red5.server.stream.ProviderService - File 
was null or did not exist: speaker_1216779240074
[INFO] [pool-4-thread-16] org.red5.server.stream.ProviderService - 
getVODProviderFile scope path:  name: speaker_1216779240074
[WARN] [pool-4-thread-16] org.red5.server.stream.ProviderService - File 
was null or did not exist: speaker_1216779240074
[ERROR] [pool-4-thread-16] org.red5.server.service.ServiceInvoker - Error 
executing call: Service: null Method: play Num Params: 30: 
speaker_12167792400741: -20002: -1000
[ERROR] [pool-4-thread-16] org.red5.server.service.ServiceInvoker - 
Service invocation error
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.red5.server.service.ServiceInvoker.invoke
(ServiceInvoker.java:201)
        at org.red5.server.net.rtmp.RTMPHandler.invokeCall
(RTMPHandler.java:179)
        at org.red5.server.net.rtmp.RTMPHandler.onInvoke
(RTMPHandler.java:389)
        at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived
(BaseRTMPHandler.java:143)
        at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived
(RTMPMinaIoHandler.java:126)
        at 
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageRece
ived(AbstractIoFilterChain.java:570)
        at 
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceive
d(AbstractIoFilterChain.java:299)
        at org.apache.mina.common.support.AbstractIoFilterChain.access$1100
(AbstractIoFilterChain.java:53)
        at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageRec
eived(AbstractIoFilterChain.java:648)
        at org.apache.mina.filter.executor.ExecutorFilter.processEvent
(ExecutorFilter.java:220)
        at 
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run
(ExecutorFilter.java:264)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at org.red5.server.stream.PlayEngine.play(PlayEngine.java:401)
        at org.red5.server.stream.PlayEngine.play(PlayEngine.java:276)
        at org.red5.server.stream.PlaylistSubscriberStream.play
(PlaylistSubscriberStream.java:247)
        at org.red5.server.stream.StreamService.play
(StreamService.java:297)
        at org.red5.server.stream.StreamService.play
(StreamService.java:309)
        ... 18 common frames omitted

Any ideas?

Original issue reported on code.google.com by yanglei0...@163.com on 23 Jul 2008 at 2:27

GoogleCodeExporter commented 9 years ago
I got the same message when the call is established (called party picks up):
(there is no ringback tone either, but there's no console output about that)

RTMPUser startStream
[INFO] [pool-4-thread-14] org.red5.server.jmx.JMXFactory - Object name:
org.red5.server:type=Client,id=1
[INFO] [pool-4-thread-14] org.red5.server.jmx.JMXFactory - Object name:
org.red5.server:type=RTMPMinaConnection,connectionType=persistent,host=localhost
,port=1935,clientId=1
[INFO] [pool-4-thread-16] org.red5.server.stream.ProviderService - 
getVODProviderFile
scope path:  name: speaker_1217345906426
[WARN] [pool-4-thread-16] org.red5.server.stream.ProviderService - File was 
null or
did not exist: speaker_1217345906426
[INFO] [pool-4-thread-16] org.red5.server.stream.ProviderService - 
getVODProviderFile
scope path:  name: speaker_1217345906426
[WARN] [pool-4-thread-16] org.red5.server.stream.ProviderService - File was 
null or
did not exist: speaker_1217345906426
[ERROR] [pool-4-thread-16] org.red5.server.service.ServiceInvoker - Error 
executing
call: Service: null Method: play Num Params: 30: speaker_12173459064261: 
-20002: -1000
[ERROR] [pool-4-thread-16] org.red5.server.service.ServiceInvoker - Service
invocation error
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:201)
    at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:179)
    at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:389)
    at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:143)
    at
org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.jav
a:126)
    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:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
    at org.red5.server.stream.PlayEngine.play(PlayEngine.java:401)
    at org.red5.server.stream.PlayEngine.play(PlayEngine.java:276)
    at
org.red5.server.stream.PlaylistSubscriberStream.play(PlaylistSubscriberStream.ja
va:247)
    at org.red5.server.stream.StreamService.play(StreamService.java:297)
    at org.red5.server.stream.StreamService.play(StreamService.java:309)
    ... 18 common frames omitted
[INFO] [pool-4-thread-11] org.red5.server.stream.ProviderService - 
getVODProviderFile
scope path:  name: microphone_1217345906426
[WARN] [pool-4-thread-11] org.red5.server.stream.ProviderService - File was 
null or
did not exist: microphone_1217345906426
RTMPUser stopStream

Original comment by szoc...@gmail.com on 29 Jul 2008 at 3:46

GoogleCodeExporter commented 9 years ago
I have the same problem

Any help will be appreciated!

Cheers 

Original comment by vankat...@gmail.com on 2 Sep 2009 at 12:21