Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error message
22-02-2016, 21:10
Post: #1
Error message
Bonjour Simon,

Got this message after starting MinimServer. Do I need to do anything? MinimServer works fine:

MinimServer[DiskStation] is running
HTTPConnection: exception while processing HTTP request: java.lang.NullPointerException
java.lang.NullPointerException
at com.minimstreamer.FLACResource.getNextFrame(FLACResource.java:284)
at com.minimstreamer.FLACResource.open(FLACResource.java:216)
at com.minimserver.ServerRequestHandler.processRequest(ServerRequestHandler.java:39​4)
at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​63)
at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:418)
Find all posts by this user
Quote this message in a reply
22-02-2016, 22:50
Post: #2
RE: Error message
Thanks for letting me know about this. This shouldn't be happening and I will investigate what might be causing it.
Find all posts by this user
Quote this message in a reply
04-04-2016, 11:23
Post: #3
RE: Error message
I believe I have a similar problem, Simon. Please move this if it isn't. Minimserver status page has an error in red: java.lang.NullPointerException and minimwatch is red. This happened after a firmware update on the QNAP where Minimserver resides. Minimwatch is on a Win10 machine. Restarting Minimserver has no remedy nor does setting resourceInfo to 3000. The error message is immediate on restart. Minimserver is down.

java.lang.NullPointerException
at com.minimstreamer.Streamer.checkPath(Streamer.java:293)
at com.minimstreamer.Streamer.configureConverter(Streamer.java:472)
at com.minimstreamer.Streamer.doTranscodeInit(Streamer.java:253)
at com.minimstreamer.Streamer.start(Streamer.java:146)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167)
at com.minimserver.Server.doStart(Server.java:794)
at com.minimserver.Server.start(Server.java:456)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1402)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1106)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:621)
at org.jminim.launch.Launcher.launch(Launcher.java:204)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:30)
MinimServer: resourceInfo setting is 3000
java.lang.NullPointerException
at com.minimstreamer.Streamer.checkPath(Streamer.java:293)
at com.minimstreamer.Streamer.configureConverter(Streamer.java:472)
at com.minimstreamer.Streamer.doTranscodeInit(Streamer.java:253)
at com.minimstreamer.Streamer.start(Streamer.java:146)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167)
at com.minimserver.Server.doStart(Server.java:794)
at com.minimserver.Server.start(Server.java:456)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1402)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1106)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:621)
at org.jminim.launch.Launcher.launch(Launcher.java:204)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:30)
Find all posts by this user
Quote this message in a reply
04-04-2016, 16:30
Post: #4
RE: Error message
(04-04-2016 11:23)mars51 Wrote:  I believe I have a similar problem, Simon. Please move this if it isn't. Minimserver status page has an error in red: java.lang.NullPointerException and minimwatch is red. This happened after a firmware update on the QNAP where Minimserver resides. Minimwatch is on a Win10 machine. Restarting Minimserver has no remedy nor does setting resourceInfo to 3000. The error message is immediate on restart. Minimserver is down.

This isn't exactly the same problem but I am happy to use this thread for discussion. Which firmware version did you install? I have just updated my TS119 to the 11 March 2016 version of QTS 4.2.0 and I am not seeing this error.

The problem is caused by a missing PATH environment variable in the MinimServer process. I will add a check for this in the next MinimStreamer update so that MinimServer/MinimStreamer doesn't crash. However, the PATH variable should not be missing and I suggest you contact QNAP about this.
Find all posts by this user
Quote this message in a reply
05-04-2016, 14:20
Post: #5
RE: Error message
Thanks Simon. The firmware is the same as yours, their 11 March update to 4.2.0 I have an old TS-412. I have had these update problems before, which is why I waited this time. I imagine if the PATH variable was present in your update, it should worked for me.
Is there anything I can do? Reinstall Java perhaps?
Find all posts by this user
Quote this message in a reply
05-04-2016, 14:58
Post: #6
RE: Error message
Installing Java does change the PATH, so it is posssible that this could be related. You could try uninstalling Java, then rebooting the NAS and reinstalling Java. After this, reboot the NAS again.

If this doesn't solve the problem, login to the NAS using SSH. Type the command 'set' and copy and paste the complete output from this command into a post here.
Find all posts by this user
Quote this message in a reply
07-04-2016, 04:10
Post: #7
RE: Error message
Pleased to report that worked, Simon. Uninstall JRE, reboot, install JRE, reboot. Minimserver now running normally.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)