Updating UI error

I had problems when using application.updateUI() after displaying a form that contained an html area.

It always gave an error, saying java.lang.ArrayIndexOutOfBoundsException: 0, or a strange number instead of 0.

To trace the error, I started Servoy Developer with DSTACKTRACE, finding the next exception: at javax.swing.text.BoxView.getOffset(BoxView.java:1079)

Searching for this exception on the Internet(google), I found this:
http://forum.java.sun.com/thread.jspa?f … dID=278708

As stated there, the displayed HTML string contained strange tags, which could not be interpreted by Java interpretor. So anyone using html area and then calling application.updateUI() should be careful what the html text contains.

BTW, this does not happen with Java for MAC OS X (only on Winows)