Re: Null pointer exception in QueryComponent.MergeDds method

2020-07-07 Thread Jae Joo
Yes, we have timeAllowed=2 sec. On Tue, Jul 7, 2020 at 2:20 PM Mikhail Khludnev wrote: > Still not clear regarding fl param. Does request enabled timeAllowed param? > Anyway debugQuery true should give a clue why "sort_values" are absent in > shard response, note they should be supplied at >

Re: Null pointer exception in QueryComponent.MergeDds method

2020-07-07 Thread Mikhail Khludnev
Still not clear regarding fl param. Does request enabled timeAllowed param? Anyway debugQuery true should give a clue why "sort_values" are absent in shard response, note they should be supplied at QueryComponent.doFieldSortValues(ResponseBuilder, SolrIndexSearcher). On Tue, Jul 7, 2020 at 4:19

Re: Null pointer exception in QueryComponent.MergeDds method

2020-07-07 Thread Jae Joo
8.3.1 the field "id" is for nested document. On Mon, Jul 6, 2020 at 4:17 PM Mikhail Khludnev wrote: > Hi, > What's the version? What's uniqueKey? is it stored? what's fl param? > > On Mon, Jul 6, 2020 at 5:12 PM Jae Joo wrote: > > > I am seeing the nullPointerException in the list belo

Re: Null pointer exception in QueryComponent.MergeDds method

2020-07-06 Thread Mikhail Khludnev
Hi, What's the version? What's uniqueKey? is it stored? what's fl param? On Mon, Jul 6, 2020 at 5:12 PM Jae Joo wrote: > I am seeing the nullPointerException in the list below and I am > looking for how to fix the exception. > > Thanks, > > > NamedList sortFieldValues = > (NamedList)(srsp.getSol

Null pointer exception in QueryComponent.MergeDds method

2020-07-06 Thread Jae Joo
I am seeing the nullPointerException in the list below and I am looking for how to fix the exception. Thanks, NamedList sortFieldValues = (NamedList)(srsp.getSolrResponse().getResponse().get("sort_values")); if (sortFieldValues.size()==0 && // we bypass merging this response only if it's partial

Re: Createsnapshot null pointer exception

2019-02-18 Thread Jan Høydahl
Hi You take all the risk by using unsupported features. A supported way of achieving the same could perhaps be: 1) Create a new empty collection "gatewaycoll" on the nodes you want to dedicate as "gateways" 2) Send your queries to the gateway collection but ask for data from the data collection

Re: Createsnapshot null pointer exception

2019-02-18 Thread SOLR4189
I think, you don't understand what I mean. 1) I create collection with X shards, each shard has hash range (by CREATE collection command) 2) I add Y new shards in the same collection, each shard hasn't hash range, I call them gateways (by CREATE core command) 3) I add LoadBalancer over Y gateways

Null Pointer Exception during periodic deletion of expired doc in solr 7.6

2019-02-14 Thread manjula potula
Hello All, We have upgraded to solr from 6.6 to 7.6 and seeing null pointer exception with DocExpirationUpdateProcessorFactory. Didn't see this issue in 6.6 version of solr. Not sure if any changes made to the updateRequestProcessorChain in 7.6 version, can anyone please help? 2019-02-14

Re: Createsnapshot null pointer exception

2019-02-12 Thread Erick Erickson
You're going to continually run into issues if you use the _cores_ api to add replicas to a _collection_. True, the collection API ADDREPLICA command uses the _cores_ API to add replicas, but someone else has already worked out all the finicky details. So do yourself a favor and use the mechanism

Re: Createsnapshot null pointer exception

2019-02-12 Thread SOLR4189
Ok. I understood my problem. Usually I create collection with X shards and then add some Y cores. This Y cores I use like gateways or federators (my web application sends queries to load balancer that connected to Y cores only). When I create Y cores, I used this command *http://:/solr/admin/cores

Re: Createsnapshot null pointer exception

2019-02-12 Thread SOLR4189
Ok. I understood my problem. Usually I create collection with X shards and then add some Y cores. This Y cores I use like gateways or federators (my web application sends queries to load balancer that connected to Y cores only). When I create Y cores, I used this command *http://:/solr/admin/cores

Createsnapshot null pointer exception

2019-02-11 Thread SOLR4189
Hi all, I use SOLR-6.5.1. When I run this command: *http://my_server_name:8983/solr/admin/collections?action=CREATESNAPSHOT&collection=collection_name&commitName=MYCommit* I got this exception: Collection: collection_name operation: createsnapshot failed: java.lang.NullPointerException at org.

