Setting a value to null using JPAUpdateClause throws NullPointerException #230

Closed
zenios opened this Issue Sep 17, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@zenios

zenios commented Sep 17, 2012

QUserEntity user = QUserEntity.userEntity;
JPAUpdateClause query = new JPAUpdateClause(this.em,user);

query.set(user.sessionId,null).execute();

Caused by: java.lang.NullPointerException
at com.mysema.query.types.ValidatingVisitor.visit(ValidatingVisitor.java:121)
at com.mysema.query.types.ValidatingVisitor.visit(ValidatingVisitor.java:55)
at com.mysema.query.types.ValidatingVisitor.visit(ValidatingVisitor.java:29)
at com.mysema.query.types.OperationImpl.accept(OperationImpl.java:81)
at com.mysema.query.DefaultQueryMetadata.validate(DefaultQueryMetadata.java:325)
at com.mysema.query.DefaultQueryMetadata.addProjection(DefaultQueryMetadata.java:159)
at com.mysema.query.jpa.impl.JPAUpdateClause.set(JPAUpdateClause.java:83)

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Sep 29, 2012

Member

Released in 2.8.0

Member

timowest commented Sep 29, 2012

Released in 2.8.0

@timowest timowest closed this Sep 29, 2012

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