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

500 Internal Error #75

Closed
DonIvanCorleone opened this issue Jun 22, 2014 · 4 comments
Closed

500 Internal Error #75

DonIvanCorleone opened this issue Jun 22, 2014 · 4 comments

Comments

@DonIvanCorleone
Copy link

Hi there,

I have imported a sub-region from geofabrik.de, imported it into nominatim database and finally started photon. Everything works quite charming, unfortunately the query localhost:2322/api?q=Gutenberg results in a "500 Internal Error" the console output is:
"Error spark.webserver.MatchFilter - java.lang.NullPointerException"

I have no idea whats wrong, do you have any suggestions?

Cheers
Ivan

@christophlingg
Copy link
Member

Can you paste the complete stack trace?

@DonIvanCorleone
Copy link
Author

Here we go:

######## SNIP #########

[qtp1016356310-143] ERROR spark.webserver.MatcherFilter -
java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213)
at com.google.common.base.Objects.firstNonNull(Objects.java:190)
at de.komoot.photon.importer.elasticsearch.Searcher.getLocalised(Searcher.java:113)
at de.komoot.photon.importer.elasticsearch.Searcher.access$300(Searcher.java:29)
at de.komoot.photon.importer.elasticsearch.Searcher$1.apply(Searcher.java:91)
at de.komoot.photon.importer.elasticsearch.Searcher$1.apply(Searcher.java:71)
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.(JSONArray.java:158)
at de.komoot.photon.importer.App$2.handle(App.java:138)
at de.komoot.photon.importer.App$2.handle(App.java:98)
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:744)

SNIP

@christophlingg
Copy link
Member

it's fixed, thanks for reporting!

@DonIvanCorleone
Copy link
Author

Thanks mate!

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