You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2017/06/17 18:04:19 UTC
[jira] [Closed] (GEODE-2951) A gfsh lucene query specifying
--pageSize fails with a NullPointerException
[ https://issues.apache.org/jira/browse/GEODE-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker closed GEODE-2951.
--------------------------------
> A gfsh lucene query specifying --pageSize fails with a NullPointerException
> ---------------------------------------------------------------------------
>
> Key: GEODE-2951
> URL: https://issues.apache.org/jira/browse/GEODE-2951
> Project: Geode
> Issue Type: Bug
> Components: docs, lucene
> Reporter: Barry Oglesby
> Assignee: Karen Smoler Miller
> Fix For: 1.2.0
>
>
> A gfsh lucene query specifying {{--pageSize}} fails with a NullPointerException:
> {noformat}
> gfsh>search lucene --name=index --region=data --queryStrings=NYPD --defaultField=Agency --pageSize=10
> Could not process command due to GemFire error. An error occurred while searching lucene index across the Geode cluster: null
> {noformat}
> This exception is logged in the locator.log:
> {noformat}
> [info 2017/05/18 12:42:22.317 PDT locator <RMI TCP Connection(2)-192.168.2.4> tid=0x7f] null
> java.lang.NullPointerException
> at org.apache.geode.cache.lucene.internal.cli.LuceneIndexCommands.displayResults(LuceneIndexCommands.java:476)
> at org.apache.geode.cache.lucene.internal.cli.LuceneIndexCommands.searchIndex(LuceneIndexCommands.java:299)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {noformat}
> The same query without the {{--pageSize=10}} setting works fine.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)