'Caused by: java.lang.NegativeArraySizeException: null' on RabbitMQ Listener [SPR-17026] #21564
Labels
in: messaging
Issues in messaging modules (jms, messaging)
status: duplicate
A duplicate of another issue
Veit Guna opened SPR-17026 and commented
Hi.
We're running a high load REST service using Oracle JDK 1.8.0_162, Tomcat 7.0.85, RabbitMQ 3.6.10, Newrelic Agent 4.0.0, Prometheus Agent 0.9, Spring 4.3.14 and spring-rabbit 1.7.6 on a AWS EC2/ECS cluster.
The service works with RabbitMQ queues where we listen for messages in several listeners. Lately we encountered that one of the listeners started to throw exceptions like the one below. As you can see in the Stacktrace, there's no sign of our code involved. Just JDK and Spring classes. It seems to die by looking up a method on the listener
Class
. It started on one of our nodes, then some days/deploys later on other nodes as well - leading to massive errors (~150k) per day.The listener has several queue binding methods and the error was thrown by different methods on this class.
Googling showed a similar problem here: #17516
There it was about some JVM crashing/JDK bug (what doesn't happen for us) and some sign of NewRelic Agent might being involved. But both "bugs" have been solved years ago.
So I'm wondering if you guys have encountered similar problems in the past with a similar setup.
Listener:
Exception that was thrown:
Affects: 4.3.14
The text was updated successfully, but these errors were encountered: