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

SchemaAndTable hashCode() and equals() methods throw NullPointerException in case of null schema #918

attila-kiss-it opened this issue Sep 1, 2014 · 2 comments


Copy link

@attila-kiss-it attila-kiss-it commented Sep 1, 2014

Either the construct should check for null parameters or the equals and hashCode should handle null values.

at com.mysema.query.sql.SchemaAndTable.hashCode(
at java.util.HashMap.hash(
at java.util.HashMap.get(
at com.mysema.query.sql.Configuration.getColumnOverride(
at com.mysema.query.sql.SQLSerializer.appendAsColumnName(
at com.mysema.query.sql.SQLSerializer.visit(
at com.mysema.query.sql.SQLSerializer.visit(
at com.mysema.query.types.path.NumberPath.accept(
at com.mysema.query.sql.SQLSerializer.serializeForInsert(
at com.mysema.query.sql.SQLTemplates.serializeInsert(
at com.mysema.query.sql.SQLSerializer.serializeInsert(
at com.mysema.query.sql.dml.SQLInsertClause.createStatement(
at com.mysema.query.sql.dml.SQLInsertClause.executeWithKeys(
at com.mysema.query.sql.dml.SQLInsertClause.executeWithKey(
at com.mysema.query.sql.dml.SQLInsertClause.executeWithKey(

Copy link

@timowest timowest commented Sep 1, 2014

Thanks for the bug report! I added a PR to fix it.

@timowest timowest added this to the 3.5.0 milestone Sep 1, 2014
@timowest timowest closed this in #919 Sep 2, 2014
Copy link

@timowest timowest commented Sep 30, 2014

Released in 3.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.