[sip-comm-dev] White-window-bug (was: Re: [sip-comm-dev] Item identification patch)


Hi Emil, all,
I've done a little more digging and found some interesting things
about that nasty white window bug. See inline:

I just checked and I am seeing the exact same behavior as you describe:
I first get an empty window and then the updates succeed. There were no
exceptions in neither the console nor the log files.
Personally, I'd bet on another problem with the swing html renderer.

I don't know if it's necessarily the Swing HTML renderer. As I told
you off-list, the reason for which I couldn't reproduce the bug was
that I worked on a rather old version of the code. As soon as I
updated, the bug appeared with no way whatsoever to circumvene it.

I started digging through the nightly snapshots archives until I found
one that worked as supposed. It was
. It seems something has happened to the code for the
ChatConversationPanel between the 1.8 release which contained my patch
for correct handling of "text/html" and the latest release (1.11). For
the moment all I can tell is that simply reverting to an older version
of the file fixes the issue, but I'm sure that's by no means an
acceptable solution.

I'll start looking into it and will send a patch as soon as I'll be
able to fix things.

I had also noticed a similar problem with the FOSDEM RSS flow (
http://fosdem.org/2007/rss.xml ). It's there with or without the patch
and it looks a lot worse as it would sometimes even mess the way the
chat or history windows look. This one spits an exception in the logs
(though judging from how deep in swing it appears I don't think the
stacktrace would help a lot)

Here's what the exception looks like:

> java.lang.NullPointerException
> at javax.swing.text.FlowView.insertUpdate(FlowView.java:238)
> at javax.swing.text.View.forwardUpdateToView(View.java:1186) [...]
I guess the best way to resolve the problem is to simply experiment and
try to discover the exact html tags that swing doesn't like.

It's fixed in the patch I sent a few days ago :wink:

All the best,

PS: It seems some archives (I couldn't tell how many, I had problems
with at least 2) here at
http://sip-communicator.org/download/nightly-builds/src/ are corrupted
(namely 719, 720).


To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net