MinimServer Forum
Minimserver crashes - Printable Version

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



Minimserver crashes - KeesKemper - 25-04-2014 08:34

Minimserver crashes when I browse with BubbleUPnP.
See below the log file.


MinimServer 0.8.1 update 24, Copyright © 2012-2014 Simon Nash. All rights reserved.
Java™ SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot™ Client VM (build 24.0-b56, mixed mode)
Platform default charset is UTF-8
starting Minim.Raspberrypi
Minim.Raspberrypi is running
MinimServer: exception while processing action request: java.lang.NullPointerException
java.lang.NullPointerException
at com.minimserver.Server.xmlEscape(Server.java:4832)
at com.minimserver.Server.addArtistCreatorTags(Server.java:5208)
at com.minimserver.Server.access$10600(Server.java:90)
at com.minimserver.Server$TrackItem.getDIDL(Server.java:10349)
at com.minimserver.Server$Container.getContentsDIDL(Server.java:10692)
at com.minimserver.Server$ContentDirectoryProvider.doBrowse(Server.java:13849)
at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:13801)
at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.ac​tionInvoked(DvProviderUpnpOrgContentDirectory1.java:978)


RE: Minimserver crashes - simoncn - 25-04-2014 09:22

(25-04-2014 08:34)KeesKemper Wrote:  Minimserver crashes when I browse with BubbleUPnP.
See below the log file.


MinimServer 0.8.1 update 24, Copyright © 2012-2014 Simon Nash. All rights reserved.
Java™ SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot™ Client VM (build 24.0-b56, mixed mode)
Platform default charset is UTF-8
starting Minim.Raspberrypi
Minim.Raspberrypi is running
MinimServer: exception while processing action request: java.lang.NullPointerException
java.lang.NullPointerException
at com.minimserver.Server.xmlEscape(Server.java:4832)
at com.minimserver.Server.addArtistCreatorTags(Server.java:5208)
at com.minimserver.Server.access$10600(Server.java:90)
at com.minimserver.Server$TrackItem.getDIDL(Server.java:10349)
at com.minimserver.Server$Container.getContentsDIDL(Server.java:10692)
at com.minimserver.Server$ContentDirectoryProvider.doBrowse(Server.java:13849)
at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:13801)
at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.ac​tionInvoked(DvProviderUpnpOrgContentDirectory1.java:978)

Thank you for reporting this problem.

What value do you have for the tagFormat property?


RE: Minimserver crashes - KeesKemper - 25-04-2014 11:05

(25-04-2014 09:22)simoncn Wrote:  
(25-04-2014 08:34)KeesKemper Wrote:  Minimserver crashes when I browse with BubbleUPnP.
See below the log file.


MinimServer 0.8.1 update 24, Copyright © 2012-2014 Simon Nash. All rights reserved.
Java™ SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot™ Client VM (build 24.0-b56, mixed mode)
Platform default charset is UTF-8
starting Minim.Raspberrypi
Minim.Raspberrypi is running
MinimServer: exception while processing action request: java.lang.NullPointerException
java.lang.NullPointerException
at com.minimserver.Server.xmlEscape(Server.java:4832)
at com.minimserver.Server.addArtistCreatorTags(Server.java:5208)
at com.minimserver.Server.access$10600(Server.java:90)
at com.minimserver.Server$TrackItem.getDIDL(Server.java:10349)
at com.minimserver.Server$Container.getContentsDIDL(Server.java:10692)
at com.minimserver.Server$ContentDirectoryProvider.doBrowse(Server.java:13849)
at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:13801)
at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.ac​tionInvoked(DvProviderUpnpOrgContentDirectory1.java:978)

Thank you for reporting this problem.

What value do you have for the tagFormat property?

tagFormat: Title.displayFormat={$composition$opus$part},Artist.displayFormat={$ensemble^^; ^$conductor^^; ^, $performer^^; ^; }

This format is OK for minimserver running on Windows and on Ubuntu.


RE: Minimserver crashes - simoncn - 25-04-2014 12:51

(25-04-2014 11:05)KeesKemper Wrote:  tagFormat: Title.displayFormat={$composition$opus$part},Artist.displayFormat={$ensemble^^; ^$conductor^^; ^, $performer^^; ^; }

This format is OK for minimserver running on Windows and on Ubuntu.

I've found the problem. You will get this exception if you browse to a track with no Ensemble, Conductor or Performer tags. The fix will be in the next update.


RE: Minimserver crashes - KeesKemper - 25-04-2014 14:07

(25-04-2014 12:51)simoncn Wrote:  
(25-04-2014 11:05)KeesKemper Wrote:  tagFormat: Title.displayFormat={$composition$opus$part},Artist.displayFormat={$ensemble^^; ^$conductor^^; ^, $performer^^; ^; }

This format is OK for minimserver running on Windows and on Ubuntu.

I've found the problem. You will get this exception if you browse to a track with no Ensemble, Conductor or Performer tags. The fix will be in the next update.

Simon, thanks for the fast response. I'm looking forward to the upgrade Smile.


RE: Minimserver crashes - simoncn - 25-04-2014 14:32

(25-04-2014 14:07)KeesKemper Wrote:  Simon, thanks for the fast response. I'm looking forward to the upgrade Smile.

To clarify, if you have a track with no Ensemble, Conductor or Performer tags, the new version will show the artist as blank. If you don't want this to happen, you need to change either your tagFormat string or your tagging.


RE: Minimserver crashes - simoncn - 28-04-2014 17:25

(25-04-2014 14:07)KeesKemper Wrote:  Simon, thanks for the fast response. I'm looking forward to the upgrade Smile.

It's available now (update 25).