IntelliJ IDEA UI Designer form elements initialize to null
问题 I started developing a simple tool on my laptop and wanted to move the project to my PC. Because i use version control I first simply cloned the repo, after that did not work I also tried copying the files. After fixing some character issues, I get a NullPointerException when initializing my main form. I don't have that exception on my laptop. I also found out that every single form element in the Java class is initialized to null, even though the form is bound to the class. Github Repo 回答1: