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

continuous Java IndexOutOfBoundsException on postgres container #10

Open
agallo opened this issue Sep 21, 2020 · 0 comments
Open

continuous Java IndexOutOfBoundsException on postgres container #10

agallo opened this issue Sep 21, 2020 · 0 comments

Comments

@agallo
Copy link

agallo commented Sep 21, 2020

I just installed the Postgres container and I'm seeing a continuous stream of these errors from the command docker logs -f openbmp_psql

java.lang.IndexOutOfBoundsException: Index: 31, Size: 31
	at java.util.ArrayList.rangeCheck(ArrayList.java:657)
	at java.util.ArrayList.get(ArrayList.java:433)
	at org.openbmp.api.parsed.processor.UnicastPrefix.parseRecord(UnicastPrefix.java:91)
	at org.openbmp.api.parsed.processor.UnicastPrefix.parseData(UnicastPrefix.java:42)
	at org.openbmp.api.parsed.processor.UnicastPrefix.<init>(UnicastPrefix.java:33)
	at org.openbmp.ConsumerRunnable.run(ConsumerRunnable.java:500)
	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)
java.lang.IndexOutOfBoundsException: Index: 31, Size: 31
	at java.util.ArrayList.rangeCheck(ArrayList.java:657)
	at java.util.ArrayList.get(ArrayList.java:433)
	at org.openbmp.api.parsed.processor.UnicastPrefix.parseRecord(UnicastPrefix.java:91)
	at org.openbmp.api.parsed.processor.UnicastPrefix.parseData(UnicastPrefix.java:42)
	at org.openbmp.api.parsed.processor.UnicastPrefix.<init>(UnicastPrefix.java:33)
	at org.openbmp.ConsumerRunnable.run(ConsumerRunnable.java:500)
	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)
java.lang.IndexOutOfBoundsException: Index: 31, Size: 31
	at java.util.ArrayList.rangeCheck(ArrayList.java:657)
	at java.util.ArrayList.get(ArrayList.java:433)
	at org.openbmp.api.parsed.processor.UnicastPrefix.parseRecord(UnicastPrefix.java:91)
	at org.openbmp.api.parsed.processor.UnicastPrefix.parseData(UnicastPrefix.java:42)
	at org.openbmp.api.parsed.processor.UnicastPrefix.<init>(UnicastPrefix.java:33)
	at org.openbmp.ConsumerRunnable.run(ConsumerRunnable.java:500)
	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)
java.lang.IndexOutOfBoundsException: Index: 31, Size: 31
	at java.util.ArrayList.rangeCheck(ArrayList.java:657)
	at java.util.ArrayList.get(ArrayList.java:433)
	at org.openbmp.api.parsed.processor.UnicastPrefix.parseRecord(UnicastPrefix.java:91)
	at org.openbmp.api.parsed.processor.UnicastPrefix.parseData(UnicastPrefix.java:42)
	at org.openbmp.api.parsed.processor.UnicastPrefix.<init>(UnicastPrefix.java:33)
	at org.openbmp.ConsumerRunnable.run(ConsumerRunnable.java:500)
	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)

These messages are logged a few per second

The container logs are also very verbose:

{"log":"\u0009at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n","stream":"stderr","time":"2020-09-21T13:15:34.404250825Z"}
{"log":"\u0009at java.lang.Thread.run(Thread.java:748)\n","stream":"stderr","time":"2020-09-21T13:15:34.404255352Z"}
{"log":"java.lang.IndexOutOfBoundsException: Index: 31, Size: 31\n","stream":"stderr","time":"2020-09-21T13:15:34.404260968Z"}
{"log":"\u0009at java.util.ArrayList.rangeCheck(ArrayList.java:657)\n","stream":"stderr","time":"2020-09-21T13:15:34.404268374Z"}
{"log":"\u0009at java.util.ArrayList.get(ArrayList.java:433)\n","stream":"stderr","time":"2020-09-21T13:15:34.404272875Z"}
{"log":"\u0009at org.openbmp.api.parsed.processor.UnicastPrefix.parseRecord(UnicastPrefix.java:91)\n","stream":"stderr","time":"2020-09-21T13:15:34.404277233Z"}
{"log":"\u0009at org.openbmp.api.parsed.processor.UnicastPrefix.parseData(UnicastPrefix.java:42)\n","stream":"stderr","time":"2020-09-21T13:15:34.404281667Z"}
{"log":"\u0009at org.openbmp.api.parsed.processor.UnicastPrefix.\u003cinit\u003e(UnicastPrefix.java:33)\n","stream":"stderr","time":"2020-09-21T13:15:34.404286404Z"}
{"log":"\u0009at org.openbmp.ConsumerRunnable.run(ConsumerRunnable.java:500)\n","stream":"stderr","time":"2020-09-21T13:15:34.404290972Z"}

I limited dockers logging to prevent the disks from filling up. I'm seeing about 100MB of logs per 45 minutes.

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