If your SLD file has something like this:
java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
Width (0) and height (0) cannot be <= 0
It does work if you specify a size. The default size isn't working any more, although this worked in previous versions of geoserver/geotools.