tag:robotlegs.tenderapp.com,2009-10-18:/discussions/robotlegs-2/3996-getting-the-following-error-comparison-method-violates-its-general-contract-when-compiling-with-flashdevelopRobotlegs: Discussion 2013-07-23T19:42:10Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/278526012013-07-19T01:38:21Z2013-07-19T01:38:23ZGetting the following (Error: Comparison method violates its general contract!) when compiling with FlashDevelop<div><p>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.</p>
<p>If I switch back to the swc for 2.0.0 I do not get the
error.</p>
<p>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?</p>
<p><a href=
"http://www.flashdevelop.org/community/viewtopic.php?p=45960">http://www.flashdevelop.org/community/viewtopic.php?p=45960</a></p></div>scotttag:robotlegs.tenderapp.com,2009-10-18:Comment/278526012013-07-21T15:02:55Z2013-07-21T15:02:55ZGetting the following (Error: Comparison method violates its general contract!) when compiling with FlashDevelop<div><p>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?</p></div>Shaun Smithtag:robotlegs.tenderapp.com,2009-10-18:Comment/278526012013-07-23T00:25:12Z2013-07-23T00:25:12ZGetting the following (Error: Comparison method violates its general contract!) when compiling with FlashDevelop<div><p>I swapped out the new swc in a different (older) project and
that one seems to be compiling fine.</p>
<p>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.</p></div>scotttag:robotlegs.tenderapp.com,2009-10-18:Comment/278526012013-07-23T19:42:09Z2013-07-23T19:42:09ZGetting the following (Error: Comparison method violates its general contract!) when compiling with FlashDevelop<div><p>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.</p></div>Shaun Smith