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

internal error on complex queries #104

Closed
otty opened this issue Aug 20, 2014 · 1 comment
Closed

internal error on complex queries #104

otty opened this issue Aug 20, 2014 · 1 comment

Comments

@otty
Copy link

otty commented Aug 20, 2014

photon throws the following error to console if the query is more complex as q=berlin, e.g. with

q=torstraße%2044

the error:

[qtp261755494-137] ERROR spark.webserver.MatcherFilter -
java.lang.NullPointerException
    at de.komoot.photon.importer.elasticsearch.Searcher$1.apply(Searcher.java:78)
    at de.komoot.photon.importer.elasticsearch.Searcher$1.apply(Searcher.java:74)
    at com.google.common.collect.Lists$TransformingRandomAccessList$1.transform(Lists.java:582)
    at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
    at org.json.JSONArray.<init>(JSONArray.java:158)
    at de.komoot.photon.importer.App$2.handle(App.java:156)
    at de.komoot.photon.importer.App$2.handle(App.java:116)
    at spark.webserver.MatcherFilter.doFilter(MatcherFilter.java:139)
    at spark.webserver.JettyHandler.doHandle(JettyHandler.java:54)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:179)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:451)
    at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:252)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:266)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:240)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:596)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:527)
    at java.lang.Thread.run(Thread.java:745)
@christophlingg
Copy link
Member

thanks @otty this was already reported (#99) and fixed. it will be part of the 0.1.1 release

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