Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Null argument error when updating Maven project

I'm trying to update my multimodule Maven project by right clicking the project in "Project Explorer" and selecting "Maven" -> "Update". Then I get the messeage

Could not update project NAME configuration: null argument

enter image description here

The other projects update normally whithout errors. What can I do in this case?

Edit: I'm using Eclipse Mars

like image 916
thomasso Avatar asked Dec 14 '15 13:12

thomasso


2 Answers

I had the exact same problem. The .log entries are a very good hint (location: workspace/.metadata/.log). The solution was to go into Window/Preferences then navigate to Maven/Java EE Integration. Turn off the "JPA Configurator" option.

like image 63
user685673 Avatar answered Sep 30 '22 20:09

user685673


Just had the same issue. Looking at workspace/.metadata/.log the stack trace mentioned JpaFacetDataModelProvider. Then I remember I turned off the JPA facet in my project due to some other earlier problem. Re-enabling the JPA facet made the Maven issue go away. The JPA error I had earlier didn't come back, so lucky me.

like image 38
geert3 Avatar answered Sep 30 '22 18:09

geert3