ErrLookup › TooTallNate/Java-WebSocket
TooTallNate/Java-WebSocket
A barebones WebSocket client and server implementation written in 100% Java. · Java · 79 source files
Analyzed at afeacbf8c0 on 2026-09-09. 56 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| socket has already been set | exception | error | |
| not an http header | exception | error | |
| Invalid request method received | exception | error | |
| This websocket uses ws instead of wss. No SSLSession… | validation | error | |
| parameter must not be null | validation | error | websocket, ssl, null-check, constructor |
| Invalid status line received | exception | error | |
| connection closed unexpectedly by peer | exception | error | tls, network, handshake, connection-closed |
| This draft does not support Sec-WebSocket-Protocol | validation | error | |
| bad rsv RSV1: RSV2: RSV3 | exception | error | websocket, rsv-bits, compression, permessage-deflate |
| Inflated fragment size exceeds limit of | exception | error | websocket, permessage-deflate, decompression-bomb, size-limit, security |
| Supplied opcode is invalid | validation | error | websocket, enum, factory-method |
| Handshake data rejected by client. | exception | error | handshake, client, callback |
| Continuous frame cannot have RSV1, RSV2 or RSV3 set | exception | error | websocket, rfc7692, permessage-deflate, frame-validation, compression |
| WebSocketClient objects are not reuseable | exception | error | |
| Invalid status code received | exception | error | websocket, handshake, http-status |
| Source array with length | validation | error | java, base64, out-of-bounds, offset |
| Could not get address of channel passed to WebSocketServer… | validation | error | websocket, server, socket, bind |
| missing Sec-WebSocket-Key | exception | error | websocket, handshake, missing-header |
| address and connectionscontainer must not be null and you… | validation | error | websocket, constructor, validation |
| Cannot have offset of | validation | error | java, base64, out-of-bounds, illegal-argument |
| Connection is closed | exception | error | tls, connection-closed, write, race-condition |
| Don't know how to handle | exception | error | websocket, opcode, invalid-enum, internal |
| rejected because of | exception | error | handshake, runtime-exception, callback |
1008 {message} | exception | error | websocket, permessage-deflate, decompression, rfc7692, policy-validation |
1007 Received text is no valid utf8 string! | exception | error | websocket, close-frame, utf8, close-code, validation |
| closecode must not be sent over the wire | exception | error | websocket, close-frame, close-code, rfc6455, frame-validation |
| You cannot initialize a reconnect out of the websocket… | exception | error | |
| Buffer underflow occurred after a wrap. I don't think we… | exception | error | websocket, ssl, ssl-exception, buffer |
| onPreparePing(WebSocket) returned null. PingFrame to sent… | exception | error | null-check, ping, keepalive |
| this method must be used in conjunction with flushAndClose | exception | error | illegal-state, close, lifecycle |
| Invalid SSL status: | exception | error | websocket, ssl, illegal-state, tls-handshake |
| Payloadsize is to little... | exception | error | websocket, integer-overflow, limit-exceeded, malformed-frame |
1002 Continuous frame sequence not completed. | exception | error | websocket, fragmentation, protocol-error, close-code-1002 |
| unknown scheme: | validation | error | |
| null as draft is permitted for `WebSocketServer` only! | validation | error | |
| Cannot have negative offset: | validation | error | base64, encoding, argument-out-of-range |
| Size representation not supported/specified | exception | error | websocket, frames, internal-error |
| more than 125 octets | exception | error | websocket, rfc6455, protocol-violation, control-frame |
| can only be started once. | exception | error | websocket, lifecycle, illegal-state |
| Destination array with length | validation | error | java, base64, out-of-bounds, buffer |
| Payloadsize is to big... | exception | error | websocket, payload-size, limit-exceeded, int-overflow |
| Unknown opcode | exception | error | websocket, opcode, rfc6455, protocol-violation |
| unknown role | exception | error | websocket, handshake, illegal-argument |
| parameters must not be null | validation | error | null-check, constructor, illegal-argument |
| Source array was null. | validation | error | java, base64, null, illegal-argument |
| Cannot serialize a null array. | validation | error | base64, encoding, null-argument |
| buffer size < 0 | validation | error | websocket, illegal-argument, configuration |
| Only Opcode.BINARY or Opcode.TEXT are allowed | exception | error | websocket, frames, illegal-argument |
| http resource descriptor must not be null | validation | error | websocket, handshake, null-argument |
| Cannot call setDaemon after server is already started! | exception | error | websocket, threading, lifecycle |
| Payload limit reached. | exception | error | websocket, maxframesize, limit-exceeded, configuration |
| Cannot have length offset: | validation | error | java, base64, illegal-argument, negative-length |
| Supplied opcode cannot be null | validation | error | websocket, null-argument, factory-method |
| Cannot send 'null' data to a WebSocketImpl. | validation | error | null-check, send, illegal-argument |
| Control frame can't have fin==false set | exception | error | websocket, control-frame, fragmentation, rfc6455, frame-validation |
| Destination array was null. | validation | error | java, base64, null, illegal-argument |