Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2134

ROAR plugin should not depend on com.sun package

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.3
    • Fix Version/s: 2.9.0
    • Component/s: Roar
    • Labels:
      None

      Description

      I'm getting this error while ROAR is active. The code seems to depend on proprietary Sun code that's not available in my JRE.

      Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/sun/awt/AWTUtilities
      	at org.jivesoftware.spark.roar.gui.RoarPanel.createWindow(RoarPanel.java:60)
      	at org.jivesoftware.spark.roar.gui.RoarPanel.popupWindow(RoarPanel.java:132)
      	at org.jivesoftware.spark.roar.displaytype.TopRight.messageReceived(TopRight.java:68)
      	at org.jivesoftware.spark.roar.RoarMessageListener.decideForRoomAndMessage(RoarMessageListener.java:74)
      	at org.jivesoftware.spark.roar.RoarMessageListener.messageReceived(RoarMessageListener.java:63)
      	at org.jivesoftware.spark.ChatManager.fireGlobalMessageReceievedListeners(ChatManager.java:451)
      	at org.jivesoftware.spark.ui.ChatRoom.insertMessage(ChatRoom.java:558)
      	at org.jivesoftware.spark.ui.rooms.GroupChatRoom.handleMessagePacket(GroupChatRoom.java:649)
      	at org.jivesoftware.spark.ui.rooms.GroupChatRoom.lambda$processStanza$2(GroupChatRoom.java:592)
      	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
      	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
      	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
      	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
      	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
      	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
      	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
      	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
      	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
      	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
      

        Attachments

          Activity

            People

            Assignee:
            guus Guus der Kinderen
            Reporter:
            guus Guus der Kinderen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: