JDK-8041427 : Customed Window theme breaks Java Swing Window LaF
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7u51
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86
  • Submitted: 2014-04-19
  • Updated: 2014-04-22
  • Resolved: 2014-04-22
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :


ADDITIONAL OS VERSION INFORMATION :
All Windows

A DESCRIPTION OF THE PROBLEM :
If one uses a customized Windows theme, and then runs a Java Swing application that uses Windows LaF, this Java app will unexpectedly break on startup.

See screenshot with stacktrace:
https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn2/t31.0-8/1425407_10203331149096457_6276527855698832530_o.jpg

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Use custom Windows theme
2. Run Java app that uses Windows LaF
3. Application crashes due to NPE somewhere in the LaF code

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
1. Application should work, and Windows LaF should deal with unexpected values.
ACTUAL -
NPE in the LaF code will break the application

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Set Nimbus LaF


Comments
Screenshot with stack trace.
22-04-2014

It is most likely this is dupe of JDK-8039383.
22-04-2014