[appengine-java] Sort function now throws an exception

2011-03-27 Thread ZeroCool
Hi App Engine Team, I see 100% error rate for a servlet in my application. The function had been working well for months. The lines of code that generate errors are as following: List> memKeys = userDao.getUserKeys(); Map, User> mem = userDao.get(memKeys); List memList = new ArrayList(mem.values(

Re: [appengine-java] Sort function now throws an exception

2011-03-27 Thread Stephen Johnson
There have been some people that have been reporting code that was working for weeks, etc. not working in the last week or so. I'm beginning to wonder if maybe behind the scenes a switch to Java 7 or some other Java switch is occurring. In relation to your error, it looks like what I've found so fa

Re: [appengine-java] Sort function now throws an exception

2011-03-27 Thread Stephen Johnson
Hi ZeroCool, I'm not sure if this will help, and I don't know how the TimSort works but looking at your compare method I'm curious about this particular situation. If you have two users UserA and UserB and UserA has groupRank of 5 and Rep of 3 and UserB has groupRank of 5 and Rep of 3 Then,