Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exception on Melco after upgrade to 188 - fixed in update 189
13-03-2021, 18:29 (This post was last modified: 14-03-2021 22:11 by Peter@57m.)
Post: #1
Exception on Melco after upgrade to 188 - fixed in update 189
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.ac​tionInvoked(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.ac​tionInvoked(DvProviderUpnpOrgContentDirectory1.java:978)
Find all posts by this user
Quote this message in a reply
13-03-2021, 18:35 (This post was last modified: 13-03-2021 18:38 by Peter@57m.)
Post: #2
RE: Exception on Melco after upgrade to 188
Removed serverOptions indexArtwork=all and seems to be working OK

Re-applied and albums, items and playlists OK, exception when I select Artist index
Find all posts by this user
Quote this message in a reply
13-03-2021, 18:57
Post: #3
RE: Exception on Melco after upgrade to 188
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.
Find all posts by this user
Quote this message in a reply
13-03-2021, 19:09
Post: #4
RE: Exception on Melco after upgrade to 188
Here is the file


Attached File(s)
.zip  Log1.zip (Size: 3.04 KB / Downloads: 2)
Find all posts by this user
Quote this message in a reply
13-03-2021, 21:18 (This post was last modified: 13-03-2021 21:19 by Peter@57m.)
Post: #5
RE: Exception on Melco after upgrade to 188
Just FYI - I tried 188 on my QNAP and with indexArtist=and it too had an exception with the Artist index
Find all posts by this user
Quote this message in a reply
13-03-2021, 21:21 (This post was last modified: 13-03-2021 21:24 by simoncn.)
Post: #6
RE: Exception on Melco after upgrade to 188
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?
Find all posts by this user
Quote this message in a reply
13-03-2021, 21:37 (This post was last modified: 13-03-2021 22:18 by Peter@57m.)
Post: #7
RE: Exception on Melco after upgrade to 188
(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$q​uality$Custom2},title.displayFormat={$title$#AudioDuration$REPLAYGAIN_TRACK_GAIN​}
tagOptions = Custom4.yearMonth.index.sort,CREATION_DATE.decade.index,Date.yearOnly.*,all.igno​re.sort={The,THE,the}
tagUpdate = /mnt/disk1/share/tagUpdate.txt
Find all posts by this user
Quote this message in a reply
13-03-2021, 23:15 (This post was last modified: 13-03-2021 23:15 by simoncn.)
Post: #8
RE: Exception on Melco after upgrade to 188
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.
Find all posts by this user
Quote this message in a reply
14-03-2021, 07:46
Post: #9
RE: Exception on Melco after upgrade to 188
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.
Find all posts by this user
Quote this message in a reply
14-03-2021, 13:26
Post: #10
RE: Exception on Melco after upgrade to 188
(14-03-2021 07:46)Peter@57m Wrote:  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.

I have some same issues going on.
No all.ignore.sort setting in my case, maybe something else is also triggering the problem?

.txt  log MinimServer nuulpointer exeption trace.txt (Size: 8.29 KB / Downloads: 1)
.txt  log MinimSever nullpointer exeption.txt (Size: 3.97 KB / Downloads: 2)        
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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