[
https://issues.apache.org/jira/browse/SOLR-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694324#action_12694324
]
Hoss Man commented on SOLR-1097:
--------------------------------
for example, a user was sending a valid <doc>...</doc>, but it wasn't wrapped
in an <add> ...
http://www.nabble.com/Solrj-exception-posting-XML-docs-to22740509.html#a22740509
{noformat}
13:12:09,119 ERROR [STDERR] Mar 27, 2009 1:12:09 PM
org.apache.solr.common.SolrException log
SEVERE: java.lang.NullPointerException
at
org.apache.solr.handler.XmlUpdateRequestHandler.processUpdate(XmlUpdateRequestHandler.java:194)
at
org.apache.solr.handler.XmlUpdateRequestHandler.handleRequestBody(XmlUpdateRequestHandler.java:1
23)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1204)
{noformat}
> XmlUpdateRequestHandler gives NPE on wellformed but incorrect XML
> -----------------------------------------------------------------
>
> Key: SOLR-1097
> URL: https://issues.apache.org/jira/browse/SOLR-1097
> Project: Solr
> Issue Type: Bug
> Components: update
> Affects Versions: 1.3
> Reporter: Hoss Man
>
> XmlUpdateRequestHandler has some really bad behavior when you send it Valid
> XML, but with elements that aren't what it's expecting. we should add some
> more "error case" tests and make sure we're returning useful error messages.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.