[sip-comm-dev] Systray throws ClassCastException


#1

Hi all,

I built and ran the newest revision (5105) today, and I noticed some strange
behavior with the systray menu in Windows XP.

If the SC window is open, and then you right-click on the systray icon to
open the menu, you cannot close the systray menu by clicking outside of the
menu. The only exception to this is to click within the SC window itself. If
you close the SC window, and then right-click on the systray icon, clicking
outside the menu sometimes throws an exception (and still fails to close the
menu).

Below is the logger printout:

···

________________________________________________________________________________

13:57:16.808 SEVERE: util.UtilActivator.uncaughtException().81 An uncaught
exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message
was: java.awt.TrayIcon cannot be cast to java.awt.Component
java.lang.ClassCastException: java.awt.TrayIcon cannot be cast to
java.awt.Component
        at
javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:799)
        at
java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2360)
        at
java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2252)
        at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2210)
        at java.awt.TrayIcon.dispatchEvent(TrayIcon.java:689)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
________________________________________________________________________________

I know there's been some discussion of systray problems in recent weeks, but
I haven't been able to keep up with the conversation, so my apologies if I'm
repeating a known problem.

-Alan


#2

Hi Alan,

Thanks for the report.
I've noticed a little problem with the menu in Windows Vista, but I
don't get the exception (I use the installler).

For me, the error comes from Java since all classes are in java.awt or
javax.swing. ...

Are you using the latest version of java6 ?

I will install a win xp in a virtual machine and do some tests. In any
case, if the problem can't be solve, I will revert the menu to the AWT
one.

Bye

Damien

···

2009/3/6 Alan Kelly <akelly7@gmu.edu>:

Hi all,

I built and ran the newest revision (5105) today, and I noticed some strange
behavior with the systray menu in Windows XP.

If the SC window is open, and then you right-click on the systray icon to
open the menu, you cannot close the systray menu by clicking outside of the
menu. The only exception to this is to click within the SC window itself. If
you close the SC window, and then right-click on the systray icon, clicking
outside the menu sometimes throws an exception (and still fails to close the
menu).

Below is the logger printout:
________________________________________________________________________________

13:57:16.808 SEVERE: util.UtilActivator.uncaughtException().81 An uncaught
exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message
was: java.awt.TrayIcon cannot be cast to java.awt.Component
java.lang.ClassCastException: java.awt.TrayIcon cannot be cast to
java.awt.Component
at
javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:799)
at
java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2360)
at
java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2252)
at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2210)
at java.awt.TrayIcon.dispatchEvent(TrayIcon.java:689)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
________________________________________________________________________________

I know there's been some discussion of systray problems in recent weeks, but
I haven't been able to keep up with the conversation, so my apologies if I'm
repeating a known problem.

-Alan

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


#3

Hi Damien,

I believe I had just updated Java right before running those tests, but I'm
not 100 positive, and I don't have that computer available right now. I can
check it out Monday morning and see if I can give you some more specific
details on what's wrong. I don't always get the exception, but I failed to
pin down exactly when it does and doesn't happen.

Thanks,

Alan

···

-----Original Message-----

From: Damien Roth [mailto:damien.roth@gmail.com]

Sent: Saturday, March 07, 2009 3:38 PM
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] Systray throws ClassCastException

Hi Alan,

Thanks for the report.
I've noticed a little problem with the menu in Windows Vista, but I don't
get the exception (I use the installler).

For me, the error comes from Java since all classes are in java.awt or
javax.swing. ...

Are you using the latest version of java6 ?

I will install a win xp in a virtual machine and do some tests. In any case,
if the problem can't be solve, I will revert the menu to the AWT one.

Bye

Damien

2009/3/6 Alan Kelly <akelly7@gmu.edu>:

Hi all,

I built and ran the newest revision (5105) today, and I noticed some
strange behavior with the systray menu in Windows XP.

If the SC window is open, and then you right-click on the systray icon
to open the menu, you cannot close the systray menu by clicking
outside of the menu. The only exception to this is to click within the
SC window itself. If you close the SC window, and then right-click on
the systray icon, clicking outside the menu sometimes throws an
exception (and still fails to close the menu).

Below is the logger printout:
______________________________________________________________________
__________

13:57:16.808 SEVERE: util.UtilActivator.uncaughtException().81 An
uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main]
and message
was: java.awt.TrayIcon cannot be cast to java.awt.Component
java.lang.ClassCastException: java.awt.TrayIcon cannot be cast to
java.awt.Component
at
javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(B
asicPopupMenuUI.java:799)
at
java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.jav
a:2360)
at
java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:
2252)
at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2210)
at java.awt.TrayIcon.dispatchEvent(TrayIcon.java:689)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:273)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:173)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
______________________________________________________________________
__________

