Several of my users have reported this error after upgrading to Java 7 Update 25:
UIDefaults.getUI() failed: no ComponentUI class for: Javax.swing.JMenu[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=null,paintBorder=false,paintFocus=false,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=]
java.lang.Error
at javax.swing.UIDefaults.getUIError(Unknown Source)
at javax.swing.MultiUIDefaults.getUIError(Unknown Source)
at javax.swing.UIDefaults.getUI(Unknown Source)
at javax.swing.UIManager.getUI(Unknown Source)
at javax.swing.JMenu.updateUI(Unknown Source)
at javax.swing.JMenuItem.init(Unknown Source)
at javax.swing.JMenuItem.<init>(Unknown Source)
at javax.swing.JMenuItem.<init>(Unknown Source)
at javax.swing.JMenu.<init>(Unknown Source)
at javax.swing.JMenu.<init>(Unknown Source)
...
when creating a JMenu like this: final JMenu submenu = new JMenu();
The application has not changed (and works fine on 7U21) and only some of the users experience this.
After restarting the application it seems to run correctly.
The are running on Windows 7
Anyone else seen this error on 7U25?