Menu

NullPointerException when setting the look and feel

TomK
2012-07-18
2012-08-09
  • TomK

    TomK - 2012-07-18

    When I try to apply the Joxy Look & Feel in my application I get the following NullPointerException:

    java.lang.NullPointerException
        at joxy.utils.Utils.stringToColorUI(Utils.java:419)
        at joxy.utils.Utils.getKDEColorMap(Utils.java:136)
        at joxy.JoxyLookAndFeel.initSystemColorDefaults(JoxyLookAndFeel.java:160)
        at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:146)
        at joxy.JoxyLookAndFeel.getDefaults(JoxyLookAndFeel.java:73)
        at javax.swing.UIManager.setLookAndFeel(UIManager.java:532)
    

    This is with Java 1.7.0_03 and Kubuntu 12.04

     
  • Willem3141

    Willem3141 - 2012-07-19

    Hello Thomas,
    I think this is the same bug as discussed here. Could you try the debug version of Joxy (see https://sourceforge.net/projects/joxy/files/Debug%20versions/) and see if the problem still persists?

     
    • Thom Castermans

      Thom Castermans - 2012-08-09

      For people reading this now: because of a little reorganization of our files, the debug version can now be found here.

      Browse the Experimental folder for the latest debug version. You can of course also download and compile the source from Git.

       
  • TomK

    TomK - 2012-08-02

    Yes, that version (2012-06-13) works. Thanks

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.