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

bug NPE #1

Open
mbsimonovic opened this issue Sep 15, 2016 · 1 comment
Open

bug NPE #1

mbsimonovic opened this issue Sep 15, 2016 · 1 comment
Labels

Comments

@mbsimonovic
Copy link
Member

the service started throwing NPEs for any search. remove & add docker container fixed it.

<h3>Caused by:</h3><pre>java.lang.NullPointerException
    at org.apache.lucene.queryParser.QueryParser.jj_add_error_token(QueryParser.java:1801)
    at org.apache.lucene.queryParser.QueryParser.jj_scan_token(QueryParser.java:1750)
    at org.apache.lucene.queryParser.QueryParser.jj_3R_2(QueryParser.java:1638)
    at org.apache.lucene.queryParser.QueryParser.jj_3_1(QueryParser.java:1624)
    at org.apache.lucene.queryParser.QueryParser.jj_2_1(QueryParser.java:1616)
    at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1289)
    at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1245)
    at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1234)
    at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206)
    at org.string_db.analysis.IndexConfig$ProteinQueryParserImpl.parse(IndexConfig.java:236)
    at org.string_db.analysis.IndexConfig$ProteinQueryParserImpl.parse(IndexConfig.java:224)
    at org.string_db.search.ProteinSearcher.search(ProteinSearcher.java:97)
    at org.string_db.search.ProteinSearcher.search(ProteinSearcher.java:80)
    at org.pax_db.api.rest.search.SearchResourceRepository.search(SearchResourceRepository.java:30)

@mbsimonovic
Copy link
Member Author

it's better to let it fail fast and not catch these exceptions so docker would restart the container. this way it just hangs and keeps throwing exceptions

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