google-code-export / gwt-test-utils

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

Patch for DOM.setStyleAttribute() is missing #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A NullPointerException is thrown because DOM.setStyleAttribute() is not patched 
with gwt-test-utils version
0.34.

Original error appeared in CellTable code :

java.lang.NullPointerException
       at com.google.gwt.user.client.DOM.setStyleAttribute(DOM.java:1240)
       at com.google.gwt.user.client.ui.UIObject.setWidth(UIObject.java:743)
       at
com.google.gwt.user.cellview.client.CellTable.setWidth(CellTable.java:
750)

Original issue reported on code.google.com by gael.laz...@gmail.com on 9 Nov 2011 at 9:32

GoogleCodeExporter commented 9 years ago
I went to fast for this one, DOM.setStyleAttribute() works fine, I think it is 
CellTable which has a problem in gwt-test-utils.

Could you please provide sample of code with a CellTable which would reproduced 
this problem ?

Original comment by gael.laz...@gmail.com on 9 Nov 2011 at 12:01

GoogleCodeExporter commented 9 years ago
I will try to clean it out of the code a little later. But i am extremely busy 
at work at the moment, so it will be later.

Original comment by jesperrr@gmail.com on 9 Nov 2011 at 1:10

GoogleCodeExporter commented 9 years ago
no problem :)

Original comment by gael.laz...@gmail.com on 9 Nov 2011 at 1:27

GoogleCodeExporter commented 9 years ago
Hi,

I've deployed a new 0.35-SNAPSHOT version with an improved support for 
CellTable. Could you give it a try with your existing test and give me some 
feedback ?

Thank you very much

Original comment by gael.laz...@gmail.com on 29 Nov 2011 at 2:31

GoogleCodeExporter commented 9 years ago

Original comment by gael.laz...@gmail.com on 29 Nov 2011 at 3:05