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

Nullpointer on ft:query if <index> element is missing in collection.xconf #2948

Open
windauer opened this issue Aug 12, 2019 · 0 comments
Open
Labels
bug issue confirmed as bug Lucene issue is related to Lucene or its integration
Milestone

Comments

@windauer
Copy link
Member

What is the problem

ft:query throws a NullpointerException in the console if executed against a collection with an erroneous collection.xconf (the element was missing) while in eXide no error is visible.

What did you expect

A more meaningfull error message to get an idea about the underlaying cause.

Describe how to reproduce or add a test

Take any XML you like, create a collection.xconf for it without an element and afterwards run a ft:query against the XML in that collection.

Context information

Please always add the following information

  • eXist-db develop / f14cc5e
  • Java8u201
  • MacOs / Linux
  • 64 bit
  • Github Clone + eXist-db RC8 release
@triage-new-issues triage-new-issues bot added the triage issue needs to be investigated label Aug 12, 2019
@joewiz joewiz changed the title Nullpointer on ft:query if <index> element is missing in configuration.xconf Nullpointer on ft:query if <index> element is missing in collection.xconf Aug 12, 2019
@joewiz joewiz added the bug issue confirmed as bug label Aug 12, 2019
@triage-new-issues triage-new-issues bot removed the triage issue needs to be investigated label Aug 12, 2019
@joewiz joewiz added this to the eXist-5.0.0-RC8 milestone Aug 12, 2019
@duncdrum duncdrum modified the milestones: eXist-5.0.0-RC8, eXist-5.0.0 Aug 14, 2019
@adamretter adamretter modified the milestones: eXist-5.1.0, eXist-5.0.0 Aug 14, 2019
@adamretter adamretter modified the milestones: eXist-5.0.0, eXist-5.1.0 Sep 2, 2019
@adamretter adamretter modified the milestones: eXist-5.1.0, eXist-5.2.0 Nov 19, 2019
@adamretter adamretter modified the milestones: eXist-5.2.0, eXist-5.3.0 Jan 23, 2020
@line-o line-o added the Lucene issue is related to Lucene or its integration label Apr 8, 2020
@adamretter adamretter modified the milestones: eXist-5.3.1, eXist-5.3.2 Dec 16, 2021
@adamretter adamretter modified the milestones: eXist-5.3.2, eXist-6.0.2 Feb 14, 2022
@adamretter adamretter modified the milestones: eXist-6.0.2, eXist-6.1.1 Jan 15, 2023
@adamretter adamretter modified the milestones: eXist-6.1.1, eXist-7.0.1 Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue confirmed as bug Lucene issue is related to Lucene or its integration
Projects
None yet
Development

No branches or pull requests

5 participants