Bugs item #3489524, was opened at 2012-02-20 01:32
Message generated for change (Tracker Item Submitted) made by cpudney
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=744692&aid=3489524&group_id=139835

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Chris Pudney (cpudney)
Assigned to: Nobody/Anonymous (nobody)
Summary: ClassCastException rendering Tasks window on Windows L&F

Initial Comment:
When running on Windows (7 & Vista), i.e. when the Window Look & Feel is used, 
the following exception occurs when the Tasks progress window is displayed:

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: 
javax.swing.plaf.ColorUIResource cannot be cast to java.util.List

(full stack-trace below)

This causes problems displaying the Task window (and other windows), see the 
attached screen shot.

Googling suggests this exception occurs when windows are rendered on a thread 
other than the Event Dispatch Thread (see SwingUtilities.invokeLater())

-----

[16:49:08|INFO|ProjectOpeningTask]: Started opening project 
C:\Users\cpudney\MS\sample-2.3.mzmine
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: 
javax.swing.plaf.ColorUIResource cannot be cast to java.util.List
        at javax.swing.plaf.metal.MetalUtils.drawGradient(Unknown Source)
        at 
javax.swing.plaf.metal.MetalInternalFrameTitlePane.paintComponent(Unknown 
Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JLayeredPane.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.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
        at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.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)

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=744692&aid=3489524&group_id=139835

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Mzmine-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mzmine-devel

Reply via email to