I know there's been some discussion of systray problems in recent
weeks, but I haven't been able to keep up with the conversation, so my
apologies if I'm repeating a known problem.

-Alan

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

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


#4

Hey Alan, Damien,

For the record, judging from Alan's description of the problem, I don't
think it's enough of a reason to entirely revert to the old AWT
interface which was particularly unseemly.

Still, it would probably be a good idea to create an issue for it so
that it wouldn't slip out of our attention.

Cheers
Emil

Alan Kelly wrote:

···

Hi Damien,

I believe I had just updated Java right before running those tests, but I'm
not 100 positive, and I don't have that computer available right now. I can
check it out Monday morning and see if I can give you some more specific
details on what's wrong. I don't always get the exception, but I failed to
pin down exactly when it does and doesn't happen.

Thanks,

Alan

-----Original Message-----
From: Damien Roth [mailto:damien.roth@gmail.com]
Sent: Saturday, March 07, 2009 3:38 PM
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] Systray throws ClassCastException

Hi Alan,

Thanks for the report.
I've noticed a little problem with the menu in Windows Vista, but I don't
get the exception (I use the installler).

For me, the error comes from Java since all classes are in java.awt or
javax.swing. ...

Are you using the latest version of java6 ?

I will install a win xp in a virtual machine and do some tests. In any case,
if the problem can't be solve, I will revert the menu to the AWT one.

Bye

Damien

2009/3/6 Alan Kelly <akelly7@gmu.edu>:

Hi all,

I built and ran the newest revision (5105) today, and I noticed some
strange behavior with the systray menu in Windows XP.

If the SC window is open, and then you right-click on the systray icon
to open the menu, you cannot close the systray menu by clicking
outside of the menu. The only exception to this is to click within the
SC window itself. If you close the SC window, and then right-click on
the systray icon, clicking outside the menu sometimes throws an
exception (and still fails to close the menu).

Below is the logger printout:
______________________________________________________________________
__________

13:57:16.808 SEVERE: util.UtilActivator.uncaughtException().81 An
uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main]
and message
was: java.awt.TrayIcon cannot be cast to java.awt.Component
java.lang.ClassCastException: java.awt.TrayIcon cannot be cast to
java.awt.Component
        at
javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(B
asicPopupMenuUI.java:799)
        at
java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.jav
a:2360)
        at
java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:
2252)
        at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2210)
        at java.awt.TrayIcon.dispatchEvent(TrayIcon.java:689)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:273)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:183)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:173)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at
java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
______________________________________________________________________
__________

I know there's been some discussion of systray problems in recent
weeks, but I haven't been able to keep up with the conversation, so my
apologies if I'm repeating a known problem.

-Alan

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

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

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


#5

Hi,

I have some informations about this problem. According to Sebastien,
the ClassCastException is throw only if the version of java is under
the update 7. The current version is Java6 update 12.

Another question Alan, were you using the precompiled version or a
personnal build from the svn ?

Bye
Damien

···

2009/3/8 Emil Ivov <emcho@sip-communicator.org>:

Hey Alan, Damien,

For the record, judging from Alan's description of the problem, I don't
think it's enough of a reason to entirely revert to the old AWT
interface which was particularly unseemly.

Still, it would probably be a good idea to create an issue for it so
that it wouldn't slip out of our attention.

Cheers
Emil

Alan Kelly wrote:

Hi Damien,

I believe I had just updated Java right before running those tests, but I'm
not 100 positive, and I don't have that computer available right now. I can
check it out Monday morning and see if I can give you some more specific
details on what's wrong. I don't always get the exception, but I failed to
pin down exactly when it does and doesn't happen.

Thanks,

Alan

-----Original Message-----
From: Damien Roth [mailto:damien.roth@gmail.com]
Sent: Saturday, March 07, 2009 3:38 PM
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] Systray throws ClassCastException

Hi Alan,

Thanks for the report.
I've noticed a little problem with the menu in Windows Vista, but I don't
get the exception (I use the installler).

For me, the error comes from Java since all classes are in java.awt or
javax.swing. ...

Are you using the latest version of java6 ?

I will install a win xp in a virtual machine and do some tests. In any case,
if the problem can't be solve, I will revert the menu to the AWT one.

Bye

Damien

2009/3/6 Alan Kelly <akelly7@gmu.edu>:

