lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] Commented: (SOLR-1563) NPE's occur in various situations related to FIeldable.stringValue when upgrading from 1.3 to 1.4
Date Sat, 14 Nov 2009 01:29:39 GMT


Hoss Man commented on SOLR-1563:

These stack traces demonstrate similar NPE exceptions when attempting to upgrade from 1.3
to 1.4 using the example schema provided in 1.3...

steps to reproduce...
* using 1.3...
*# cd example && java -jar start.jar
*# cd example/exampledocs && java -jar post.jar *.xml
*# note these urls work and return meaningful data...
*#* http://localhost:8983/solr/select/?q=SP2514N
*#* http://localhost:8983/solr/admin/luke?id=SP2514N
*# shutdown the 1.3 port
* using solr 1.4, point it at your 1.3 example solr home dir...
*# cd example && java -Dsolr.solr.home=../../1.3_solr/example/solr/ -jar start.jar
*# note that solr starts cleanly with no errors
*# verify that this URL displays the solr home you expect, in the 1.3 example directory...
*#* http://localhost:8983/solr/admin/
*# note that these URLs fail with the errors listed below...
*#* http://localhost:8983/solr/select/?q=SP2514N
*#* http://localhost:8983/solr/admin/luke?id=SP2514N


	at org.apache.solr.schema.SortableIntField.write(
	at org.apache.solr.schema.SchemaField.write(
	at org.apache.solr.request.XMLWriter.writeDoc(
	at org.apache.solr.request.XMLWriter$3.writeDocs(
	at org.apache.solr.request.XMLWriter.writeDocuments(
	at org.apache.solr.request.XMLWriter.writeDocList(
	at org.apache.solr.request.XMLWriter.writeVal(
	at org.apache.solr.request.XMLWriter.writeResponse(
	at org.apache.solr.request.XMLResponseWriter.write(
	at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(


	at org.apache.solr.util.NumberUtils.SortableStr2int(
	at org.apache.solr.util.NumberUtils.SortableStr2float(
	at org.apache.solr.util.NumberUtils.SortableStr2floatStr(
	at org.apache.solr.schema.SortableFloatField.indexedToReadable(
	at org.apache.solr.schema.SortableFloatField.toExternal(
	at org.apache.solr.handler.admin.LukeRequestHandler.getDocumentFieldsInfo(
	at org.apache.solr.handler.admin.LukeRequestHandler.handleRequestBody(
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(
	at org.apache.solr.core.SolrCore.execute(

> NPE's occur in various situations related to FIeldable.stringValue when upgrading from
1.3 to 1.4
> -------------------------------------------------------------------------------------------------
>                 Key: SOLR-1563
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Hoss Man
>            Priority: Critical
> Multiple reports of NPEs when using Solr 1.4 - so far these all seem to relate to getting
a null returned by Fieldable.stringValue when it isn't expected or accounted for.  Thread
where this was initially discussed...

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message