View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010244 | MMA | UPnP / Casting | public | 2012-12-18 10:13 | 2013-01-14 02:18 |
Reporter | martin | Assigned To | |||
Priority | urgent | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.1 | ||||
Fixed in Version | 1.0.1 | ||||
Summary | 0010244: RouterLockAcquisitionException | ||||
Description | Crash log b01fc6da-6e9a-45f4-8ebf-a7a7eda94050 | ||||
Steps To Reproduce | 1)go to Upnp node 2)press back button | ||||
Additional Information | I found that it was caused by 1070 revision. There was only changes about stream client creation. This code is working well: @SuppressWarnings("rawtypes") @Override public StreamClient createStreamClient() { StreamClientConfigurationImpl clientConfiguration = new StreamClientConfigurationImpl(); clientConfiguration.setConnectionTimeoutSeconds(Config.Upnp.Query.HTTP_CONNECTION_TIMEOUT); clientConfiguration.setDataReadTimeoutSeconds(Config.Upnp.Query.HTTP_DATAREADOUT_TIMEOUT); return new StreamClientImpl(clientConfiguration) { @Override public StreamClientConfigurationImpl getConfiguration() { return new StreamClientConfigurationImpl() { @Override public String getUserAgentValue(int majorVersion, int minorVersion) { // return new ServerClientTokens(majorVersion, // minorVersion).toString(); return String.format("%s/%s UPnP/%d.%d %s/%s", Config.Upnp.Service.TOKEN_NAME, Config.Upnp.Service.TOKEN_VERSION, majorVersion, minorVersion, Constants.PRODUCT_TOKEN_NAME, Constants.PRODUCT_TOKEN_VERSION); } }; } }; } But this code is causing problem: @SuppressWarnings("rawtypes") @Override public StreamClient createStreamClient() { StreamClientConfigurationImpl clientConfiguration = new StreamClientConfigurationImpl() { @Override public String getUserAgentValue(int majorVersion, int minorVersion) { // return new ServerClientTokens(majorVersion, // minorVersion).toString(); return String.format(Locale.US, "%s/%s UPnP/%d.%d %s/%s", Config.Upnp.Service.TOKEN_NAME, Config.Upnp.Service.TOKEN_VERSION, majorVersion, minorVersion, Constants.PRODUCT_TOKEN_NAME, Constants.PRODUCT_TOKEN_VERSION); } }; clientConfiguration.setConnectionTimeoutSeconds(Config.Upnp.Query.HTTP_CONNECTION_TIMEOUT); clientConfiguration.setDataReadTimeoutSeconds(Config.Upnp.Query.HTTP_DATAREADOUT_TIMEOUT); return new StreamClientImpl(clientConfiguration); } | ||||
Tags | No tags attached. | ||||
Fixed in build | 85 | ||||