Hi all,

I built and ran the newest revision (5105) today, and I noticed some
strange behavior with the systray menu in Windows XP.

If the SC window is open, and then you right-click on the systray icon
to open the menu, you cannot close the systray menu by clicking
outside of the menu. The only exception to this is to click within the
SC window itself. If you close the SC window, and then right-click on
the systray icon, clicking outside the menu sometimes throws an
exception (and still fails to close the menu).

Below is the logger printout:
______________________________________________________________________
__________

13:57:16.808 SEVERE: util.UtilActivator.uncaughtException().81 An
uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main]
and message
was: java.awt.TrayIcon cannot be cast to java.awt.Component
java.lang.ClassCastException: java.awt.TrayIcon cannot be cast to
java.awt.Component
at
javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(B
asicPopupMenuUI.java:799)
at
java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.jav
a:2360)
at
java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:
2252)
at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2210)
at java.awt.TrayIcon.dispatchEvent(TrayIcon.java:689)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:273)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:173)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
______________________________________________________________________
__________

I know there's been some discussion of systray problems in recent
weeks, but I haven't been able to keep up with the conversation, so my
apologies if I'm repeating a known problem.

-Alan

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

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

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

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


#6

A little update, the exception is throw till the update 7, with the
update 8 it's ok.

···

2009/3/9 Damien Roth <damien.roth@gmail.com>:

Hi,

I have some informations about this problem. According to Sebastien,
the ClassCastException is throw only if the version of java is under
the update 7. The current version is Java6 update 12.

Another question Alan, were you using the precompiled version or a
personnal build from the svn ?

Bye
Damien

2009/3/8 Emil Ivov <emcho@sip-communicator.org>:

Hey Alan, Damien,

For the record, judging from Alan's description of the problem, I don't
think it's enough of a reason to entirely revert to the old AWT
interface which was particularly unseemly.

Still, it would probably be a good idea to create an issue for it so
that it wouldn't slip out of our attention.

Cheers
Emil

Alan Kelly wrote:

Hi Damien,

I believe I had just updated Java right before running those tests, but I'm
not 100 positive, and I don't have that computer available right now. I can
check it out Monday morning and see if I can give you some more specific
details on what's wrong. I don't always get the exception, but I failed to
pin down exactly when it does and doesn't happen.

Thanks,

Alan

-----Original Message-----
From: Damien Roth [mailto:damien.roth@gmail.com]
Sent: Saturday, March 07, 2009 3:38 PM
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] Systray throws ClassCastException

Hi Alan,

Thanks for the report.
I've noticed a little problem with the menu in Windows Vista, but I don't
get the exception (I use the installler).

For me, the error comes from Java since all classes are in java.awt or
javax.swing. ...

Are you using the latest version of java6 ?

I will install a win xp in a virtual machine and do some tests. In any case,
if the problem can't be solve, I will revert the menu to the AWT one.

Bye

Damien

2009/3/6 Alan Kelly <akelly7@gmu.edu>:

Hi all,

I built and ran the newest revision (5105) today, and I noticed some
strange behavior with the systray menu in Windows XP.

If the SC window is open, and then you right-click on the systray icon
to open the menu, you cannot close the systray menu by clicking
outside of the menu. The only exception to this is to click within the
SC window itself. If you close the SC window, and then right-click on
the systray icon, clicking outside the menu sometimes throws an
exception (and still fails to close the menu).

Below is the logger printout:
______________________________________________________________________
__________

13:57:16.808 SEVERE: util.UtilActivator.uncaughtException().81 An
uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main]
and message
was: java.awt.TrayIcon cannot be cast to java.awt.Component
java.lang.ClassCastException: java.awt.TrayIcon cannot be cast to
java.awt.Component
at
javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(B
asicPopupMenuUI.java:799)
at
java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.jav
a:2360)
at
java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:
2252)
at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2210)
at java.awt.TrayIcon.dispatchEvent(TrayIcon.java:689)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:273)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:173)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
______________________________________________________________________
__________

I know there's been some discussion of systray problems in recent
weeks, but I haven't been able to keep up with the conversation, so my
apologies if I'm repeating a known problem.

-Alan

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

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

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

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


#7

Damien,

According to Sebastien,
the ClassCastException is throw only if the version of java is under
the update 7.

As it turns out, even though I remember updating Java, for some reason my
system was still using update 7. I have now updated to update 11, and I will
carry out some more tests.

Another question Alan, were you using the precompiled version or a
personnal build from the svn ?

Build from SVN.

-Alan

···

