Hallo,
meine Anwendung produziert zufällige Exceptions, deren Herkunft mir nicht ganz klar ist. Ich verwende das Nimbus L&F, die Exceptions haben keinerlei Einfluß auf den Programmablauf und treten zufällig, nicht reproduzierbar aber stetig auf.
Hier sind einige Beispiele:
Oder:
Oder
Hat jemand eine Idee woran es liegt?
Danke!
meine Anwendung produziert zufällige Exceptions, deren Herkunft mir nicht ganz klar ist. Ich verwende das Nimbus L&F, die Exceptions haben keinerlei Einfluß auf den Programmablauf und treten zufällig, nicht reproduzierbar aber stetig auf.
Hier sind einige Beispiele:
Date: Wed Jan 26 17:28:56 CET 2011
You crashed thread AWT-EventQueue-0
Exception was: java.lang.ClassCastException: com.sun.java.swing.plaf.nimbus.DerivedColor$UIResource cannot be cast to com.sun.java.swing.Painter
Trace: --> at com.sun.java.swing.plaf.nimbus.NimbusStyle.getBackgroundPainter(Unknown Source)--> at com.sun.java.swing.plaf.nimbus.SynthPainterImpl.paintBackground(Unknown Source)--> at com.sun.java.swing.plaf.nimbus.SynthPainterImpl.paintPanelBackground(Unknown Source)--> at javax.swing.plaf.synth.SynthPanelUI.update(Unknown Source)--> at javax.swing.JComponent.paintComponent(Unknown Source)--> at Image.ImageAreaComponent.paintComponent(ImageAreaComponent.java:248)--> 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.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.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)
Oder:
Date: Wed Jan 26 17:33:45 CET 2011
You crashed thread AWT-EventQueue-0
Exception was: java.lang.ClassCastException: java.lang.Boolean cannot be cast to com.sun.java.swing.Painter
Trace: --> at com.sun.java.swing.plaf.nimbus.NimbusStyle.getBackgroundPainter(Unknown Source)--> at com.sun.java.swing.plaf.nimbus.SynthPainterImpl.paintBackground(Unknown Source)--> at com.sun.java.swing.plaf.nimbus.SynthPainterImpl.paintPanelBackground(Unknown Source)--> at javax.swing.plaf.synth.SynthPanelUI.update(Unknown Source)--> at javax.swing.JComponent.paintComponent(Unknown Source)--> at Image.ImageAreaComponent.paintComponent(ImageAreaComponent.java:248)--> 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.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.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)
Oder
Date: Wed Jan 26 17:35:23 CET 2011
You crashed thread AWT-EventQueue-0
Exception was: java.lang.ClassCastException: javax.swing.plaf.FontUIResource cannot be cast to com.sun.java.swing.Painter
Trace: --> at com.sun.java.swing.plaf.nimbus.NimbusStyle.getBackgroundPainter(Unknown Source)--> at com.sun.java.swing.plaf.nimbus.SynthPainterImpl.paintBackground(Unknown Source)--> at com.sun.java.swing.plaf.nimbus.SynthPainterImpl.paintPanelBackground(Unknown Source)--> at javax.swing.plaf.synth.SynthPanelUI.update(Unknown Source)--> at javax.swing.JComponent.paintComponent(Unknown Source)--> at javax.swing.JComponent.paint(Unknown Source)--> at Image.ImgShowComponent.paint(ImgShowComponent.java:330)--> at javax.swing.JComponent.paintChildren(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.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.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)
Hat jemand eine Idee woran es liegt?
Danke!
Zuletzt bearbeitet: