Re: Cannot iterate HashSet

2009-05-29 Thread Yulia
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

Re: Cannot iterate HashSet

2009-05-25 Thread Bruce Hatt
The difference is in how your string is created. I would make a guess that getValue() returns null at some point and the call to toString() generates a NPE type error in javascript. Concatenation like in your second snippet, will create a new string and concatenate the return of getValue(). Null

Cannot iterate HashSet

2009-05-24 Thread Yulia
Hello I have a problem with iterating HashSet on client side. The weird thing is that in hosted browser everything works fine without errors, but problems occurs in firefox and IE. In my application I'm triyng to get a list of some properties with their values. I have class PropertyValues,

Re: Cannot iterate HashSet

2009-05-24 Thread Yulia
I replaced HashSet with Vector - same problem --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from

Re: Cannot iterate HashSet

2009-05-24 Thread Yulia
After all day beating my head against the keybord I found where the problem was. I reverted all changes to stable version and statrted to add code bit by bit and noticed that after changes in AttributeValue.toString() method my program started to fail again. This code doesn't work: @Override