MinimServer Forum

Full Version: Java error - MinimServer 0.8.5.2 update 125
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
After installing the update on my QNAP (Intel) I'm getting an error when MinimServer tries to start. I'll paste the log info below:

MinimServer 0.8.5.2 update 125, Copyright © 2012-2018 Simon Nash. All rights reserved.
MinimStreamer 0.7.7, Copyright © 2012-2018 Simon Nash. All rights reserved.
Java™ SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot™ 64-Bit Server VM (build 25.151-b12, mixed mode)
Java runtime options: -Duser.timezone=US/Central
Platform default charset is UTF-8
Language setting is 'auto'
Current time is Fri Oct 19 09:45:49 CDT 2018 in time zone US/Central
java.lang.NullPointerException
at com.minimserver.Server.doStart(Server.java:2268)
at com.minimserver.Server.start(Server.java:535)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:68)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:2030)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1266)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:144)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:128)
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:498)
at org.jminim.mlaunch.MinimLaunch.doLaunch(MinimLaunch.java:494)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:145)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:89)
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:498)
at org.jminim.launch.Launcher.launch(Launcher.java:88)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:34)
Please copy and paste the complete exact value of the tagOptions property into a post here.
Album.sortTags={Artist,Date,Album},all.ignore.sort={A,An,The,',.},date.yearOnly.​sort.index.display
I have the same problem with 0.8.5.3 update 125 on Synology. I looked at Album.sortTags and found a similar string:
... I, i, L', '}.
I removed ', ' and restarted Miminserver: Now everything is OK, no error, Miminserver is reachable. Thanks to Simon for your hint.

Andreas
(19-10-2018 18:36)Andi25 Wrote: [ -> ]I have the same problem with 0.8.5.3 update 125 on Synology. I looked at Album.sortTags and found a similar string:
... I, i, L', '}.
I removed ', ' and restarted Miminserver: Now everything is OK, no error, Miminserver is reachable. Thanks to Simon for your hint.

Andreas

Thanks Andreas. It doesn't like that single quote all of a sudden. Mine is running now too.
(19-10-2018 16:03)sflaor Wrote: [ -> ]Album.sortTags={Artist,Date,Album},all.ignore.sort={A,An,The,',.},date.yearOnly.​sort.index.display

The treatment of the ' and " characters in the ignore option has changed in update 125. If you want to ignore ' as a prefix, you need to enclose it in double-quote characters, like this:

{A,An,The,"'",.}
(19-10-2018 19:11)simoncn Wrote: [ -> ]
(19-10-2018 16:03)sflaor Wrote: [ -> ]Album.sortTags={Artist,Date,Album},all.ignore.sort={A,An,The,',.},date.yearOnly.​sort.index.display

The treatment of the ' and " characters in the ignore option has changed in update 125. If you want to ignore ' as a prefix, you need to enclose it in double-quote characters, like this:

{A,An,The,"'",.}

Thank you Simon, that's what I'll do.
If you use a single quote on its own, MinimServer should produce an error message instead of a NullPointerException. This will be fixed in the next update. Thanks for letting me know about this.
(20-10-2018 13:17)simoncn Wrote: [ -> ]If you use a single quote on its own, MinimServer should produce an error message instead of a NullPointerException. This will be fixed in the next update. Thanks for letting me know about this.

And for double quotes (")? If I do """, it still fails to start with the java error.
(20-10-2018 13:17)simoncn Wrote: [ -> ]If you use a single quote on its own, MinimServer should produce an error message instead of a NullPointerException. This will be fixed in the next update. Thanks for letting me know about this.

Simon, if I want to add double quote to the list, would it be """? Or would I want to wrap it in single quotes like '"'?
Pages: 1 2
Reference URL's