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

NPE when exporting JDO using maven plugin #243

Closed
renataogarcia opened this issue Oct 3, 2012 · 3 comments
Closed

NPE when exporting JDO using maven plugin #243

renataogarcia opened this issue Oct 3, 2012 · 3 comments

Comments

@renataogarcia
Copy link
Contributor

@renataogarcia renataogarcia commented Oct 3, 2012

I get the following exception when exporting JDO using the maven plugin:

Caused by: java.lang.NullPointerException
at java.lang.Class.getAnnotation(Class.java:3027)
at com.mysema.query.codegen.GenericExporter.handleClass(GenericExporter.java:467)
at com.mysema.query.codegen.GenericExporter.scanPackages(GenericExporter.java:452)
at com.mysema.query.codegen.GenericExporter.export(GenericExporter.java:200)
at com.mysema.query.maven.AbstractExporterMojo.execute(AbstractExporterMojo.java:101)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more

I believe the offending code is at JDOExporterMojo.java:38. I can export successfully if I remove the exporter.setSupertypeAnnotation(null); line on my local querydsl build.

@renataogarcia
Copy link
Contributor Author

@renataogarcia renataogarcia commented Oct 6, 2012

Thanks!

@timowest timowest reopened this Oct 6, 2012
@timowest
Copy link
Member

@timowest timowest commented Oct 6, 2012

I'll close it when it's released

@timowest
Copy link
Member

@timowest timowest commented Oct 19, 2012

Released in 2.8.1

@timowest timowest closed this Oct 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants