MinimServer Forum

Full Version: internet radio HTTPConnection: exception while processing HTTP request:
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hopefully can get some help here,
Below is the trace log, I have the latest java and windows 8 update, and I could play the radio directly on this PC. I also tried sample linn site with same error.

13:37:19.796 Thread-10: HTTPService: accepted incoming connection
13:37:19.798 Thread-10: HTTPService: waiting for incoming connection
13:37:19.798 Thread-9: HTTPService: received request, Socket[addr=/192.168.111.182,port=49472,localport=9790]
13:37:19.798 Thread-9: HTTPService: adding connection org.jminim.lib.HTTPConnection@1766bb96
13:37:19.799 Thread-91: HTTPConnection: writer thread waiting for request
13:37:19.799 Thread-92: HTTPConnection: reading HTTP request
13:37:19.799 Thread-92: GET /minimstreamer/*/FM HTTP/1.1
13:37:19.799 Thread-92: Host: 192.168.111.182:9790
13:37:19.799 Thread-92: HTTPConnection: reading HTTP request
13:37:19.799 Thread-91: HTTPConnection: writer thread processing request
13:37:19.799 Thread-91: Streamer: processing HTTP request
13:37:19.799 Thread-91: Streamer: releaseChains
13:37:19.799 Thread-91: Streamer: streamID is FM
13:37:19.799 Thread-91: Streamer: URL scheme is http
13:37:19.799 Thread-91: Streamer: request path is s1.stream.classical963fm.com/audio/classical963-cfmz.pls
13:37:19.799 Thread-91: Streamer: transcodeType is
13:37:19.799 Thread-91: ChainImpl: addSource org.jstreamer.core.ChainSource@dcaf6b8
13:37:19.799 Thread-91: ChainSource: init
13:37:19.799 Thread-91: ChainImpl: getting property .inputBufferSize
13:37:19.799 Thread-91: ChainImpl: property .inputBufferSize has null value
13:37:19.799 Thread-91: ChainImpl: getting property .inputBuffers
13:37:19.799 Thread-91: ChainImpl: property .inputBuffers has null value
13:37:19.799 Thread-91: ChainSource: inputBufferSize=5000 inputBuffers=2
13:37:19.799 Thread-91: BufferPool: init
13:37:19.799 Thread-91: ChainSource: source created
13:37:19.799 Thread-91: ChainImpl: getting property scfilter.link
13:37:19.799 Thread-91: ChainImpl: property scfilter.link has literal value 'source'
13:37:19.799 Thread-91: ChainImpl: getting property scfilter.mode
13:37:19.799 Thread-91: ChainImpl: property scfilter.mode has literal value 'out'
13:37:19.799 Thread-91: ChainImpl: addFilter org.jstreamer.core.ChainSource@dcaf6b8
13:37:19.799 Thread-91: LinkBase: adding output filter org.jstreamer.lib.ShoutcastFilter@9f563d9
13:37:19.799 Thread-91: created new root chain org.jstreamer.core.ChainImpl@4cf7fc83
13:37:19.799 Thread-91: ChainImpl: setting property .requestPath to 's1.stream.classical963fm.com/audio/classical963-cfmz.pls'
13:37:19.799 Thread-91: ChainImpl: setting property .requestMethod to 'GET'
13:37:19.799 Thread-91: ChainImpl: setting property .requestHeaders to 'null'
HTTPConnection: exception while processing HTTP request: java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at org.jstreamer.core.ChainImpl.setProperty(ChainImpl.java:555)
at com.minimstreamer.Streamer$NetworkRequestHandler.processRequest(Streamer.java:17​71)
at com.minimserver.Server$StreamerRequestHandler.processRequest(Server.java:17784)
at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​58)
at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:418)
13:37:21.801 Thread-92: HTTPConnection: end of input stream data
13:37:21.801 Thread-92: HTTPConnection: closing Socket[addr=/192.168.111.182,port=49472,localport=9790]
13:37:21.801 Thread-92: HTTPService: removing connection org.jminim.lib.HTTPConnection@1766bb96
(18-06-2015 18:41)2a3set Wrote: [ -> ]Hopefully can get some help here,
Below is the trace log, I have the latest java and windows 8 update, and I could play the radio directly on this PC. I also tried sample linn site with same error.

Thanks for reporting this problem.

You are getting this exception because there are no headers (except for Host) in the GET request and MinimStreamer is unable to handle this. This will be fixed in the next update to MinimStreamer.
(18-06-2015 18:59)simoncn Wrote: [ -> ]You are getting this exception because there are no headers (except for Host) in the GET request and MinimStreamer is unable to handle this. This will be fixed in the next update to MinimStreamer.

This problem is now fixed in MinimStreamer 0.5.13.
Reference URL's