Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Roel Van Zeebroeck, 1 year ago
java.lang.Character cannot be cast to com.sun.java.swing.Painter
via Oracle Community by 843806, 3 months ago
java.lang.Character cannot be cast to com.sun.java.swing.Painter
via Google Groups by Nussbaum-Jones, Nina, 5 months ago
com.sun.java.swing.plaf.nimbus.DerivedColor$UIResource cannot be cast to com.sun.java.swing.Painter
via sun.com by Unknown author, 1 year ago
javax.swing.plaf.FontUIResource cannot be cast to com.sun.java.swing.Painter
via GitHub by stlanger
, 2 years ago
com.sun.java.swing.plaf.nimbus.DerivedColor$UIResource cannot be cast to com.sun.java.swing.Painter
java.lang.ClassCastException: java.lang.Character cannot be cast to com.sun.java.swing.Painter	at com.sun.java.swing.plaf.nimbus.NimbusStyle.getBackgroundPainter(NimbusStyle.java:821)	at com.sun.java.swing.plaf.nimbus.SynthPainterImpl.paintBackground(SynthPainterImpl.java:85)	at com.sun.java.swing.plaf.nimbus.SynthPainterImpl.paintSpinnerBackground(SynthPainterImpl.java:1776)	at javax.swing.plaf.synth.SynthSpinnerUI.update(SynthSpinnerUI.java:297)	at javax.swing.JComponent.paintComponent(JComponent.java:763)	at javax.swing.JComponent.paint(JComponent.java:1027)	at javax.swing.JComponent.paintChildren(JComponent.java:864)	at javax.swing.JComponent.paint(JComponent.java:1036)	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:277)	at javax.swing.RepaintManager.paint(RepaintManager.java:1217)	at javax.swing.JComponent._paintImmediately(JComponent.java:5070)	at javax.swing.JComponent.paintImmediately(JComponent.java:4880)	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)