Problemn with IDE and JMonkeyEngine SDK

I was coding some really basic things on the JMonkeyEngine because I’m a begginer on the engine, but I’m a good Java Programer. I was trying to implement an MVC (Model, View, Controler) Architecture on my application, but when I runned it, it crashed showing a NullPointerException whenit tries to add the ActionListener and AnalogListener to a class. I runned then a debug, and the crash never happened, the program runned smoothly and doing exactly what i wanted it to do. this error happens only when I run the program normally… I was wondering, what’s going on? and how can i solve it? Thanks for your help

Try Clean&Build