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

BufferUnderflowExeption? #49

Closed
loeffelpan opened this issue Feb 16, 2019 · 1 comment
Closed

BufferUnderflowExeption? #49

loeffelpan opened this issue Feb 16, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@loeffelpan
Copy link

loeffelpan commented Feb 16, 2019

Close of #48 leads me to this while playback. Need to restart librespot after this.
Could you please take look?

Feb 16 18:06:25 osmc java[31427]: Exception in thread "channel-queue-6691589" java.nio.BufferUnderflowException
Feb 16 18:06:25 osmc java[31427]:         at java.nio.Buffer.nextGetIndex(Buffer.java:506)
Feb 16 18:06:25 osmc java[31427]:         at java.nio.HeapByteBuffer.getShort(HeapByteBuffer.java:310)
Feb 16 18:06:25 osmc java[31427]:         at xyz.gianlu.librespot.player.ChannelManager$Channel.handle(ChannelManager.java:132)
Feb 16 18:06:25 osmc java[31427]:         at xyz.gianlu.librespot.player.ChannelManager$Channel.access$700(ChannelManager.java:96)
Feb 16 18:06:25 osmc java[31427]:         at xyz.gianlu.librespot.player.ChannelManager$Channel$Handler.run(ChannelManager.java:166)
Feb 16 18:06:25 osmc java[31427]:         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
Feb 16 18:06:25 osmc java[31427]:         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
Feb 16 18:06:25 osmc java[31427]:         at java.lang.Thread.run(Thread.java:748)
@devgianlu
Copy link
Member

That looks like a protocol issue, please roll back to pre #48 until I fix this.

@devgianlu devgianlu added the bug Something isn't working label Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants