-
6 May 2009 6:41 AM #1
[FIXED] [2.0-m1] MultiField.isValid() causes StackOverflowError
[FIXED] [2.0-m1] MultiField.isValid() causes StackOverflowError
Hi guys,
I just stepped into this bug where when I call isValid() method on a MultiField instance I get StackOverflowError. There's no need for sample code because the cause is pretty clear.
I think the method isValid() from Multifield class should callinstead ofCode:super.isValid(silent)
The new version would be:Code:super.isValid()
Thanks,Code:@Override public boolean isValid(boolean silent) { boolean ret = super.isValid(silent); for (Field<Object> f : fields) { if (!f.isValid(silent)) { return false; } } return ret; }
Daniel
-
11 May 2009 6:20 AM #2
Can anyone confirm if this is a bug or not?
Thanks,
Daniel
-
11 May 2009 6:27 AM #3
Yes and it will be fixed in the next milestone.
-
11 May 2009 6:29 AM #4
-
13 May 2009 8:16 AM #5
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote