Can you guess error in this Java code snippet?

Our application has been upgraded from GXT 2.0.1 to GXT 2.1.0. And this snippet causes all our data forms ignore data…

So, can you guess where error is?

public static TextField<String> textField(final String name, final String label) {
    return new TextField<String>(){{


TextField<String>  f = textField("Test", "Test");
assert f.getName() != null // Fail

Let me know if you need more information :)