WordRider Home
Welcome! Log In Create A New Profile

Advanced

java.lang.UnsupportedOperationException: The system tray is not supported on the current platform.

Posted by wdc 
Hi, i have seen this error on Arch Manjaro Linux with XFCE while running frd 1.0beta #639

Error
 

Message:
    java.lang.UnsupportedOperationException: The system tray is not supported on the current platform.
Level:
    SEVERE
Stack Trace:
The system tray is not supported on the current platform.
    java.awt.SystemTray.getSystemTray(SystemTray.java:186)
    sun.awt.X11.XTrayIconPeer$4$1.run(XTrayIconPeer.java:225)
    java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    java.awt.EventQueue.access$500(EventQueue.java:97)
    java.awt.EventQueue$3.run(EventQueue.java:709)
    java.awt.EventQueue$3.run(EventQueue.java:703)
    java.security.AccessController.doPrivileged(Native Method)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
    java.awt.EventQueue$4.run(EventQueue.java:733)
    java.awt.EventQueue$4.run(EventQueue.java:731)
    java.security.AccessController.doPrivileged(Native Method)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
    java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
    java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
    java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
    java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
    java.security.AccessController.doPrivileged(Native Method)
    java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
    java.awt.Dialog.show(Dialog.java:1084)
    java.awt.Component.show(Component.java:1671)
    java.awt.Component.setVisible(Component.java:1623)
    java.awt.Window.setVisible(Window.java:1014)
    java.awt.Dialog.setVisible(Dialog.java:1005)
    org.jdesktop.swingx.JXErrorPane$1.run(JXErrorPane.java:398)
    org.jdesktop.swingx.JXErrorPane.showDialog(JXErrorPane.java:411)
    cz.vity.freerapid.swing.Swinger.showErrorDialog(Swinger.java:297)
    cz.vity.freerapid.swing.Swinger.showErrorDialog(Swinger.java:286)
    cz.vity.freerapid.swing.Swinger.showErrorDialog(Swinger.java:260)
    cz.vity.freerapid.swing.Swinger.showErrorDialog(Swinger.java:268)
    cz.vity.freerapid.core.application.GlobalEDTExceptionHandler$1.run(GlobalEDTExceptionHandler.java:89)
    java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    java.awt.EventQueue.access$500(EventQueue.java:97)
    java.awt.EventQueue$3.run(EventQueue.java:709)
    java.awt.EventQueue$3.run(EventQueue.java:703)
    java.security.AccessController.doPrivileged(Native Method)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
    java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Re: java.lang.UnsupportedOperationException: The system tray is not supported on the current platform.
December 17, 2020 02:53PM
Which Java version do you use?
Try this command in console:

java -version

-------------------------------------

> java -version

i am using my system default one.

openjdk version "1.8.0_265"
OpenJDK Runtime Environment (build 1.8.0_265-b01)
OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)
Re: java.lang.UnsupportedOperationException: The system tray is not supported on the current platform.
December 17, 2020 08:21PM
Try to use Oracle v11 instead

-------------------------------------

There is how to install it on Arch/Manjaro.
But why i should do this?
A ) to stop future crashes for me or
B ) it is the first step in process of fixing possible issue in FRD code?



Edited 1 time(s). Last edit at 12/22/2020 02:14PM by wdc.
Re: java.lang.UnsupportedOperationException: The system tray is not supported on the current platform.
December 22, 2020 10:29AM
The problem is inside of the JDK + your UX. Newer versions of the JDK might resolve your problem.

-------------------------------------

Sorry, only registered users may post in this forum.

Click here to login