Re: Null Pointer Exception without details on Update in schemaless 7.4

2018-09-06 Thread Steve Rowe
Hi, Null handling in AddSchemaFieldsUpdateProcessorFactory has been added for Solr 7.5, see https://issues.apache.org/jira/browse/SOLR-12704 . -- Steve www.lucidworks.com > On Sep 6, 2018, at 1:11 AM, deniz wrote: > > server is also 7.4 > > and your assumption/check on null values on input

Re: Null Pointer Exception without details on Update in schemaless 7.4

2018-09-05 Thread deniz
server is also 7.4 and your assumption/check on null values on input doc seems legit... I have added some checks before pushing the doc to solr and replaced null values with some default values, and updates seem going through w/o problem... though having a little bit explanatory logs on server si

Re: Null Pointer Exception without details on Update in schemaless 7.4

2018-09-05 Thread Shawn Heisey
On 9/5/2018 8:32 PM, deniz wrote: I have set up a schemaless solr (cloud) and have been trying to test the updates. as DIH is not going through field guessing, I have wrote a small piece of code to query data from db and push the docs to solr... Once the client pushes the docs to solr, on server

Re: Null Pointer Exception without details on Update in schemaless 7.4

2018-09-05 Thread deniz
nope, the data i am pushing is stuff like string, int, etc etc i have have checked further and made bunch of trial and error, here are the things I was able to figure out: - If a date value from database is null, then it is breaking the update with "-00-00" is not a valid date string error.

Re: Null Pointer Exception without details on Update in schemaless 7.4

2018-09-05 Thread David Hastings
Are you trying to push a java hash to solr? On Sep 5, 2018, at 10:32 PM, deniz mailto:denizdurmu...@gmail.com>> wrote: I have set up a schemaless solr (cloud) and have been trying to test the updates. as DIH is not going through field guessing, I have wrote a small piece of code to query data fr

Null Pointer Exception without details on Update in schemaless 7.4

2018-09-05 Thread deniz
I have set up a schemaless solr (cloud) and have been trying to test the updates. as DIH is not going through field guessing, I have wrote a small piece of code to query data from db and push the docs to solr... Once the client pushes the docs to solr, on server there are npe logs as below: o.a

Null Pointer exception after upgrading lucene index from 6.1 to 7.2

2018-02-12 Thread Webster Homer
We ran the org.apache.lucene.index.IndexUpgrader as part of upgrading from 6.1 to 7.2.0 After the upgrade, one of our collections threw a NullPointerException on a query of *:* We didn't observe errors in the logs. All of our other collections appear to be fine. Re-indexing the collection seems

Re: Facet Null Pointer Exception with upgraded indexes

2017-01-02 Thread Damien Kamerman
Try docValues="false" in your v6 schema.xml. You will may need to upgrade again. On 31 December 2016 at 07:59, Mikhail Khludnev wrote: > Hi Andreu, > > I think it can't facet text field anymore per se > https://issues.apache.org/jira/browse/SOLR-8362. > > On Fri, Dec 30, 2016 at 5:07 PM, Andreu

Re: Facet Null Pointer Exception with upgraded indexes

2016-12-30 Thread Mikhail Khludnev
Hi Andreu, I think it can't facet text field anymore per se https://issues.apache.org/jira/browse/SOLR-8362. On Fri, Dec 30, 2016 at 5:07 PM, Andreu Marimon wrote: > Hi, > > I'm trying to update from solr 4.3 to 6.3. We are doing a two step > migration and, during the first step, we upgraded th

Facet Null Pointer Exception with upgraded indexes

2016-12-30 Thread Andreu Marimon
Hi, I'm trying to update from solr 4.3 to 6.3. We are doing a two step migration and, during the first step, we upgraded the indexes from 4.3 to 5.5, which is the newest version we can get without errors using the Lucene IndexUpgrader tool. As far as I know, 6.30 should be able to read indexes gen

Re: Null Pointer Exception on distributed search

2016-02-24 Thread Shawn Heisey
On 2/24/2016 9:58 AM, Lokesh Chhaparwal wrote: > Can someone please update on this exception trace while we are using > distributed search using shards parameter (solr-master-slave). The line of code where the NPE happened (from the 4.7.2 source) is in XMLWriter.java, at line 190: for (String

Re: Null Pointer Exception on distributed search

2016-02-24 Thread Lokesh Chhaparwal
Hi, Can someone please update on this exception trace while we are using distributed search using shards parameter (solr-master-slave). Thanks, Lokesh On Wed, Feb 17, 2016 at 5:33 PM, Lokesh Chhaparwal wrote: > Hi, > > We are facing NPE while using distributed search (Solr version 4.7.2) > (u

Null Pointer Exception on distributed search

2016-02-17 Thread Lokesh Chhaparwal
Hi, We are facing NPE while using distributed search (Solr version 4.7.2) (using *shards* parameter in solr query) Exception Trace: ERROR - 2016-02-17 16:44:26.616; org.apache.solr.common.SolrException; null:java.lang.NullPointerException at org.apache.solr.response.XMLWriter.writeSolrDocument(XM

Re: Null pointer exception in spell checker at addchecker method

2015-12-24 Thread JoeWang
Thank you! It really help me out. -- View this message in context: http://lucene.472066.n3.nabble.com/Null-pointer-exception-in-spell-checker-at-addchecker-method-tp4105489p4247203.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null pointer exception in spell checker at addchecker method

2014-08-22 Thread nish
Great!! Worked for me too. Thanks a lot -- View this message in context: http://lucene.472066.n3.nabble.com/Null-pointer-exception-in-spell-checker-at-addchecker-method-tp4105489p4154403.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null pointer exception in spell checker at addchecker method

2013-12-09 Thread sweety
yes, it worked. And i got the reason for the error. Thanks a lot. -- View this message in context: http://lucene.472066.n3.nabble.com/Null-pointer-exception-in-spell-checker-at-addchecker-method-tp4105489p4105636.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null pointer exception in spell checker at addchecker method

2013-12-08 Thread ??????
how can i unsubscribe -- Original -- From: "Areek Zillur";; Date: Mon, Dec 9, 2013 02:26 PM To: "solr-user"; Subject: Re: Null pointer exception in spell checker at addchecker method From the solrConfig provided it seems like you

Re: Null pointer exception in spell checker at addchecker method

2013-12-08 Thread Areek Zillur
er(SolrDispatchFilter.java:343) > at > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:141) > at > > I know that the error might be in addchecker method,i read this method but > the coding of this method is such that, for all the null values, default

Null pointer exception in spell checker at addchecker method

2013-12-06 Thread sweety
wrong. Thanks in advance. -- View this message in context: http://lucene.472066.n3.nabble.com/Null-pointer-exception-in-spell-checker-at-addchecker-method-tp4105489.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: shards.tolerant throwing null pointer exception when spellcheck is on

2013-10-23 Thread shamik
Thanks for the information. I think its good to have this issue fixed, specially for cases where the spellcheck feature is on. I'll check out at the source code and take a look, even a quick suppressing of the null pointer exception might make a difference. -- View this message in co

Re: shards.tolerant throwing null pointer exception when spellcheck is on

2013-10-22 Thread Shalin Shekhar Mangar
Shard 1 and Replica 1, then fired a query using SolrJ CloudSolrServer, > which internally talks to the zookeeper ensemble. In my request handler, > the spellcheck option is turned on. Due to this, the servers are throwing > null pointer exception. Here's the stack trace. > &g

shards.tolerant throwing null pointer exception when spellcheck is on

2013-10-22 Thread Shamik Bandopadhyay
s are throwing null pointer exception. Here's the stack trace. 2013-10-22 20:24:43,875] INFO482886[qtp1783079124-15] - org.apache.solr.core.SolrCore.execute(SolrCore.java:1909) - [collection1] webapp=/solr path=/testhtmlhelp params={spellcheck=on&q=xref&wt=xml&fq=TestProductLine:"

Re: Solr 4.1.0 shardHandlerFactory Null Pointer Exception when setting up embedded solrj solr server for unit testing

2013-01-24 Thread Mark Miller
This is my fault - I discovered this myself a few days ago. I've been meaning to file a jira ticket and have not gotten around to it yet. You can also work around it like this: CoreContainer container = new CoreContainer(loader) { // workaround since we don't call container#load

Solr 4.1.0 shardHandlerFactory Null Pointer Exception when setting up embedded solrj solr server for unit testing

2013-01-24 Thread Ted Merchant
We recently updated from Solr 4.0.0 to Solr 4.1.0. Because of the change we were forced to upgrade a custom query parser. While the code change itself was minimal, we found that our unit tests stopped working because of a NullPointerException on line 181 of handler.component.SearchHandler: Sha

Re: NULL POINTER EXCEPTION WITH SOLR SUGGESTER

2013-01-13 Thread Jack Krupansky
Krupansky -Original Message- From: obi240 Sent: Saturday, January 12, 2013 12:15 PM To: solr-user@lucene.apache.org Subject: NULL POINTER EXCEPTION WITH SOLR SUGGESTER Hi, I'm currently working with SOLR 4. I tried calling my suggester feature and got the er

Re: Null Pointer Exception on DIH with MySQL

2012-08-30 Thread Erick Erickson
t; MySQL database. On one of the environment the import always fails with an >>> exception: http://pastebin.com/tG28cHPe >>> >>> It is a null pointer exception on connection being null. I've tested that >>> I >>> can connect from the Solr server to Mysq

Re: Null Pointer Exception on DIH with MySQL

2012-08-29 Thread Aleksey Vorona
have Solr 3.6.1 running on Jetty (7.x) and using DIH to get data from the MySQL database. On one of the environment the import always fails with an exception: http://pastebin.com/tG28cHPe It is a null pointer exception on connection being null. I've tested that I can connect from the Solr serv

Re: Null Pointer Exception on DIH with MySQL

2012-08-29 Thread Erick Erickson
MySQL database. On one of the environment the import always fails with an > exception: http://pastebin.com/tG28cHPe > > It is a null pointer exception on connection being null. I've tested that I > can connect from the Solr server to Mysql server via command line mysql > clie

Null Pointer Exception on DIH with MySQL

2012-08-27 Thread Aleksey Vorona
We have Solr 3.6.1 running on Jetty (7.x) and using DIH to get data from the MySQL database. On one of the environment the import always fails with an exception: http://pastebin.com/tG28cHPe It is a null pointer exception on connection being null. I've tested that I can connect from the

Re: /solr/admin/stats.jsp null pointer exception

2012-08-09 Thread Jon Drukman
On Wed, Aug 8, 2012 at 3:03 PM, Chris Hostetter wrote: > I can't reproduce with teh example configs -- it looks like you've > tweaked hte logging to use the XML file format, anyway to get the > stacktrace of the "Caused by" exception so we can see what is null and > where? > Here is the caused by

Re: /solr/admin/stats.jsp null pointer exception

2012-08-08 Thread Chris Hostetter
: New install of Solr 3.6.1, getting a Null Pointer Exception when trying to : access admin/stats.jsp: : org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) : at : org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) : Caused by

/solr/admin/stats.jsp null pointer exception

2012-08-08 Thread Jon Drukman
New install of Solr 3.6.1, getting a Null Pointer Exception when trying to access admin/stats.jsp: 2012-08-08T17:55:09 138509624 694 org.apache.solr.servlet.SolrDispatchFilter SEVERE org.apache.solr.common.SolrException log 25 org.apache.jasper.JasperException

Re: Throws Null Pointer Exception Even Query is Correct in solr

2012-05-24 Thread Chris Hostetter
: in sufficient amount .. But still its is throwing Null Pointer Exception in : Tomcat and in Eclipse while debugging i had seen Error as "Error Executing : Query" . Please give me suggestion for this. : : Note: While the ids are below or equal to 99800 the Query is returning the : Re

Re: Throws Null Pointer Exception Even Query is Correct in solr

2012-05-24 Thread Sami Siren
wrote: >> > >> > > >     I have creteria where i am passing more than >> > > > 10 ids in Query like >> > > > q=(ROWINDEX:(1 2 3 4 )) using solrJ . i had increased >> > > > the Max Boolean >> > > > clause  =

Re: Throws Null Pointer Exception Even Query is Correct in solr

2012-05-23 Thread in.abdul
/user/SendEmail.jtp?type=node&node=3985762&i=1>> > wrote: > > > > > > I have creteria where i am passing more than > > > > 10 ids in Query like > > > > q=(ROWINDEX:(1 2 3 4 )) using solrJ . i had increased > > > > the Ma

Re: Throws Null Pointer Exception Even Query is Correct in solr

2012-05-23 Thread Dmitry Kan
ids in Query like > > > q=(ROWINDEX:(1 2 3 4 )) using solrJ . i had increased > > > the Max Boolean > > > clause = 10500 and i had increased the Max Header > > > Size in tomcat also > > > in sufficient amount .. But still its is throwing Null

Re: Throws Null Pointer Exception Even Query is Correct in solr

2012-05-23 Thread in.abdul
eteria where i am passing more than > > 10 ids in Query like > > q=(ROWINDEX:(1 2 3 4 )) using solrJ . i had increased > > the Max Boolean > > clause = 10500 and i had increased the Max Header > > Size in tomcat also > > in sufficient amount .. But

Re: Throws Null Pointer Exception Even Query is Correct in solr

2012-05-23 Thread Ahmet Arslan
its is throwing Null > Pointer Exception in > Tomcat and in Eclipse while debugging i had seen Error as > "Error Executing > Query" . Please give me suggestion for this. If you are using GET method ( which is default) try POST method instead. See how to use it : http://search-lucene.com/m/34M4GTEIaD

Throws Null Pointer Exception Even Query is Correct in solr

2012-05-23 Thread syed kather
Team , I have creteria where i am passing more than 10 ids in Query like q=(ROWINDEX:(1 2 3 4 )) using solrJ . i had increased the Max Boolean clause = 10500 and i had increased the Max Header Size in tomcat also in sufficient amount .. But still its is throwing Null Pointer

Re: Null Pointer Exception in SOLR

2012-05-03 Thread mechravi25
ttpParser.parseAvailable at org.mortbay.jetty.HttpConnection.handle at org.mortbay.jetty.bio.SocketConnector$Connection.run at org.mortbay.thread.BoundedThreadPool$PoolThread.run -- View this message in context: http://lucene.472066.n3.nabble.com/Null-Poin

Re: Null Pointer Exception in SOLR

2012-05-03 Thread Erick Erickson
essages in the log files?Or is > it due to some other problem?Am I missing anything? Can you guide me on > this? > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Null-Pointer-Exception-in-SOLR-tp3954952.html > Sent from the Solr - User mailing list archive at Nabble.com.

Null Pointer Exception in SOLR

2012-05-02 Thread mechravi25
this message in context: http://lucene.472066.n3.nabble.com/Null-Pointer-Exception-in-SOLR-tp3954952.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: fq null pointer exception

2011-06-03 Thread Otis Gospodnetic
/ - Original Message > From: dan whelan > To: solr-user@lucene.apache.org > Sent: Fri, June 3, 2011 4:34:40 PM > Subject: Re: fq null pointer exception > > It returned results when I added the fl param. > > Strange... wonder what is going on there > > Thanks, > &g

Re: fq null pointer exception

2011-06-03 Thread Yonik Seeley
Dan, this doesn't really have anything to do with your filter on the Status field except that it causes different documents to be selected. The root cause is a schema mismatch with your index. A string field (or so the schema is saying it's a string field) is returning "null" for a value, which is

Re: fq null pointer exception

2011-06-03 Thread dan whelan
arch-lucene.com/ - Original Message From: dan whelan To: solr-user@lucene.apache.org Sent: Fri, June 3, 2011 1:38:33 PM Subject: Re: fq null pointer exception Otis, I just deleted the documents and committed and I still get that error. Thanks, Dan On 6/3/11 9:43 AM, Otis Gospodn

Re: fq null pointer exception

2011-06-03 Thread Otis Gospodnetic
Subject: Re: fq null pointer exception > > Otis, I just deleted the documents and committed and I still get that error. > > Thanks, > > Dan > > > On 6/3/11 9:43 AM, Otis Gospodnetic wrote: > > Dan, does the problem go away if you get rid of those 112 documen

Re: fq null pointer exception

2011-06-03 Thread dan whelan
ot;? Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message From: dan whelan To: solr-user@lucene.apache.org Sent: Fri, June 3, 2011 11:46:46 AM Subject: fq null pointer exception I am noticing something strang

Re: fq null pointer exception

2011-06-03 Thread Otis Gospodnetic
al Message > From: dan whelan > To: solr-user@lucene.apache.org > Sent: Fri, June 3, 2011 11:46:46 AM > Subject: fq null pointer exception > > I am noticing something strange with our recent upgrade to solr 3.1 and want > to >see if anyone has experienced anything si

fq null pointer exception

2011-06-03 Thread dan whelan
I am noticing something strange with our recent upgrade to solr 3.1 and want to see if anyone has experienced anything similar. I have a solr.StrField field named Status the values are Enabled, Disabled, or '' When I facet on that field it I get Enabled 4409565 Disabled 29185 "" 112 The is

Getting Null pointer exception While doing a full import

