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

Comments

Projects
None yet
2 participants
@renataogarcia
Contributor

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

This comment has been minimized.

Show comment
Hide comment
@renataogarcia

renataogarcia Oct 6, 2012

Contributor

Thanks!

Contributor

renataogarcia commented Oct 6, 2012

Thanks!

@timowest timowest reopened this Oct 6, 2012

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Oct 6, 2012

Member

I'll close it when it's released

Member

timowest commented Oct 6, 2012

I'll close it when it's released

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Oct 19, 2012

Member

Released in 2.8.1

Member

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