-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
7u51
-
x86
-
windows_7
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
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
- duplicates
-
JDK-8039383 NPE when changing Windows Theme
-
- Resolved
-