2011-05-16 Thread mechravi25
nesh_sel...@infosys.com -- View this message in context: http://lucene.472066.n3.nabble.com/Getting-Null-pointer-exception-While-doing-a-full-import-tp2947854p2947854.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null Pointer Exception while indexing

2010-09-16 Thread Lance Norskog
Andrew, you should download Solr from the apache site. This packaging is wrong-headed. As to Java, a Linux person would know the system for picking which is the standard Java. andrewdps wrote: Also,the solr Java properties looks like this using gcj,despite setting java_home in /etc/profile

Re: Null Pointer Exception while indexing

2010-09-16 Thread Lance Norskog
10:22 AM, andrewdps wrote: Lance, We are on Solr Specification Version: 1.4.1 -- View this message in context: http://lucene.472066.n3.nabble.com/Null-Pointer-Exception-while-indexing-tp1481154p1488320.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null Pointer Exception while indexing

2010-09-16 Thread Thomas Joiner
distro of linux are you using? It probably depends on that how to set the JVM. On Thu, Sep 16, 2010 at 10:22 AM, andrewdps wrote: > > Lance, > > We are on Solr Specification Version: 1.4.1 > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Null-Pointer-Exc

Re: Null Pointer Exception while indexing

2010-09-16 Thread andrewdps
Lance, We are on Solr Specification Version: 1.4.1 -- View this message in context: http://lucene.472066.n3.nabble.com/Null-Pointer-Exception-while-indexing-tp1481154p1488320.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null Pointer Exception while indexing

2010-09-16 Thread andrewdps
= /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/jre java.vm.specification.version = 1.0 line.separator = -- View this message in context: http://lucene.472066.n3.nabble.com/Null-Pointer-Exception-while-indexing-tp1481154p1488292.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null Pointer Exception while indexing

2010-09-16 Thread andrewdps
uot;`id -u`" -eq 0 ]; then PS1='# ' else PS1='$ ' fi fi fi umask 022 export JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.20" export PATH="$JAVA_HOME/bin:$PATH" Please let me know what went wrong. -- View this message in context: http

Re: Null Pointer Exception while indexing

2010-09-16 Thread Yonik Seeley
On Wed, Sep 15, 2010 at 2:01 PM, andrewdps wrote: > I still get the same error when I try to index the mrc file... If you get the exact same error, then you are still using GCJ. When you type "java" it's probably going to GCJ because of your path (i.e. change it or directly specify the path to th

Re: Null Pointer Exception while indexing

2010-09-16 Thread Israel Ekpo
Try removing the data directory and then restart your Servlet container and see if that helps. On Thu, Sep 16, 2010 at 3:28 AM, Lance Norskog wrote: > Which version of Solr? 1.4?, 1.4.1? 3.x branch? trunk? if the 3.x or the > trunk, when did you pull it? > > > andrewdps wrote: > >> What could be

Re: Null Pointer Exception while indexing

2010-09-16 Thread Lance Norskog
Which version of Solr? 1.4?, 1.4.1? 3.x branch? trunk? if the 3.x or the trunk, when did you pull it? andrewdps wrote: What could be possible error for 14-Sep-10 4:28:47 PM org.apache.solr.common.SolrException log SEVERE: java.util.concurrent.ExecutionException: java.lang.NullPointerException

Null Pointer Exception while indexing

2010-09-15 Thread andrewdps
marc record on the server.I worked fine on the local system. Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Null-Pointer-Exception-while-indexing-tp1480689p1480689.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null Pointer Exception while indexing

2010-09-15 Thread andrewdps
, mixed mode) Am I doing fine with the installation. -- View this message in context: http://lucene.472066.n3.nabble.com/Null-Pointer-Exception-while-indexing-tp1481154p1481410.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null Pointer Exception while indexing

2010-09-15 Thread andrewdps
I'm sorry,but how do I use that.Is that something to do with uninstalling "gcu" and installing jvm and openJDK? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Null-Pointer-Exception-while-indexing-tp1481154p1481285.html Sent from the Solr - User maili

Re: Null Pointer Exception while indexing

