Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-10
-
None
-
None
Description
from the mailing list by Martin C. Martin:
In the CVS head, if you do this:
import groovy.swing.SwingBuilder
swing = new SwingBuilder()
swing.frame() {
button(10, 'hello')
}
you'll get a NullPointerException, because the exception is in the
closure. If you do this:
import groovy.swing.SwingBuilder
swing = new SwingBuilder()
swing.frame(10, 'hello')
You get a missing method exception, as it should be.