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

panic: attempt to use null value #11095

Open
aguadeowo opened this issue May 15, 2024 · 0 comments
Open

panic: attempt to use null value #11095

aguadeowo opened this issue May 15, 2024 · 0 comments
Labels
crash An issue that could cause a crash

Comments

@aguadeowo
Copy link

aguadeowo commented May 15, 2024

How can we reproduce the crash?

i just tried this code

const ws = new WebSocket(url);

ws.on('open', function open() {
    console.log('Conectado al servidor WebSocket');
    ws.send('Hola servidor!');
});

ws.on('message', function message(data) {
    console.log('Mensaje recibido del servidor:', data);
});

ws.on('close', function close() {
    console.log("Conexion cerrada");
    reconectaMainServer();
});

ws.on('error', function error(err) {
    console.error('Error en la conexión WebSocket:', err);
    reconectaMainServer();
});

JavaScript/TypeScript code that reproduces the crash?

No response

Relevant log output

No response

Stack Trace (bun.report)

Bun v1.1.8 (89d2580) on windows x86_64 [AutoCommand]

panic: attempt to use null value

@aguadeowo aguadeowo added the crash An issue that could cause a crash label May 15, 2024
@Electroid Electroid changed the title i dont know panic: attempt to use null value May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash
Projects
None yet
Development

No branches or pull requests

1 participant