Skip to content

SocketListener error java.lang.StringIndexOutOfBoundsException  #57

@alexmuntean

Description

@alexmuntean

Hi,

With latest udpate from homekit on my appleTv I got a new error which I don't know how to fix.
All devices become inactive with "no response" status and in my logs I see this:

Exception in thread "SocketListener(amuntean-Z68X-UD3H-B3.local.)" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1967) at javax.jmdns.impl.ServiceInfoImpl.decodeQualifiedNameMapForType(ServiceInfoImpl.java:291) at javax.jmdns.impl.JmDNSImpl.registerServiceType(JmDNSImpl.java:1074) at javax.jmdns.impl.JmDNSImpl.handleRecord(JmDNSImpl.java:1383) at javax.jmdns.impl.JmDNSImpl.handleResponse(JmDNSImpl.java:1412) at javax.jmdns.impl.SocketListener.run(SocketListener.java:60)
I also don't have a very stable connection here...

Thanks,
Alex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions