just a guess: I really recommend, that you fix our hashCode/equals functions of the abstract class, which obviously break the general contract for hashCodea and equals stated in the javadoc of Object.equals(): "... Note that it is generally necessary to override the hashCode method whenever this method is overridden, so as to maintain the general contract for the hashCode method, which states that equal objects must have equal hash codes. "
If hashCode/equals are not correct, strange things will happen, especially when iterating over your collections On May 29, 10:10 am, Yulia <[email protected]> wrote: > The interesting thing is that there is no nulls in output. If it were > null I probably could see this error in GWT Shell, but in hosted > browser everyting was ok. The following code also gives me same error: > @Override > public String toString() { > //return "" + getValue(); > return getValue() == null ? "" : getValue().toString(); > } > > I'm using GWT 1.5.2, I'll try to swith to newer version some day and > check if this error will still appear. > Anyway, it works with "" + getValue() by now. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