On Mon, Mar 9, 2009 at 5:23 AM, Damien Roth <damien.roth@gmail.com> wrote:

A little update, the exception is throw till the update 7, with the
update 8 it's ok.

2009/3/9 Damien Roth <damien.roth@gmail.com>:
> Hi,
>
> I have some informations about this problem. According to Sebastien,
> the ClassCastException is throw only if the version of java is under
> the update 7. The current version is Java6 update 12.
>
> Another question Alan, were you using the precompiled version or a
> personnal build from the svn ?
>
> Bye
> Damien
>
> 2009/3/8 Emil Ivov <emcho@sip-communicator.org>:
>> Hey Alan, Damien,
>>
>> For the record, judging from Alan's description of the problem, I don't
>> think it's enough of a reason to entirely revert to the old AWT
>> interface which was particularly unseemly.
>>
>> Still, it would probably be a good idea to create an issue for it so
>> that it wouldn't slip out of our attention.
>>
>> Cheers
>> Emil
>>
>> Alan Kelly wrote:
>>> Hi Damien,
>>>
>>> I believe I had just updated Java right before running those tests, but
I'm
>>> not 100 positive, and I don't have that computer available right now. I
can
>>> check it out Monday morning and see if I can give you some more
specific
>>> details on what's wrong. I don't always get the exception, but I failed
to
>>> pin down exactly when it does and doesn't happen.
>>>
>>> Thanks,
>>>
>>> Alan
>>>
>>> -----Original Message-----
>>> From: Damien Roth [mailto:damien.roth@gmail.com]
>>> Sent: Saturday, March 07, 2009 3:38 PM
>>> To: dev@sip-communicator.dev.java.net
>>> Subject: Re: [sip-comm-dev] Systray throws ClassCastException
>>>
>>> Hi Alan,
>>>
>>> Thanks for the report.
>>> I've noticed a little problem with the menu in Windows Vista, but I
don't
>>> get the exception (I use the installler).
>>>
>>> For me, the error comes from Java since all classes are in java.awt or
>>> javax.swing. ...
>>>
>>> Are you using the latest version of java6 ?
>>>
>>> I will install a win xp in a virtual machine and do some tests. In any
case,
>>> if the problem can't be solve, I will revert the menu to the AWT one.
>>>
>>> Bye
>>>
>>> Damien
>>>
>>>
>>> 2009/3/6 Alan Kelly <akelly7@gmu.edu>:
>>>> Hi all,
>>>>
>>>> I built and ran the newest revision (5105) today, and I noticed some
>>>> strange behavior with the systray menu in Windows XP.
>>>>
>>>> If the SC window is open, and then you right-click on the systray icon
>>>> to open the menu, you cannot close the systray menu by clicking
>>>> outside of the menu. The only exception to this is to click within the
>>>> SC window itself. If you close the SC window, and then right-click on
>>>> the systray icon, clicking outside the menu sometimes throws an
>>>> exception (and still fails to close the menu).
>>>>
>>>> Below is the logger printout:
>>>> ______________________________________________________________________
>>>> __________
>>>>
>>>> 13:57:16.808 SEVERE: util.UtilActivator.uncaughtException().81 An
>>>> uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main]
>>>> and message
>>>> was: java.awt.TrayIcon cannot be cast to java.awt.Component
>>>> java.lang.ClassCastException: java.awt.TrayIcon cannot be cast to
>>>> java.awt.Component
>>>> at
>>>> javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(B
>>>> asicPopupMenuUI.java:799)
>>>> at
>>>> java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.jav
>>>> a:2360)
>>>> at
>>>> java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:
>>>> 2252)
>>>> at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2210)
>>>> at java.awt.TrayIcon.dispatchEvent(TrayIcon.java:689)
>>>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
>>>> at
>>>> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
>>>> d.java:273)
>>>> at
>>>> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
>>>> ava:183)
>>>> at
>>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
>>>> d.java:173)
>>>> at
>>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
>>>> at
>>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
>>>> at
>>>> java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
>>>> ______________________________________________________________________
>>>> __________
>>>>
>>>> I know there's been some discussion of systray problems in recent
>>>> weeks, but I haven't been able to keep up with the conversation, so my
>>>> apologies if I'm repeating a known problem.
>>>>
>>>> -Alan
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
>>> For additional commands, e-mail:
dev-help@sip-communicator.dev.java.net
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
>>> For additional commands, e-mail:
dev-help@sip-communicator.dev.java.net
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
>> For additional commands, e-mail: dev-help@sip-communicator.dev.java.net
>>
>>
>

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