Open SharkFourSix opened 4 years ago
I know this is a very old issue, but it still happens.
The specific situation is when route matching is already happening during the startup of the application and routes are still being added.
spark.route.Routes uses a java.util.ArrayList to hold the available routes. Iterating over the elements in that list while adding or removing a route will result in the mentioned exception. Route matching will fail as a result.
I can't reproduce this errorr but I just encountered it for the second time after a very long time.
This is the stack trace:
It seems to be happening on startup
Version: 2.9.1