I sure sounds like a bug but I don't see how this is happening, from
inspecting the code. The 'howMany' argument is never allowed to be
less than 1, throughout the framework, as far as I can tell, and the
argument to PriorityQueue is "howMany + 1", and it's failing because
that value is <= 0?

Since you've got the data to reproduce, any chance you are in a
position to attach a debugger and try to see more? maybe put a
breakpoint at that line in PriorityQueue, and when it occurs, take a
look back up the stack and see where the bad howMany value came from.

On Wed, Nov 18, 2009 at 8:45 AM, michal shmueli
<[email protected]> wrote:
> Hi Sean,
>
> I update the code from the SVN (and I belive it's now version 0.3).
> Still the same exception for some users, and works ok for other users.
>
> any other suggestions?
>
> thanks,
> Michal
>
> On Tue, Nov 17, 2009 at 11:02 PM, Sean Owen <[email protected]> wrote:
>
>> Sounds like a bug, but reminds me of something I think I fixed a while
>> ago. Are you using the latest code, meaning post-0.1? If you're using
>> 0.1 then I am pretty sure this is fixed -- at least I can't see how
>> this happens in the current code.
>>
>> On Tue, Nov 17, 2009 at 7:20 PM, michal shmueli
>> <[email protected]> wrote:
>> > Hi,
>> >
>> > I'm running the RecommenderServlet on my machine and I sending requests
>> for
>> > different users id.
>> > For example:
>> > http://michal:57000/RecommenderServlet?userID=010232120.
>> >
>>
>

Reply via email to