Customed Window theme breaks Java Swing Window LaF

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 7u51
    • Component/s: 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

            Assignee:
            Dmitry Markov
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: