FAQ  •  Register  •  Login

Unable to open Online content directory after sometime

<<

xs2inattar

DLNA master

Posts: 143

Joined: Sun Jun 24, 2012 5:49 pm

Post Tue Aug 21, 2012 5:42 pm

Unable to open Online content directory after sometime

For an online web-resource, the online content directory si working fine but after a couple of minutes I am unable to open that particular online content direcotry.

Following exception is in the logs.

  Code:
2012-08-21 13:34:36,805 WARN  [ContentDirectory] Browse for object id V_OF^FOL_FD132 failed with exception: null
java.lang.NullPointerException
   at org.serviio.upnp.service.contentdirectory.ContentDirectory.setupSuccessfulResult(ContentDirectory.java:335)
   at org.serviio.upnp.service.contentdirectory.ContentDirectory.Browse(ContentDirectory.java:153)
   at sun.reflect.GeneratedMethodAccessor647.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeOperation(ServiceInvoker.java:253)
   at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:93)
   at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.java:66)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:191)
2012-08-21 13:34:42,438 ERROR [ContainerNode] Cannot retrieve results of action command: Cannot execute library command for list: null
org.serviio.upnp.service.contentdirectory.command.CommandExecutionException: Cannot execute library command for list: null
   at org.serviio.upnp.service.contentdirectory.command.AbstractCommand.retrieveItemList(AbstractCommand.java:135)
   at org.serviio.upnp.service.contentdirectory.definition.ContainerNode.executeListAction(ContainerNode.java:242)
   at org.serviio.upnp.service.contentdirectory.definition.ActionNode.retrieveContainerItems(ActionNode.java:131)
   at org.serviio.upnp.service.contentdirectory.ContentDirectoryEngine.browse(ContentDirectoryEngine.java:102)
   at org.serviio.upnp.service.contentdirectory.ContentDirectory.Browse(ContentDirectory.java:152)
   at sun.reflect.GeneratedMethodAccessor647.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeOperation(ServiceInvoker.java:253)
   at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:93)
   at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.java:66)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:191)
Caused by: java.lang.NullPointerException
   at org.serviio.external.FFMPEGWrapper.getTargetVideoDimensions(FFMPEGWrapper.java:584)
   at org.serviio.delivery.resource.VideoDeliveryEngine.retrieveTranscodedMediaInfo(VideoDeliveryEngine.java:106)
   at org.serviio.delivery.resource.VideoDeliveryEngine.retrieveTranscodedMediaInfo(VideoDeliveryEngine.java:45)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.getMediaInfoForProfile(AbstractDeliveryEngine.java:81)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.getMediaInfoForAvailableProfiles(MediaResourceRetrievalStrategy.java:74)
   at org.serviio.upnp.service.contentdirectory.command.ResourceValuesBuilder.buildResources(ResourceValuesBuilder.java:58)
   at org.serviio.upnp.service.contentdirectory.command.AbstractListOnlineObjectsByHierarchyCommand.retrieveList(AbstractListOnlineObjectsByHierarchyCommand.java:126)
   at org.serviio.upnp.service.contentdirectory.command.AbstractCommand.retrieveItemList(AbstractCommand.java:129)
   ... 15 more




Detailed log file is also attached.
Attachments
serviio-debug-log-08212012.txt
Detialed log
(469.93 KiB) Downloaded 539 times
<<

xs2inattar

DLNA master

Posts: 143

Joined: Sun Jun 24, 2012 5:49 pm

Post Thu Aug 23, 2012 2:25 am

Re: Unable to open Online content directory after sometime

Petr, can you please take a look at the logs when you some time.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Aug 27, 2012 10:21 pm

Re: Unable to open Online content directory after sometime

will do, looks like a bug
<<

mbat11

Serviio newbie

Posts: 6

Joined: Fri May 18, 2012 8:54 pm

Post Sun Nov 04, 2012 1:53 pm

Re: Unable to open Online content directory after sometime

hi,
I think I've just experienced a similar problem.
I've added an RTP source, when I do the check it says it is ok,
but when I try to see it on the TV (Samsung D) I cannot see it and the following error is logged:

  Code:
2012-11-04 14:44:40,203 ERROR [ContainerNode] Cannot retrieve results of action command: Cannot execute library command for list: null
org.serviio.upnp.service.contentdirectory.command.CommandExecutionException: Cannot execute library command for list: null
   at org.serviio.upnp.service.contentdirectory.command.AbstractCommand.retrieveItemList(AbstractCommand.java:135)
   at org.serviio.upnp.service.contentdirectory.definition.ContainerNode.executeListAction(ContainerNode.java:242)
   at org.serviio.upnp.service.contentdirectory.definition.ContainerNode.findContainerItems(ContainerNode.java:182)
   at org.serviio.upnp.service.contentdirectory.definition.ContainerNode.retrieveContainerItems(ContainerNode.java:83)
   at org.serviio.upnp.service.contentdirectory.ContentDirectoryEngine.browse(ContentDirectoryEngine.java:102)
   at org.serviio.upnp.service.contentdirectory.ContentDirectory.Browse(ContentDirectory.java:152)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeOperation(ServiceInvoker.java:253)
   at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:93)
   at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.java:66)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:191)
Caused by: java.lang.NullPointerException
   at org.serviio.external.FFMPEGWrapper.getTargetVideoDimensions(FFMPEGWrapper.java:584)
   at org.serviio.delivery.resource.VideoDeliveryEngine.retrieveTranscodedMediaInfo(VideoDeliveryEngine.java:106)
   at org.serviio.delivery.resource.VideoDeliveryEngine.retrieveTranscodedMediaInfo(VideoDeliveryEngine.java:45)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.getMediaInfoForProfile(AbstractDeliveryEngine.java:81)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.getMediaInfoForAvailableProfiles(MediaResourceRetrievalStrategy.java:74)
   at org.serviio.upnp.service.contentdirectory.command.ResourceValuesBuilder.buildResources(ResourceValuesBuilder.java:58)
   at org.serviio.upnp.service.contentdirectory.command.AbstractListOnlineObjectsByHierarchyCommand.retrieveList(AbstractListOnlineObjectsByHierarchyCommand.java:126)
   at org.serviio.upnp.service.contentdirectory.command.AbstractCommand.retrieveItemList(AbstractCommand.java:129)
   ... 17 more


VLC plays the stream correctly.
Hope this could help.
Max.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Nov 07, 2012 5:43 pm

Re: Unable to open Online content directory after sometime

can you post ffmpeg -i for the stream?

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 37 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.