Closed GoogleCodeExporter closed 8 years ago
Original comment by ashward....@gmail.com
on 16 Jun 2010 at 6:38
Does the problem replicate on any browser?
What version of GWT are you using?
Original comment by antonio....@gmail.com
on 16 Jun 2010 at 7:34
I tested it on FF3.6 and IE6 and it does the same thing so I don't think it's a
browser specific issue.
Good thought on the gwt version. We're using gwt 2.0.2 (built using the gwt
maven plugin). I'll try updating to the latest version and test again.
Original comment by ashward....@gmail.com
on 16 Jun 2010 at 7:41
Just tried recompiling and redeploying using gwt2.0.3 and still the same
problem :(
Original comment by ashward....@gmail.com
on 16 Jun 2010 at 9:03
This issue was closed by revision r1487.
Original comment by ashward....@gmail.com
on 17 Jun 2010 at 9:49
So what was the problem? A bug in comparison?
Original comment by antonio....@gmail.com
on 17 Jun 2010 at 9:56
The problem was that on our test environment we are using openfire backed by
ldap and it seems this causes some RosterItem names to be null. This was
causing a problem with the compareTo method which was comparing nulls and
saying they were always different! TreeSet uses the compareTo method to find
objects in the set (with contains() for example) and so was never finding items
with a null name.
Original comment by ashward....@gmail.com
on 17 Jun 2010 at 10:57
Thanks for the explanation :-)
Original comment by antonio....@gmail.com
on 17 Jun 2010 at 11:11
Original issue reported on code.google.com by
ashward....@gmail.com
on 16 Jun 2010 at 6:37