Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FATAL EXCEPTION after WiFi OFF/ON operate ,then turn OFF/ON DLNA device #19

Open
kolyneh opened this issue Jul 19, 2016 · 1 comment
Open

Comments

@kolyneh
Copy link

kolyneh commented Jul 19, 2016

Here is my step:

  1. Start search will do this --> controlpoint.addDevicesChangeListenner(),controlpoint.start() controlpoint.search();
  2. WiFi Turn OFF then turn ON will do this -->controlpoint.stop(),controlpoint.start() controlpoint.search();
    3.Then in the same WiFi environment , turn OFF/ON my DLNA device by turns, few times later it crash like the bellow logs:

E/AndroidRuntime: FATAL EXCEPTION: Cyber.SSDPNotifySocket/fe80::3abc:1aff:fef4:b81c%wlan0:1900 -> ff02::c:1900
Process: com.jingxun.upai, PID: 1122
java.lang.ArrayIndexOutOfBoundsException: length=3; index=3
at java.util.Vector.arrayIndexOutOfBoundsException(Vector.java:907)
at java.util.Vector.elementAt(Vector.java:328)
at java.util.Vector.get(Vector.java:442)
at org.cybergarage.xml.NodeList.getNode(NodeList.java:28)
at org.cybergarage.upnp.ControlPoint.getDevice(ControlPoint.java:307)
at org.cybergarage.upnp.ControlPoint.removeDevice(ControlPoint.java:347)
at org.cybergarage.upnp.ControlPoint.removeDevice(ControlPoint.java:357)
at org.cybergarage.upnp.ControlPoint.notifyReceived(ControlPoint.java:509)
at org.cybergarage.upnp.ssdp.SSDPNotifySocket.run(SSDPNotifySocket.java:138)
at java.lang.Thread.run(Thread.java:818)

@gopalmudaliar
Copy link

I also got this exception from the field. Do we have proper fix added for this ?

Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 26
at java.util.Vector.get(Vector.java:748)
at org.cybergarage.xml.NodeList.getNode(NodeList.java:28)
at org.cybergarage.upnp.ControlPoint.getDevice(ControlPoint.java:320)
at org.cybergarage.upnp.ControlPoint.addDevice(ControlPoint.java:252)
at org.cybergarage.upnp.ControlPoint.searchResponseReceived(ControlPoint.java:535)
at org.cybergarage.upnp.ssdp.SSDPSearchResponseSocket.run(SSDPSearchResponseSocket.java:80)
at java.lang.Thread.run(Thread.java:764)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants