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

[1.15.2] Crash with skip #35

HyCraftHD opened this issue Feb 8, 2020 · 1 comment

[1.15.2] Crash with skip #35

HyCraftHD opened this issue Feb 8, 2020 · 1 comment


Copy link

@HyCraftHD HyCraftHD commented Feb 8, 2020

Describe the bug
Crash on skip

To Reproduce
Steps to reproduce the behavior:

  1. Invalid song (e.g. remove mp3 file from folder, but don't remove it from the playlist
  2. Load playlist and start playing
  3. Shuffle mode is enabled
  4. Skip and the game will crash

Expected behavior
Should not crash

If applicable, add screenshots to help explain your problem.


  • Mod Version: All
  • Minecraft Version: All
  • Forge Version: All
  • UTeamCore Version: All

Log (if crash occures)

@HyCraftHD HyCraftHD added the bug label Feb 8, 2020
@HyCraftHD HyCraftHD self-assigned this Feb 8, 2020

This comment has been minimized.

Copy link
Member Author

@HyCraftHD HyCraftHD commented Feb 8, 2020

Same happens when a song ends with shuffle mode enabled. Log is as follows:

[Audio Player] ERROR com.sedmelluq.discord.lavaplayer.player.AudioPlayer - Handler of event com.sedmelluq.discord.lavaplayer.player.event.TrackEndEvent@3c97c9ff threw an exception.
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: java.lang.NullPointerException
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at info.u_team.music_player.musicplayer.playlist.Playlist.lambda$4(
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at java.util.ArrayList.forEach(
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at info.u_team.music_player.musicplayer.playlist.Playlist.calculateNext(
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at info.u_team.music_player.lavaplayer.queue.TrackQueueWrapper.calculateNext(
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at info.u_team.music_player.lavaplayer.queue.TrackManager.skip(
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at info.u_team.music_player.lavaplayer.queue.TrackManager.onTrackEnd(
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at com.sedmelluq.discord.lavaplayer.player.event.AudioEventAdapter.onEvent(
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayer.dispatchEvent(
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayer.handleTerminator(
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayer.provide(
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at com.sedmelluq.discord.lavaplayer.format.AudioPlayerInputStream.attemptRetrieveFrame(
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at com.sedmelluq.discord.lavaplayer.format.AudioPlayerInputStream.ensureAvailable(
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at
�[m�[32m[01:32:16] [Audio Player/INFO] [STDERR/]: [org.slf4j.impl.SimpleLogger:write:319]: 	at
HyCraftHD added a commit that referenced this issue Feb 8, 2020
@HyCraftHD HyCraftHD closed this Feb 8, 2020
HyCraftHD added a commit that referenced this issue Feb 10, 2020
HyCraftHD added a commit that referenced this issue Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.