google-code-export / gwt-test-utils

Automatically exported from code.google.com/p/gwt-test-utils
1 stars 0 forks source link

Dispatching event on an empty SimplePanel return a NullPointerException #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an SimplePanel without any wrapped widget
2. Add any EventHandler supported to it
3. Dispatch the event to this empty Panel with the corresponding Browser method.

What is the expected output? What do you see instead?

The registered EventHandler should be triggered. 
Instead, a NullPointerException is thrown because simplePanel.getWidget() 
returns null.

Original issue reported on code.google.com by gael.laz...@gmail.com on 8 Aug 2011 at 2:29

GoogleCodeExporter commented 9 years ago
I fixed this on the lastest 0.32-SNAPSHOT, 0.22.3-SNAPSHOT, 0.25.3-SNAPSHOT and 
0.28.6-SNAPSHOT.

Enjoy !

Original comment by gael.laz...@gmail.com on 8 Aug 2011 at 7:24

GoogleCodeExporter commented 9 years ago

Original comment by gael.laz...@gmail.com on 9 Aug 2011 at 8:36