geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Baker (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GEODE-2951) A gfsh lucene query specifying --pageSize fails with a NullPointerException
Date Sat, 17 Jun 2017 18:04:19 GMT

     [ 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)

Mime
View raw message