You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Trejkaz (JIRA)" <ji...@apache.org> on 2015/10/29 00:20:27 UTC

[jira] [Created] (LUCENE-6864) java.util.MissingResourceException: Can't find bundle for base name org.apache.lucene.queryParser.messages.QueryParserMessages

Trejkaz created LUCENE-6864:
-------------------------------

             Summary: java.util.MissingResourceException: Can't find bundle for base name org.apache.lucene.queryParser.messages.QueryParserMessages
                 Key: LUCENE-6864
                 URL: https://issues.apache.org/jira/browse/LUCENE-6864
             Project: Lucene - Core
          Issue Type: Bug
          Components: modules/queryparser
    Affects Versions: 5.2.1
            Reporter: Trejkaz
            Priority: Minor


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

{noformat}
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)
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org