2010-09-15 Thread Yonik Seeley
On Wed, Sep 15, 2010 at 1:12 PM, andrewdps wrote: > > What could be possible error for > > 14-Sep-10 4:28:47 PM org.apache.solr.common.SolrException log > SEVERE: java.util.concurrent.ExecutionException: > java.lang.NullPointerException >   at java.util.concurrent.FutureTask$Sync.innerGet(libgcj.s

Null Pointer Exception while indexing

2010-09-15 Thread andrewdps
marc record on the server.I worked fine on the local system. Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Null-Pointer-Exception-while-indexing-tp1481154p1481154.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Null pointer exception when mixing highlighter & shards & q.alt

2010-09-14 Thread Chris Hostetter
I didn't see any open Jira issues for this, so i created one... https://issues.apache.org/jira/browse/SOLR-2121 : Date: Tue, 7 Sep 2010 01:35:39 -0700 (PDT) : From: Marc Sturlese : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Re: Null pointer exce

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-10 Thread Yonik Seeley
On Fri, Sep 10, 2010 at 7:21 PM, Ron Mayer wrote: > Ron Mayer wrote: > Yes, looks good now. > Thanks! Great, thanks for the report! -Yonik http://lucenerevolution.org Lucene/Solr Conference, Boston Oct 7-8

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-10 Thread Ron Mayer
Ron Mayer wrote: > Yonik Seeley wrote: >> I just checked in the last part of those changes that should eliminate >> any restriction on key. >> But, that last part dealt with escaping keys that contained whitespace or } >> Your example really should have worked after my previous 2 commits. >> Perhap

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-08 Thread Ron Mayer
Yonik Seeley wrote: > I just checked in the last part of those changes that should eliminate > any restriction on key. > But, that last part dealt with escaping keys that contained whitespace or } > Your example really should have worked after my previous 2 commits. > Perhaps not all of the servers

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-08 Thread Yonik Seeley
I just checked in the last part of those changes that should eliminate any restriction on key. But, that last part dealt with escaping keys that contained whitespace or } Your example really should have worked after my previous 2 commits. Perhaps not all of the servers got successfully upgraded? Ca

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-08 Thread Ron Mayer
Yonik Seeley wrote: > On Tue, Sep 7, 2010 at 8:31 PM, Ron Mayer wrote: >> Short summary: >> * Mixing Facets and Shards give me a NullPointerException >>when not all docs have all facets. > > https://issues.apache.org/jira/browse/SOLR-2110 > > I believe the underlying real issue stemmed from

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-08 Thread Yonik Seeley
On Tue, Sep 7, 2010 at 8:31 PM, Ron Mayer wrote: > Short summary: >  * Mixing Facets and Shards give me a NullPointerException >    when not all docs have all facets. https://issues.apache.org/jira/browse/SOLR-2110 I believe the underlying real issue stemmed from your use of a complex key "invol

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-07 Thread Ron Mayer
Yonik Seeley wrote: > Thanks for the report Ron, can you open a JIRA issue? Sure. I'll do it at work tomorrow morning, hopefully after I try to verify with a standalone test case. > What version of Solr is this? This is trunk as of a few days ago. I can update to the latest trunk and check th

Re: Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-07 Thread Yonik Seeley
Thanks for the report Ron, can you open a JIRA issue? What version of Solr is this? -Yonik http://lucenerevolution.org Lucene/Solr Conference, Boston Oct 7-8 On Tue, Sep 7, 2010 at 8:31 PM, Ron Mayer wrote: > Short summary: >  * Mixing Facets and Shards give me a NullPointerException >    when

Null Pointer Exception with shards&facets where some shards have no values for some facets.

2010-09-07 Thread Ron Mayer
Short summary: * Mixing Facets and Shards give me a NullPointerException when not all docs have all facets. * Attached patch improves the failure mode, but still spews errors in the log file * Suggestions how to fix that would be appreciated. In my system, I tried separating out a c

Re: Null pointer exception when mixing highlighter & shards & q.alt

2010-09-07 Thread Ron Mayer
Marc Sturlese wrote: > I noticed that long ago. > Fixed it doing in HighlightComponent finishStage: > ... > public void finishStage(ResponseBuilder rb) { >... > } Thanks! I'll try that I also seem to have a similar problem with shards + facets -- in particular it seems like the error o

Re: Null pointer exception when mixing highlighter & shards & q.alt

