Open durandom opened 2 years ago
and more index errors
2021-11-05 12:56:56 ERROR DefaultErrorHandler:205 - Failed delivery for (MessageId: 638D6BAA0D93386-00000000000080A9 on ExchangeId: 638D6BAA0D93386-00000000000080A9). Exhausted after delivery attempt: 1 caught: java.lang.IndexOutOfBoundsException: Index 9 out of bounds for length 0
Message History (complete message history is disabled)
---------------------------------------------------------------------------------------------------------------------------------------
RouteId ProcessorId Processor Elapsed (ms)
[udp-multicast-disp] [udp-multicast-disp] [from[netty://udp://0.0.0.0:20777?decoders=%23packet-decoder&sync=false] ] [ 1]
...
[udp-kafka-events ] [process1 ] [Processor@0x10683d9d ] [ 0]
Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
java.lang.IndexOutOfBoundsException: Index 9 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
at java.base/java.util.Objects.checkIndex(Objects.java:359)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
at io.ppatierno.formula1.Session.updateEventData(Session.java:108)
at io.ppatierno.formula1.EventsRouteBuilder.lambda$configure$1(EventsRouteBuilder.java:49)
at org.apache.camel.support.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:66)
at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$SimpleTask.run(RedeliveryErrorHandler.java:395)
at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:148)
at org.apache.camel.impl.engine.DefaultReactiveExecutor.schedule(DefaultReactiveExecutor.java:55)
at org.apache.camel.processor.MulticastProcessor.lambda$schedule$1(MulticastProcessor.java:312)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
2021-11-05 12:56:59 ERROR DefaultErrorHandler:205 - Failed delivery for (MessageId: 638D6BAA0D93386-0000000000008305 on ExchangeId: 638D6BAA0D93386-0000000000008305). Exhausted after delivery attempt: 1 caught: java.lang.IndexOutOfBoundsException: Index 19 out of bounds for length 0
Message History (complete message history is disabled)
---------------------------------------------------------------------------------------------------------------------------------------
RouteId ProcessorId Processor Elapsed (ms)
[udp-multicast-disp] [udp-multicast-disp] [from[netty://udp://0.0.0.0:20777?decoders=%23packet-decoder&sync=false] ] [ 1]
...
[udp-kafka-events ] [process1 ] [Processor@0x10683d9d ] [ 0]
Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
java.lang.IndexOutOfBoundsException: Index 19 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
at java.base/java.util.Objects.checkIndex(Objects.java:359)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
at io.ppatierno.formula1.Session.updateEventData(Session.java:108)
at io.ppatierno.formula1.EventsRouteBuilder.lambda$configure$1(EventsRouteBuilder.java:49)
at org.apache.camel.support.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:66)
at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$SimpleTask.run(RedeliveryErrorHandler.java:395)
at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:148)
at org.apache.camel.impl.engine.DefaultReactiveExecutor.schedule(DefaultReactiveExecutor.java:55)
at org.apache.camel.processor.MulticastProcessor.lambda$schedule$1(MulticastProcessor.java:312)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
lets try to record the datastream with https://pypi.org/project/f1-2020-telemetry/ to record UDP packets into a MySQL db and you can even play via this Python instead of having the F1 2020 running
If you can provide me the outcoming MySQL db I could try to run it locally and debug the decoder to verify the problem.
Looks like my local F1 2020 game connects to the udp fwd applications, but it crashes internally while decoding driver names?
Could it be because I started a time trial mode?