All requests result in NullPointerException after running for some time
See original GitHub issueGetting an NPE on all requests (GET,POST,PATCH,DELETE) after application is running for some time. Using version 2.11.20190113153635. On startup all requests are working fine but at some point all requests result in NPE with below stack trace:
io.crnk.core.engine.internal.http.JsonApiRequestProcessor: - failed to process request, unknown exception thrown java.lang.NullPointerException: null at io.crnk.meta.MetaLookup.discover(MetaLookup.java:206) ~[crnk-meta-2.11.20190113153635.jar!/:?] at io.crnk.meta.MetaLookup.access$300(MetaLookup.java:27) ~[crnk-meta-2.11.20190113153635.jar!/:?] at io.crnk.meta.MetaLookup$2.runDiscovery(MetaLookup.java:116) ~[crnk-meta-2.11.20190113153635.jar!/:?] at io.crnk.meta.provider.MetaPartitionBase.allocateMetaElement(MetaPartitionBase.java:67) ~[crnk-meta-2.11.20190113153635.jar!/:?] at io.crnk.jpa.internal.query.AbstractJpaQueryImpl.<init>(AbstractJpaQueryImpl.java:69) ~[crnk-jpa-2.11.20190113153635.jar!/:?] at io.crnk.jpa.internal.query.backend.criteria.JpaCriteriaQueryImpl.<init>(JpaCriteriaQueryImpl.java:18) ~[crnk-jpa-2.11.20190113153635.jar!/:?] at io.crnk.jpa.query.criteria.JpaCriteriaQueryFactory.query(JpaCriteriaQueryFactory.java:28) ~[crnk-jpa-2.11.20190113153635.jar!/:?] at io.crnk.jpa.query.criteria.JpaCriteriaQueryFactory.query(JpaCriteriaQueryFactory.java:11) ~[crnk-jpa-2.11.20190113153635.jar!/:?] at io.crnk.jpa.JpaEntityRepositoryBase.findAll(JpaEntityRepositoryBase.java:84) ~[crnk-jpa-2.11.20190113153635.jar!/:?]
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
can do it this week. beta has been out a while and is perfectly fine for use
We upgraded to v3 and have not seen the problem since so I am going to close this issue.
Thanks!