MinimServer Forum
MinimServer 0.70 issue? - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: MinimServer 0.70 issue? (/showthread.php?tid=548)



MinimServer 0.70 issue? - ReneZ - 09-04-2013 07:58

Hi Simon. Installed the 0.70 version and tried to start it up. Got the following:

rene@Compaq-6910p:~$ cd /home/rene/Software/MinimServer/minimserver-0.70/data
rene@Compaq-6910p:~/Software/MinimServer/minimserver-0.70/data$ java -jar ../lib/minimserver.jar --quiet --nohup &
[1] 3727
rene@Compaq-6910p:~/Software/MinimServer/minimserver-0.70/data$ ~-~
MinimServer 0.70, Copyright © 2012, 2013 Simon Nash. All rights reserved.
starting MinimServer
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:658)
at com.minimserver.Server.parseTagOptions(Server.java:2028)
at com.minimserver.Server.doStart(Server.java:1203)
at com.minimserver.Server.start(Server.java:375)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:156)
at org.jminim.core.ContextImpl.start(ContextImpl.java:84)
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:36)
at org.jminim.core.ContextImpl.start(ContextImpl.java:84)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:398)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:681)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jminim.launch.Launcher.launch(Launcher.java:64)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:23)

Any advice? Do I need to upgrade/change Java?

java version "1.7.0_17"
Java™ SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot™ Server VM (build 23.7-b01, mixed mode)

MinimWatch stays red and gives "String index out of range: 0"

Thanks, Rene.


RE: MinimServer 0.70 issue? - simoncn - 09-04-2013 09:36

(09-04-2013 07:58)ReneZ Wrote:  Hi Simon. Installed the 0.70 version and tried to start it up. Got the following:

rene@Compaq-6910p:~$ cd /home/rene/Software/MinimServer/minimserver-0.70/data
rene@Compaq-6910p:~/Software/MinimServer/minimserver-0.70/data$ java -jar ../lib/minimserver.jar --quiet --nohup &
[1] 3727
rene@Compaq-6910p:~/Software/MinimServer/minimserver-0.70/data$ ~-~
MinimServer 0.70, Copyright © 2012, 2013 Simon Nash. All rights reserved.
starting MinimServer
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
......

Any advice? Do I need to upgrade/change Java?

java version "1.7.0_17"
Java™ SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot™ Server VM (build 23.7-b01, mixed mode)

MinimWatch stays red and gives "String index out of range: 0"

Thanks, Rene.

From the red icon, select 'Properties'. What value is in the tagOptions field?


RE: MinimServer 0.70 issue? - ReneZ - 09-04-2013 15:08

Hi Simon,

TagOptions; all.sortValue.ignoreThe, -Album.sortValue.ignoreThe,, Album.sortTags={Album, Artist}

I had a look at the line and noted the double comma. Now removed and it is working! Good one!!

Cheers, Rene


RE: MinimServer 0.70 issue? - simoncn - 09-04-2013 16:11

(09-04-2013 15:08)ReneZ Wrote:  Hi Simon,

TagOptions; all.sortValue.ignoreThe, -Album.sortValue.ignoreThe,, Album.sortTags={Album, Artist}

I had a look at the line and noted the double comma. Now removed and it is working! Good one!!

Cheers, Rene

There are a couple of problems here:

1) MinimServer shouldn't have created a double comma when it migrated your previous config file to the new format

2) MinimServer shouldn't throw an exception when it finds a double comma

I'll fix both of these in the next release.