Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5256D7A70 for ; Wed, 16 Nov 2011 02:21:17 +0000 (UTC) Received: (qmail 97851 invoked by uid 500); 16 Nov 2011 02:21:16 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 97793 invoked by uid 500); 16 Nov 2011 02:21:16 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 97786 invoked by uid 99); 16 Nov 2011 02:21:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 02:21:16 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 02:21:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9F14686C93 for ; Wed, 16 Nov 2011 02:20:51 +0000 (UTC) Date: Wed, 16 Nov 2011 02:20:51 +0000 (UTC) From: "Hoss Man (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <1301531715.33664.1321410051652.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <58304852.14600.1299257977267.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-2402) Add more debug info for DocumentBuilder errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man updated SOLR-2402: --------------------------- Fix Version/s: 3.5 merged back to 3x... Committed revision 1202510 (It's smoked on trunk for a while, and it's very useful -- discovered it wasn't on 3x while working on SOLR-2813) > Add more debug info for DocumentBuilder errors > ---------------------------------------------- > > Key: SOLR-2402 > URL: https://issues.apache.org/jira/browse/SOLR-2402 > Project: Solr > Issue Type: Improvement > Reporter: Ryan McKinley > Assignee: Ryan McKinley > Priority: Trivial > Fix For: 3.5, 4.0 > > Attachments: SOLR-2402-doc-builder-error-messages.patch > > > When digging though logs, it is hard to figure out what went wrong with errors like: > {code} > 2011-03-04 11:43:52,773 INFO org.apache.solr.update.processor.UpdateRequestProcessor - {} 0 0 > 2011-03-04 11:43:52,773 ERROR org.apache.solr.core.SolrCore - java.lang.NumberFormatException: multiple points > at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1084) > at java.lang.Float.parseFloat(Float.java:422) > at org.apache.solr.schema.TrieField.createField(TrieField.java:512) > at org.apache.solr.schema.SchemaField.createField(SchemaField.java:94) > at org.apache.solr.update.DocumentBuilder.addField(DocumentBuilder.java:204) > at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:277) > at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60) > at org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:94) > at org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:53) > {code} > would be nice to know the field name/value and ideally the ID value also. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org