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

[BUG]: Cannot read properties of null (reading 'audioStream') Occurs After playing 2-3 Tracks #93

Open
3 tasks done
Limeamirs opened this issue Dec 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working not confirmed This issue or pull request is not confirmed to be done.

Comments

@Limeamirs
Copy link

NodeLink version

v2.3.0

Description

It just shuts down because of an error. It's rare that it will play music

Client

byteble

Steps to reproduce

it turns on, it can play 2-3 tracks, but then it turns off if you play any more

Example code

NvbS93YXRjaD92PXJFZzc3YWpNYmZNAQCXaHR0cHM6Ly9pLnl0aW1nLmNvbS92aS9yRWc3N2FqTWJmTS9ocWRlZmF1bHQuanBnP3NxcD0tb2F5bXdFbUNPQURFT2dDOHF1S3FRTWE4QUVCLUFIYUE0QUM1QUtLQWd3SUFCQUJHRk1nWFNobE1BOD0mcnM9QU9uNENMRGgybXA2ZEVfelZub3h3SXlqN1c0S0F2dWx2dwAAB3lvdXR1YmUAAAAAAAAAAA==","length":269000},"replaceCurrent":false,"volume":100}
file:///root/Nodelink/src/connection/voiceHandler.js:320
if (this.connection.audioStream)
^

TypeError: Cannot read properties of null (reading 'audioStream')
at VoiceConnection.volume (file:///root/Nodelink/src/connection/voiceHandler.js:320:25)
at Server.requestHandler (file:///root/Nodelink/src/connection/handler.js:677:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v20.18.1

Confirmations

  • My environment meets the minimum requirements.
  • I have verified that this is not a duplicate issue.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Limeamirs Limeamirs added bug Something isn't working not confirmed This issue or pull request is not confirmed to be done. labels Dec 28, 2024
@UnschooledGamer UnschooledGamer changed the title [BUG]: its gone shot down [BUG]: Cannot read properties of null (reading 'audioStream') Occurs After playing 2-3 Tracks Dec 28, 2024
@ThePedroo ThePedroo self-assigned this Dec 31, 2024
@ThePedroo
Copy link
Member

Instructions are incomplete, as I cannot repro. Please submit minimal reproducible code and give the steps again

@Limeamirs
Copy link
Author

After a while of work it crashes with the same error and it has to be turned on again to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working not confirmed This issue or pull request is not confirmed to be done.
Projects
None yet
Development

No branches or pull requests

2 participants