I tested the TV Sample with Intel Device Validator for UPnP Technologies version 1.0.1768.24077 and the result was the following:
java.lang.StringIndexOutOfBoundsException: String index out of range: -5
I think this exception was thrown when the validator tried to do the command StateVariable: Power.
Joo Paulo Lima
Actually, the exception is raised when the validator tries to unsubscribe from the power event, in the subscription tests.
According to your output, the subscription request has a short subscription id. The subscription id might be started from "uuid" string. Fix Subscription::getSID() as the following to avoid the error.
public final static String getSID(String headerValue)
if (headerValue == null)
if (headerValue.startsWith(Subscription.UUID) == false)
return headerValue.substring(Subscription.UUID.length(), headerValue.length());
I will check your problem in more detail.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.