I'm just pulling together some code examples to put on my website, and a piece of code that was working fine last time I was tinkering with it has now decided to crash.
In debug mode, I can see the logs, and the error reported is
java.lang.IllegalArgumentException: Comparison method violates its general contract!
but for some reason, the IDE doesn't highlight the offending line of code
This, naturally, is making it a bit fiddly to work out exactly where things have gone wrong. Anyone care to suggest any clues?
In debug mode, I can see the logs, and the error reported is
java.lang.IllegalArgumentException: Comparison method violates its general contract!
but for some reason, the IDE doesn't highlight the offending line of code
This, naturally, is making it a bit fiddly to work out exactly where things have gone wrong. Anyone care to suggest any clues?