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 get-Method without set-Method is used #17

Open
jblankenhorn opened this issue Feb 27, 2017 · 0 comments
Open

NPE when get-Method without set-Method is used #17

jblankenhorn opened this issue Feb 27, 2017 · 0 comments
Assignees
Labels

Comments

@jblankenhorn
Copy link
Member

Code

public String getSomething() { return "abcdef"; }

Exception

Caused by: java.lang.NullPointerException at com.w11k.lsql.PojoMapper.setPropertyAccessible(PojoMapper.java:161) ~[lsql-core-0.23.0.jar:?] at com.w11k.lsql.PojoMapper.<init>(PojoMapper.java:45) ~[lsql-core-0.23.0.jar:?] at com.w11k.lsql.PojoMapper.getFor(PojoMapper.java:20) ~[lsql-core-0.23.0.jar:?] at com.w11k.lsql.query.PojoQuery.<init>(PojoQuery.java:19) ~[lsql-core-0.23.0.jar:?] at com.w11k.lsql.sqlfile.LSqlFile$2.createQueryInstance(LSqlFile.java:73) ~[lsql-core-0.23.0.jar:?] at com.w11k.lsql.sqlfile.LSqlFile$2.createQueryInstance(LSqlFile.java:70) ~[lsql-core-0.23.0.jar:?] at com.w11k.lsql.statement.AbstractSqlStatement.query(AbstractSqlStatement.java:33) ~[lsql-core-0.23.0.jar:?]

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

No branches or pull requests

2 participants