Exception on Melco after upgrade to 188 - fixed in update 189 - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: Support (/forumdisplay.php?fid=4) +--- Thread: Exception on Melco after upgrade to 188 - fixed in update 189 (/showthread.php?tid=6106) Pages: 1 2 |
Exception on Melco after upgrade to 188 - fixed in update 189 - Peter@57m - 13-03-2021 18:29 Simon, Upgraded to 188 on my Melco and now getting exception as soon as I try to access the library after it restarts - see below: I have rebooted Melco but same result MinimServer Melco is running Startup complete MinimServer: exception while processing action request: java.lang.NullPointerException java.lang.NullPointerException at com.minimserver.Server$TagContainer.getAutoIndexArtwork(Server.java:22992) at com.minimserver.Server$Container.findIndexArtInfo(Server.java:22164) at com.minimserver.Server$Container.getCachedArtInfo(Server.java:22149) at com.minimserver.Server$Container.getIndexArtInfo(Server.java:22133) at com.minimserver.Server$TagContainer.appendContainerDIDL(Server.java:22980) at com.minimserver.Server$Container.getDIDL(Server.java:22105) at com.minimserver.Server$TagContainer.getDIDL(Server.java:22971) at com.minimserver.Server$Container.getContentsDIDL(Server.java:22120) at com.minimserver.Server$ContentDirectoryProvider.doBrowse(Server.java:26878) at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:26819) at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.actionInvoked(DvProviderUpnpOrgContentDirectory1.java:978) MinimServer: exception while processing action request: java.lang.NullPointerException java.lang.NullPointerException at com.minimserver.Server$TagContainer.getAutoIndexArtwork(Server.java:22992) at com.minimserver.Server$Container.findIndexArtInfo(Server.java:22164) at com.minimserver.Server$Container.getCachedArtInfo(Server.java:22149) at com.minimserver.Server$Container.getIndexArtInfo(Server.java:22133) at com.minimserver.Server$TagContainer.appendContainerDIDL(Server.java:22980) at com.minimserver.Server$Container.getDIDL(Server.java:22105) at com.minimserver.Server$TagContainer.getDIDL(Server.java:22971) at com.minimserver.Server$Container.getContentsDIDL(Server.java:22120) at com.minimserver.Server$ContentDirectoryProvider.doBrowse(Server.java:26878) at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:26819) at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.actionInvoked(DvProviderUpnpOrgContentDirectory1.java:978) RE: Exception on Melco after upgrade to 188 - Peter@57m - 13-03-2021 18:35 Removed serverOptions indexArtwork=all and seems to be working OK Re-applied and albums, items and playlists OK, exception when I select Artist index RE: Exception on Melco after upgrade to 188 - simoncn - 13-03-2021 18:57 Thanks for letting me know about this. There is something about your library that is different from all those I have used in my testing. I have looked at the code and I don't see anything obviously wrong. The quickest way for me to find the problem is from a debug log. Please set the logging level to Debug, then select the Artist index to trigger the exception. From the log window, click 'Save as' to save a log file, then compress this file to save space (zip or similar) and attach the file to a post here. Many thanks. RE: Exception on Melco after upgrade to 188 - Peter@57m - 13-03-2021 19:09 Here is the file RE: Exception on Melco after upgrade to 188 - Peter@57m - 13-03-2021 21:18 Just FYI - I tried 188 on my QNAP and with indexArtist=and it too had an exception with the Artist index RE: Exception on Melco after upgrade to 188 - simoncn - 13-03-2021 21:21 I have found what looks like the problem. Are you using indexFormat or any other setting that changes the Artist index value from what is in the Artist tag? RE: Exception on Melco after upgrade to 188 - Peter@57m - 13-03-2021 21:37 (13-03-2021 21:21)simoncn Wrote: I have found what looks like the problem. Are you using indexFormat or any other setting that changes the Artist index value from what is in the Artist tag? I have tagOptions all.ignore.sort={The,THE,the} tagFormat Artist.displayFormat={$artist$orchestra$conductor} nothing else I think that alters Artist also have album.displayFormat={$album$quality$Custom2} I have just tried indexArtwork=folder as I have 39 images in that folder - this works OK. I have 1347 albums in total, so its one of the others :-) “View” of profile itemTags = Composer,Conductor,Orchestra,#audioduration,quality,REPLAYGAIN_TRACK_GAIN listViewAlbums = 30 startupScan = false stream.transcode = flac:wav24,mp3:wav24,aac:wav24 tagFormat = Artist.displayFormat={$artist$orchestra$conductor},album.displayFormat={$album$quality$Custom2},title.displayFormat={$title$#AudioDuration$REPLAYGAIN_TRACK_GAIN} tagOptions = Custom4.yearMonth.index.sort,CREATION_DATE.decade.index,Date.yearOnly.*,all.ignore.sort={The,THE,the} tagUpdate = /mnt/disk1/share/tagUpdate.txt RE: Exception on Melco after upgrade to 188 - simoncn - 13-03-2021 23:15 Thanks for this. The all.ignore.sort setting would trigger the bug I have found. I will release a new update tomorrow with a fix. RE: Exception on Melco after upgrade to 188 - Peter@57m - 14-03-2021 07:46 Glad you found the issue. Look forward to the new version. I am pleased to say MinimServer is working fine but without the artwork placeholder tiles. RE: Exception on Melco after upgrade to 188 - Peter StreamMagic - 14-03-2021 13:26 (14-03-2021 07:46)Peter@57m Wrote: Glad you found the issue. Look forward to the new version. I have some same issues going on. No all.ignore.sort setting in my case, maybe something else is also triggering the problem? [attachment=2212][attachment=2213][attachment=2214][attachment=2215] |