Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

matthewadams opened this issue Apr 8, 2013 · 1 comment


Copy link

@matthewadams 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] ------------------------------------------------------------------------
[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]
Copy link

@timowest 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
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants