1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved Getting an error when starting specific bots.

Discussion in 'Client & Site Support' started by dukejukem, May 1, 2015.

  1. dukejukem

    Joined:
    Apr 6, 2015
    Messages:
    8
    Likes Received:
    0
    Hi, after posting on the bot creators thread, I was told that this is a client error so I am posting here, every time I try to start this bot and some other bots I get an error message that consists of this
    java.lang.NullPointerException
    at com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName(Unknown Source)
    at com.sun.java.swing.plaf.windows.XPStyle.getBorder(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPBorderValue.getXPValue(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.createValue(Unknown Source)
    at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
    at javax.swing.UIDefaults.get(Unknown Source)
    at javax.swing.MultiUIDefaults.get(Unknown Source)
    at javax.swing.UIDefaults.getBorder(Unknown Source)
    at javax.swing.UIManager.getBorder(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.installDefaults(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.installUI(Unknown Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.swing.text.JTextComponent.setUI(Unknown Source)
    at javax.swing.text.JTextComponent.updateUI(Unknown Source)
    at javax.swing.text.JTextComponent.<init>(Unknown Source)
    at javax.swing.JTextField.<init>(Unknown Source)
    at javax.swing.JTextField.<init>(Unknown Source)
    at com.runemate.maxiscripts.looping.woodcut.GUI.<init>(GUI.java:338)
    at com.runemate.maxiscripts.looping.woodcut.MaxiWoodcutter.onStart(MaxiWoodcutter.java:107)
    at com.runemate.game.api.script bot.framework.AbstractScript.start(jnb:19)
    at app.bj.run(ukb:214)
     
  2. Best Answer:
    Post #2 by SlashnHax, May 2, 2015
  3. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,198
    Likes Received:
    1,041
    Custom Windows themes and Swing GUI's don't mesh well :/
     
  4. dukejukem

    Joined:
    Apr 6, 2015
    Messages:
    8
    Likes Received:
    0
    Thank you so much, disabling my windows theme made it work! Thanks!
     
  5. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,198
    Likes Received:
    1,041
    No worries, I had the same problem before :p
     

Share This Page

Loading...