Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6864

java.util.MissingResourceException: Can't find bundle for base name org.apache.lucene.queryParser.messages.QueryParserMessages

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.2.1
    • Fix Version/s: None
    • Component/s: modules/queryparser
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      If you call QueryNodeImpl.set but pass null, instead of getting a useful exception, you get a MissingResourceException:

      java.util.MissingResourceException: Can't find bundle for base name org.apache.lucene.queryParser.messages.QueryParserMessages, locale en_AU
      	at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564)
      	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387)
      	at java.util.ResourceBundle.getBundle(ResourceBundle.java:773)
      	at org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl.set(QueryNodeImpl.java:96)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              trejkaz Trejkaz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: