Page 1 of 1

Serviio 1.10.1 bug/or i'm missing something?

PostPosted: Sun Dec 23, 2018 1:05 pm
by loganj01
I've recently reinstalled my linuxmint. and of course with that came the new java version and new serviio version.

but it seems that the new version has some issues with my tv (samsung J series).
i get this errors:
  Code:
Exception in thread "Thread-94" java.lang.NullPointerException
   at org.serviio.upnp.protocol.soap.SOAPMessageParser.parseSOAPMessage(SOAPMessageParser.java:48)
   at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:70)
   at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.java:65)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:66)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:423)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:78)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:341)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:204)
Exception in thread "Thread-96" java.lang.NullPointerException
   at org.serviio.upnp.protocol.soap.SOAPMessageParser.parseSOAPMessage(SOAPMessageParser.java:48)
   at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:70)
   at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.java:65)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:66)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:423)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:78)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:341)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:204)

whenever tv tries to connect to serviio. and of course tv show empty space in serviio dlna.

I had no problem with serviio 1.10 about showing the content. well i had issues with playing them but still...much better than this
I also chose some sharp profile thinking that is something wrong with samsung profile. but still same error

i'll try phone to see if it gave same error

my java version is:
  Code:
$ java --version
java 11.0.1 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)



EDIT: yeap same errors with my phone. trying to connect kodi app to serviio and serviio will show same errror over and over again

Re: Serviio 1.10.1 bug/or i'm missing something?

PostPosted: Sat Dec 29, 2018 2:46 pm
by Fr33dan
I'm not sure this belongs in the Samsung category. I just updated to 1.10.1 and am now having the same error but on all devices. This includes several Roku's, VLC on Windows 10, and BubbleUPNP on multiple phones. The mediabrowser seems to be working fine. I am running the server on Ubuntu 18.04 with Java 10. I was slow on to get around to updating so I went straight from 1.9.2 to 1.10.1 if that matters. This error only shows up on the command line and thus can only be seen if I run it from the terminal (I'm sure there some way to see the output of scripts started at boot but I don't know how). I enabled debug level logging but didn't see anything that seems to indicate what the error could be. Here is a snippet from the log where I try to connect from VLC:

  Code:
2018-12-29 09:40:19,578 DEBUG [ServiioHttpService] Incoming request from /192.168.11.2:63936: POST /serviceControl HTTP/1.1, headers = [HOST: 192.168.11.10:8895,CONTENT-LENGTH: 440,CONTENT-TYPE: text/xml; charset="utf-8",SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse",USER-AGENT: 6.2.9200 2/, UPnP/1.0, Portable SDK for UPnP devices/1.6.19]]
2018-12-29 09:40:19,579 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.11.2
2018-12-29 09:40:19,579 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.11.2
2018-12-29 09:40:19,580 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.11.2
2018-12-29 09:40:19,580 DEBUG [ProfileManager] Cannot find stored renderer, using Generic
2018-12-29 09:40:19,580 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.11.2
2018-12-29 09:40:20,343 DEBUG [MediaItemDAOImpl] Getting counts of media items by type
2018-12-29 09:40:25,343 DEBUG [MediaItemDAOImpl] Getting counts of media items by type
2018-12-29 09:40:30,343 DEBUG [MediaItemDAOImpl] Getting counts of media items by type
2018-12-29 09:40:35,343 DEBUG [MediaItemDAOImpl] Getting counts of media items by type
2018-12-29 09:40:35,888 DEBUG [SearchManager] Committing search index
2018-12-29 09:40:40,342 DEBUG [MediaItemDAOImpl] Getting counts of media items by type


Before I made this attempt I cleared out the renderer options in the console just in case that was causing issues.

Re: Serviio 1.10.1 bug/or i'm missing something?

PostPosted: Sun Dec 30, 2018 9:33 am
by loganj01
well my error is definitely not samsung related.
but i discover after i posted here

Re: Serviio 1.10.1 bug/or i'm missing something?

PostPosted: Sun Dec 30, 2018 6:03 pm
by jk50
I believe your problems are caused by java 10 and 11, switch to java 8

Re: Serviio 1.10.1 bug/or i'm missing something?

PostPosted: Mon Dec 31, 2018 1:14 pm
by loganj01
jk50 wrote:I believe your problems are caused by java 10 and 11, switch to java 8

the 1.10.1 is suppose to work with java 11.

Re: Serviio 1.10.1 bug/or i'm missing something?

PostPosted: Mon Dec 31, 2018 6:56 pm
by atc98092
loganj01 wrote:
jk50 wrote:I believe your problems are caused by java 10 and 11, switch to java 8

the 1.10.1 is suppose to work with java 11.


It was thought to be fixed, but someone else has also reported an issue with it.

Re: Serviio 1.10.1 bug/or i'm missing something?

PostPosted: Tue Jan 01, 2019 12:35 am
by Fr33dan
Yep switching back to Java 8 fixed the problem for me.