2010-09-07 Thread Marc Sturlese
eq.responses) { NamedList hl = (NamedList)srsp.getSolrResponse().getResponse().get("highlighting"); //patch bug if(hl != null) { for (int i=0; ihttp://lucene.472066.n3.nabble.com/Null-pointer-exception-when-mixing-highlighter-shards-q-alt-tp1430353p1431253.html Sen

Null pointer exception when mixing highlighter & shards & q.alt

2010-09-06 Thread Ron Mayer
Short summary: * Using both highlighting and shards and q.alt is giving me a null pointer exception. * Really easy to workaround; but since the similar cases without shards work, perhaps this should too. * If you think it should be fixed, point me in the right direction and I

Re: Null pointer exception on use of ImportDataHandler (useSolrAddSchema="true")

2009-03-20 Thread Sam Keen
d, Mar 18, 2009 at 2:58 PM, Sam Keen wrote: >>> that worked perfectly Shalin.  thanks so much for your help! >>> >>> sam keen >>> >>> >>> On Wed, Mar 18, 2009 at 1:15 PM, Shalin Shekhar Mangar >>> wrote: >>>> On Thu, Mar 19

Re: Null pointer exception on use of ImportDataHandler (useSolrAddSchema="true")

2009-03-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
gt; >> >> On Wed, Mar 18, 2009 at 1:15 PM, Shalin Shekhar Mangar >> wrote: >>> On Thu, Mar 19, 2009 at 1:29 AM, Sam Keen wrote: >>> >>>> >>>> What I am now attempting to do is leverage 'useSolrAddSchema="true"' . >>

Re: Null pointer exception on use of ImportDataHandler (useSolrAddSchema="true")

2009-03-19 Thread Sam Keen
>>> What I am now attempting to do is leverage 'useSolrAddSchema="true"' . >>> I have a URL the responds with a well formatted solr add xml (I'm able >>> to add it by POSTing).  But when I try to add it using >>> http://localhost:8983/solr/dataimpo

Re: Null pointer exception on use of ImportDataHandler (useSolrAddSchema="true")

2009-03-18 Thread Sam Keen
;' . >> I have a URL the responds with a well formatted solr add xml (I'm able >> to add it by POSTing).  But when I try to add it using >> http://localhost:8983/solr/dataimport?command=full-import i get a null >> pointer exception. > > > You need to u

Re: Null pointer exception on use of ImportDataHandler (useSolrAddSchema="true")

2009-03-18 Thread Shalin Shekhar Mangar
t; http://localhost:8983/solr/dataimport?command=full-import i get a null > pointer exception. You need to use XPathEntityProcessor. If you do not specify a processor, the default is SqlEntityProcessor (used for DB imports). Add the attribute processor="XPathEntityProcessor" to the entity and try. -- Regards, Shalin Shekhar Mangar.

Null pointer exception on use of ImportDataHandler (useSolrAddSchema="true")

2009-03-18 Thread Sam Keen
erage 'useSolrAddSchema="true"' . I have a URL the responds with a well formatted solr add xml (I'm able to add it by POSTing). But when I try to add it using http://localhost:8983/solr/dataimport?command=full-import i get a null pointer exception. I am a little unsure if my data-con

RE: Null pointer exception

2007-05-15 Thread Chris Hostetter
: I decided to trash the whole installation and start again. I downloaded : last nights build and untarred it. Put the .war into : $TOMCAT_HOME/webapps. Copied the example/solr directory as : /var/www/html/solr. No JNDI file this time, just updated solrconfig to : read /var/www/html/solr as my dat

RE: Null pointer exception

2007-05-14 Thread Gary Browne
of Sydney Australia ph: 61-2-9351 5946 -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Tuesday, 15 May 2007 9:51 AM To: solr-user@lucene.apache.org Subject: RE: Null pointer exception : I am running v1.1.0. If I do a search (from the admin page), it throws : the

RE: Null pointer exception

2007-05-14 Thread Chris Hostetter
: I am running v1.1.0. If I do a search (from the admin page), it throws : the following exception: : : java.lang.RuntimeException: java.io.IOException: : /var/www/html/solr/data/index not a directory does /var/www/html/solr/data/ exist? ... if so does the effective userID for tomcat have permissi

RE: Null pointer exception

2007-05-14 Thread Gary Browne
of Sydney Australia ph: 61-2-9351 5946 -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Tuesday, 15 May 2007 7:27 AM To: solr-user@lucene.apache.org Subject: Re: Null pointer exception : I have tried indexing from the exampledocs which is just sitting in my : user

Re: Null pointer exception

2007-05-14 Thread Chris Hostetter
: I have tried indexing from the exampledocs which is just sitting in my : user home directory but now I get a null pointer exception after : running: just to clarify: are you using solr 1.1 or a nightly build? did you check the log file to ensure thatthere are no exceptions when you start tomcat

  1   2   >