Post Reply 
selecting 'Hide Contents' may crash MinimServer
08-08-2012, 21:25
Post: #1
selecting 'Hide Contents' may crash MinimServer
Hi Simon,

i use BubbleUPnP as control point. I figured out that the following procedure crashes MinimServer:

1) select [folder view] from the top level
2) select any folder 'dummy'
3) select '>> Tag View'

Now, there is '>> Hide Contents' and 'dummy' available

4) select 'dummy'

cirtical: BubbleUPnP (and i guess other control points do this, too) cashes the contents of 'dummy'

5) go one step back and select '>> Hide Contents'

6) go one step back, '>> Hide Contents' and 'dummy' will appear again

7) select 'dummy' -> the cashed content will appear in the control point

8) select 'x items'

Now, MinimServer crashes with the following exception:
Code:
MinimServer: exception while processing action request: java.lang.NullPointerException
java.lang.NullPointerException
    at com.minimserver.Server.itemListSize(Server.java:3414)
    at com.minimserver.Server.access$15800(Server.java:77)
    at com.minimserver.Server$TagContainer.childContainer(Server.java:9019)
    at com.minimserver.Server.getContainer(Server.java:3335)
    at com.minimserver.Server.populateContainer(Server.java:3369)
    at com.minimserver.Server.access$17800(Server.java:77)
    at com.minimserver.Server$ContentDirectoryProvider.doBrowse(Server.java:10721)
    at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:10681)
    at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.ac​tionInvoked(DvProviderUpnpOrgContentDirectory1.java:978)

Instead of choosing 'x items' in step 8, choosing e.g. 'Artist', the log will show

Code:
MinimServer: 0$folders$0$tagview$tags.0$Artist isn't a valid container

which is expected behaviour i guess.

@bubbleguuum: if you read this -> maybe it would be a good idea to entirely hide the '>> Hide Contents' folders in the browsing trees of your control points.

cheers, winxi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
selecting 'Hide Contents' may crash MinimServer - winxi - 08-08-2012 21:25

Forum Jump:


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