DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43446>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43446





------- Additional Comments From [EMAIL PROTECTED]  2007-09-27 02:09 -------
I noticed that the crash occurs when there are identical instanceTimes in the
TimedElement class.
I can prevent the crash by preventing this from happening. I am not familiar
enough with the codebase to understand whether this is a fix or a dirty hack,
but I think it will point you guys in the right direction and save some time
analyzing.



If I add the following lines to TimedElement:282, before instanceTimes.add(..) 

if(instanceTimes.contains(time)) {
        return Float.POSITIVE_INFINITY;
}

And this method to InstanceTime:

   public boolean equals(Object o) {
        InstanceTime it = (InstanceTime)o;
        if (time == it.time) return true;
        return false;
    }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to