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

NullPointerException within Okapi.getCachesAround and OcUtil.findSingleGeocache #43

Closed
FriedrichFroebel opened this issue Dec 5, 2020 · 1 comment
Labels

Comments

@FriedrichFroebel
Copy link
Owner

FriedrichFroebel commented Dec 5, 2020

There have been reports about NullPointerExceptions in the mentioned methods if there are no search results. This seems a bit strange as this was the first report about this, but I would have expected more reports in this widely used features. The reports have been about Java 15, so this might be related to changes introduced there and should be investigated further as it might affect other parts of the source code as well.

As a first step, we should probably add a test for this as there is none at the moment. Some quick fixes for the reported source positions have been committed already.

@FriedrichFroebel
Copy link
Owner Author

A corresponding test case has been added for OcUtil.

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

1 participant