It looks like something to do with what librarys you are running with.

I actually have two different scenarios with the same project, netbeans runs my project fine with beans only being created once, whereas intellij is having the problem you mention and calling the method twice.