[Android Apps and Games] lumpy211:
Problems with XBMC

Hello! I'm trying to get things working with my server before I drop some money but I can't get everything to communicate correctly. I have XBMC running on a PC at my home, and have enabled the upnp server. If I fire up the Android app and try to access the XBMC server directly, I have no problems. However, if I add the BubbleUPnP server (which is running on the same PC) and try to access XBMC through that, I start to have problems.

1) I can view all album/artist listings, but whenever I try to view individual tracks I sometimes get an error (on both my Galaxy Nexus and Nexus 7). "Browse error: Current state of service prevents invoking that action. No response received or internal proxy error."

In the log file, I have the following.

[qtp29488562-228 ] SEVERE - 19:52:40.113 - k : proxy stream request /stream/image/e5b4ebc9239ef51f173f4496a66d8ddf?w=500 => http://192.168.1.39:51753/%2525/B6A6CC7CD4D32EA159FE6357E08C6EEA%252F8935c3fb.tbn
[qtp29488562-250 ] WARNING - 19:52:58.564 - ServletHandler : /res/dev/0a63f47d-a753-249e-7af9-323a19bdd74d/svc/upnp-org/ContentDirectory/action/Browse
org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalArgumentException: Error parsing string: fanart
at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SourceFile:323)
at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SourceFile:199)
at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SourceFile:175)
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SourceFile:529)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SourceFile:491)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SourceFile:120)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(SourceFile:200)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(SourceFile:48)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(SourceFile:43)
at javax.servlet.http.HttpServlet.service(SourceFile:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(SourceFile:565)
at org.eclipse.jetty.servlet.ServletHandler$a.doFilter(SourceFile:1361)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(SourceFile:77)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(SourceFile:226)
at org.eclipse.jetty.servlet.ServletHandler$a.doFilter(SourceFile:1332)
at org.fourthline.cling.bridge.gateway.GatewayFilter.doFilter(SourceFile:99)
at org.eclipse.jetty.servlet.ServletHandler$a.doFilter(SourceFile:1332)
at com.bubblesoft.bubbleupnpserver.server.servlets.n.doFilter(SourceFile:35)
at org.eclipse.jetty.servlet.ServletHandler$a.doFilter(SourceFile:1332)
at com.bubblesoft.bubbleupnpserver.server.servlets.g.doFilter(SourceFile:41)
at org.eclipse.jetty.servlet.ServletHandler$a.doFilter(SourceFile:1332)
at com.bubblesoft.bubbleupnpserver.server.servlets.c.doFilter(SourceFile:34)
at org.eclipse.jetty.servlet.ServletHandler$a.doFilter(SourceFile:1332)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(SourceFile:477)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(SourceFile:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SourceFile:542)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(SourceFile:1033)
at org.eclipse.jetty.servlet.ServletHandler.doScope(SourceFile:406)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(SourceFile:965)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(SourceFile:117)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(SourceFile:149)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(SourceFile:111)
at org.eclipse.jetty.server.Server.handle(SourceFile:348)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(SourceFile:452)
at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(SourceFile:47)
at org.eclipse.jetty.server.AbstractHttpConnection.content(SourceFile:894)
at org.eclipse.jetty.server.AbstractHttpConnection$a.content(SourceFile:948)
at org.eclipse.jetty.http.HttpParser.parseNext(SourceFile:851)
at org.eclipse.jetty.http.HttpParser.parseAvailable(SourceFile:235)
at org.eclipse.jetty.server.BlockingHttpConnection.handle(SourceFile:66)
at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SourceFile:254)
at org.eclipse.jetty.server.ssl.SslSocketConnector$SslConnectorEndPoint.run(SourceFile:665)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(SourceFile:603)
at org.eclipse.jetty.util.thread.c.run(SourceFile:538)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.IllegalArgumentException: Error parsing string: fanart
at org.seamless.util.MimeType.valueOf(SourceFile:118)
at org.fourthline.cling.support.model.ProtocolInfo.getContentFormatMimeType(SourceFile:75)
at com.bubblesoft.bubbleupnpserver.server.u.postExecute(SourceFile:145)
at org.fourthline.cling.controlpoint.ActionCallback.run(SourceFile:169)
at org.fourthline.cling.bridge.gateway.ActionResource.executeInvocation(SourceFile:111)
at org.fourthline.cling.bridge.gateway.ActionResource.executeAction(SourceFile:69)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(SourceFile:140)
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(SourceFile:252)
at org.jboss.resteasy.core.ResourceMethod.invoke(SourceFile:217)
at org.jboss.resteasy.core.ResourceMethod.invoke(SourceFile:206)
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SourceFile:514)
... 41 more

It doesn't happen for all tracks, and I can't figure out why it works for some but not others.

2) Similar for video files - I can browse TV shows (e.g. Video Library-> TV shows-> Title-> Eureka), but any time I tap a season to see the individual episodes, I get the same error message. Unlike for audio files, this happens every time.

It seems like somewhere along the line the BubbleUPnP server is causing issues. Or am I being dumb and missing something obvious? :D