[ https://issues.apache.org/jira/browse/GEODE-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16021774#comment-16021774 ]
ASF subversion and git services commented on GEODE-2951: -------------------------------------------------------- Commit db81d9280cf9b2286294ebcfa3ee7c3418da2ce2 in geode's branch refs/heads/develop from [~barry.oglesby] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=db81d92 ] GEODE-2951: Removed --pageSize option > 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: lucene > Reporter: Barry Oglesby > > 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.3.15#6346)