Skip to content

Fix: NullPointerException in Socket.java #727;#758

Open
shahabrar7746 wants to merge 1 commit intosocketio:mainfrom
shahabrar7746:shahabrar7746
Open

Fix: NullPointerException in Socket.java #727;#758
shahabrar7746 wants to merge 1 commit intosocketio:mainfrom
shahabrar7746:shahabrar7746

Conversation

@shahabrar7746
Copy link

No description provided.

@tausifcreates
Copy link

+1 for this! @darrachequesne

darrachequesne pushed a commit that referenced this pull request Jul 10, 2024
Clearing the buffer upon timeout could lead to:

```
java.util.ConcurrentModificationException
	at java.base/java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970)
	at java.base/java.util.LinkedList$ListItr.next(LinkedList.java:892)
	at io.socket.client.Socket$6$1.run(Socket.java:232)
	at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
	at java.base/java.util.TimerThread.run(Timer.java:506)
```

Related:

- #710
- #727
- #758
- #759
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

Successfully merging this pull request may close these issues.

2 participants