Use of querydsl-maven-plugin/jpa-export goal without <packages> in <configuration> throws NPE #386

Closed
matthewadams opened this Issue Apr 8, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@matthewadams
Contributor

matthewadams commented Apr 8, 2013

If you use querydsl-maven-plugin's jpa-export goal (or others, I imagine, based on my inspection of the code) without a <packages> element in <configuration>, the execution produces a NullPointerException due to the lack of a guard around that condition.

...
[INFO] --- querydsl-maven-plugin:3.1.1.BUILD-SNAPSHOT:jpa-export (default) @ app-domain ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.619s
[INFO] Finished at: Mon Apr 08 15:00:03 CDT 2013
[INFO] Final Memory: 11M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.mysema.querydsl:querydsl-maven-plugin:3.1.1.BUILD-SNAPSHOT:jpa-export (default) on project app-domain: Execution default of goal com.mysema.querydsl:querydsl-maven-plugin:3.1.1.BUILD-SNAPSHOT:jpa-export failed. NullPointerException -> [Help 1]
...
@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Apr 16, 2013

Member

Released in 3.1.1

Member

timowest commented Apr 16, 2013

Released in 3.1.1

@timowest timowest closed this Apr 16, 2013

@timowest timowest added this to the 3.1.1 milestone Apr 14, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment