Getting the following (Error: Comparison method violates its general contract!) when compiling with FlashDevelop

scott's Avatar


19 Jul, 2013 01:38 AM

When using the swc for v2.1.0 I can only compile my projects once with FlashDevelop. Any subsequent times I try to compile I get the error "Error: Comparison method violates its general contract!" which is only alleviated by cleaning the project, which unfortunately is time consuming.

If I switch back to the swc for 2.0.0 I do not get the error.

Here is a reference thread at the FlashDevelop forums where other people talk about having this error. It has something to do with how the swc is compiled perhaps?

  1. Support Staff 1 Posted by Shaun Smith on 21 Jul, 2013 03:02 PM

    Shaun Smith's Avatar

    Hi. That link doesn't seem to relate directly to your issue. Perhaps FD is doing some caching that is causing issues. Have you tried creating a fresh project and only using the 2.1.0 SWC?

  2. 2 Posted by scott on 23 Jul, 2013 12:25 AM

    scott's Avatar

    I swapped out the new swc in a different (older) project and that one seems to be compiling fine.

    Dunno what it is about this project in particular that it doesn't like. Sorry for opening this as you mentioned it doesn't appear to be RobotLegs 2 specific.

  3. Support Staff 3 Posted by Shaun Smith on 23 Jul, 2013 07:42 PM

    Shaun Smith's Avatar

    No problem. I'm sorry that we couldn't track down the cause.. Might have been helpful to others in the future. I'm closing this thread - please feel free to open new ones.

  4. Shaun Smith closed this discussion on 23 Jul, 2013 07:42 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac