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

Research and fix weird indexoutofbounds bug #94

Open
ewjmulder opened this issue Oct 14, 2018 · 0 comments
Open

Research and fix weird indexoutofbounds bug #94

ewjmulder opened this issue Oct 14, 2018 · 0 comments

Comments

@ewjmulder
Copy link
Owner

2018-10-14 20:54:09 [main] ImmerseServer.handleClient() - INFO: Client connected, requested action: PLAY_SCENARIO
2018-10-14 20:54:09 [Main Mixer Worker] ImmerseMixer.logScenarioEvent() - INFO: Main mixer started scenario lightning.wav
2018-10-14 20:54:09 [main] ImmerseServer.handleClient() - INFO: Client connected, requested action: WAIT_FOR_PLAYBACK
2018-10-14 20:54:09 [Main Mixer Worker] ImmerseMixer.run() - WARNING: Risk for hickups in playback: actual step millis 5.699465 was bigger than the step pace millis 5.
2018-10-14 20:54:09 [pool-1-thread-25] LogUtil.logExceptions() - ERROR: Exception during asynchronous task: java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:338)
at sun.net.www.MeteredStream.read(MeteredStream.java:134)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3393)
at javax.sound.sampled.AudioInputStream.read(AudioInputStream.java:292)
at com.programyourhome.immerse.audiostreaming.mixer.AudioInputStreamWrapper.read(AudioInputStreamWrapper.java:49)
at com.programyourhome.immerse.audiostreaming.mixer.scenario.AudioInputBuffer.fill(AudioInputBuffer.java:174)
at com.programyourhome.immerse.audiostreaming.mixer.step.MixerStep.lambda$readBytes$3(MixerStep.java:230)
at com.programyourhome.immerse.audiostreaming.util.LogUtil.logExceptions(LogUtil.java:12)
at com.programyourhome.immerse.audiostreaming.util.AsyncUtil.lambda$submitAsyncTask$0(AsyncUtil.java:18)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant