java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String

Mirth Project | Nick Rupley | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    {code}Exception in thread "AWT-EventQueue-2" java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String at com.mirth.connect.client.ui.ChannelPanel$8.isHighlighted(ChannelPanel.java:434) at org.jdesktop.swingx.decorator.AbstractHighlighter.highlight(AbstractHighlighter.java:170) at org.jdesktop.swingx.decorator.CompoundHighlighter.doHighlight(CompoundHighlighter.java:235) at org.jdesktop.swingx.decorator.AbstractHighlighter.highlight(AbstractHighlighter.java:172) at org.jdesktop.swingx.JXTable.prepareRenderer(JXTable.java:3555) at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source) at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source) at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source) at javax.swing.plaf.ComponentUI.update(Unknown Source) at javax.swing.JComponent.paintComponent(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintToOffscreen(Unknown Source) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source) at javax.swing.RepaintManager$PaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) at javax.swing.RepaintManager$4.run(Unknown Source) at javax.swing.RepaintManager$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.access$1200(Unknown Source) at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source){code}

    Mirth Project | 1 year ago | Nick Rupley
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
  2. 0

    {code}Exception in thread "AWT-EventQueue-2" java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String at com.mirth.connect.client.ui.ChannelPanel$8.isHighlighted(ChannelPanel.java:434) at org.jdesktop.swingx.decorator.AbstractHighlighter.highlight(AbstractHighlighter.java:170) at org.jdesktop.swingx.decorator.CompoundHighlighter.doHighlight(CompoundHighlighter.java:235) at org.jdesktop.swingx.decorator.AbstractHighlighter.highlight(AbstractHighlighter.java:172) at org.jdesktop.swingx.JXTable.prepareRenderer(JXTable.java:3555) at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source) at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source) at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source) at javax.swing.plaf.ComponentUI.update(Unknown Source) at javax.swing.JComponent.paintComponent(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintToOffscreen(Unknown Source) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source) at javax.swing.RepaintManager$PaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) at javax.swing.RepaintManager$4.run(Unknown Source) at javax.swing.RepaintManager$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.access$1200(Unknown Source) at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source){code}

    Mirth Project | 1 year ago | Nick Rupley
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Long cannot be cast to java.lang.String

      at com.mirth.connect.client.ui.ChannelPanel$8.isHighlighted()
    2. com.mirth.connect
      ChannelPanel$8.isHighlighted
      1. com.mirth.connect.client.ui.ChannelPanel$8.isHighlighted(ChannelPanel.java:434)
      1 frame
    3. SwingX Core
      JXTable.prepareRenderer
      1. org.jdesktop.swingx.decorator.AbstractHighlighter.highlight(AbstractHighlighter.java:170)
      2. org.jdesktop.swingx.decorator.CompoundHighlighter.doHighlight(CompoundHighlighter.java:235)
      3. org.jdesktop.swingx.decorator.AbstractHighlighter.highlight(AbstractHighlighter.java:172)
      4. org.jdesktop.swingx.JXTable.prepareRenderer(JXTable.java:3555)
      4 frames
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
      2. javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
      3. javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
      4. javax.swing.plaf.ComponentUI.update(Unknown Source)
      5. javax.swing.JComponent.paintComponent(Unknown Source)
      6. javax.swing.JComponent.paint(Unknown Source)
      7. javax.swing.JComponent.paintToOffscreen(Unknown Source)
      8. javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
      9. javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
      10. javax.swing.RepaintManager.paint(Unknown Source)
      11. javax.swing.JComponent._paintImmediately(Unknown Source)
      12. javax.swing.JComponent.paintImmediately(Unknown Source)
      13. javax.swing.RepaintManager$4.run(Unknown Source)
      14. javax.swing.RepaintManager$4.run(Unknown Source)
      15. java.security.AccessController.doPrivileged(Native Method)
      16. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      17. javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      18. javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      19. javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
      20. javax.swing.RepaintManager.access$1200(Unknown Source)
      21. javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
      22. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      23. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      24. java.awt.EventQueue.access$500(Unknown Source)
      25. java.awt.EventQueue$3.run(Unknown Source)
      26. java.awt.EventQueue$3.run(Unknown Source)
      27. java.security.AccessController.doPrivileged(Native Method)
      28. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      29. java.awt.EventQueue.dispatchEvent(Unknown Source)
      30. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      31. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      32. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      33. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      34. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      35. java.awt.EventDispatchThread.run(Unknown Source)
      35 frames