Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8041427

Customed Window theme breaks Java Swing Window LaF

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7u51
    • client-libs

      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

            dmarkov Dmitry Markov
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: