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

[BUG] PredicateToSQL #6

Closed
sawcioo opened this issue Oct 28, 2014 · 3 comments
Closed

[BUG] PredicateToSQL #6

sawcioo opened this issue Oct 28, 2014 · 3 comments

Comments

@sawcioo
Copy link

sawcioo commented Oct 28, 2014

Hello, i create predicate like this:
PredicateBuilder.parse("createDate != null").
I gets java.lang.NullPointerException at com.github.dkharrat.nexusdata.store.DatabaseQueryService$QueryBuilder.visit(PredicateToSQL.java:85) at com.github.dkharrat.nexusdata.store.DatabaseQueryService$QueryBuilder.visit(PredicateToSQL.java:166) at com.github.dkharrat.nexusdata.store.DatabaseQueryService$QueryBuilder.visit(PredicateToSQL.java:137) at com.github.dkharrat.nexusdata.store.DatabaseQueryService$QueryBuilder.visit(PredicateToSQL.java:156) at com.github.dkharrat.nexusdata.store.DatabaseQueryService$QueryBuilder.visit(PredicateToSQL.java:116) at com.github.dkharrat.nexusdata.store.DatabaseQueryService$QueryBuilder.visit(PredicateToSQL.java:154) at com.github.dkharrat.nexusdata.store.DatabaseQueryService.buildQuery(PredicateToSQL.java:62) at com.github.dkharrat.nexusdata.store.DatabaseQueryService.query(PredicateToSQL.java:41) at com.github.dkharrat.nexusdata.store.AndroidSqlPersistentStore.executeFetchRequest(AndroidSqlPersistentStore.java:85) at com.github.dkharrat.nexusdata.core.ObjectContext.executeFetchOperation(ObjectContext.java:120)

@dkharrat
Copy link
Owner

Thanks for reporting this bug. This should be fixed in master now.

@sawcioo
Copy link
Author

sawcioo commented Nov 4, 2014

Thanks. Could you please push to maven?

@dkharrat
Copy link
Owner

Pushed release 0.1.3 containing this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants