So I'm working on a plugin in which I need a YAML file to temporarily store information about conversations I created, and I'm having trouble with NullPointerExceptions. It only occurs when I try to use two of my commands, and occurs in the for loop that goes through the keys in my config file. I think it's due to the fact that I set up my custom Yml file incorrectly, so it can't access it in my classes, but it might be something else entirely. Also, ignore my comments about the hashmaps in the code, I was originally trying to use one instead of the yml file, but recently decided to switch. Here's my main class where I attempted to set up the file (Note I have the regular config file, plus this additional one): Code (Move your mouse to reveal the content) Code (open) Code (close) Code removed, issue changed. Here's part of my commands class (leaving out irrelevant commands): Code (Move your mouse to reveal the content) Code (open) Code (close) Code removed, issue changed. Any help is greatly appreciated. Also, just ask if there's any more information I forgot to include.