java.lang.ClassCastException: java.lang.Character cannot be cast to com.sun.java.swing.Painter

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Exception when using Nimbus LaF
    via by Roel Van Zeebroeck,
  • Crash report
    via GitHub by benjicraft
    ,
  • Crash report rpw
    via GitHub by Midrag
    ,
  • Crash
    via GitHub by mtjohnson47
    ,
    • 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)

    Users with the same issue

    jpvee
    jpvee1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    poroszd
    poroszd1 times, last one,
    Unknown visitor1 times, last one,
    2 more bugmates