Hi,

Yes, cdt & mdt are the date in MYSQL DB

> Date: Fri, 26 Sep 2008 13:58:24 +0530
> From: [EMAIL PROTECTED]
> To: solr-user@lucene.apache.org
> Subject: Re: NullPointerException
> 
> I dunno if the problem is w/ date. are cdt and mdt date fields in the DB?
> 
> On Fri, Sep 26, 2008 at 12:58 AM, Shalin Shekhar Mangar
> <[EMAIL PROTECTED]> wrote:
> > I'm not sure about why the NullPointerException is coming. Is that the whole
> > stack trace?
> >
> > The mdt and cdt are date in schema.xml but the format that is in the log is
> > wrong. Look at the DateFormatTransformer in DataImportHandler which can
> > format strings in your database to the correct date format needed for Solr.
> >
> > On Thu, Sep 25, 2008 at 7:09 PM, Dinesh Gupta <[EMAIL PROTECTED]>wrote:
> >
> >>  Hi All,
> >>
> >> I have attached my file.
> >>
> >> I am getting exception.
> >>
> >> Please suggest me how to short-out this issue.
> >>
> >>
> >>
> >> WARNING: Error creating document : SolrInputDocumnt[{id=id(1.0)={93146},
> >> ttl=ttl(1.0)={Majestic from Pushpams.com}, cdt=cdt(1.0)={2001-09-04
> >> 15:40:40.0}, mdt=mdt(1.0)={2008-09-23 17:47:44.0}, prc=prc(1.0)={600.00}}]
> >> java.lang.NullPointerException
> >>     at org.apache.lucene.document.Document.getField(Document.java:140)
> >>     at
> >> org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:283)
> >>     at
> >> org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:58)
> >>     at
> >> org.apache.solr.handler.dataimport.SolrWriter.upload(SolrWriter.java:69)
> >>     at
> >> org.apache.solr.handler.dataimport.DataImportHandler$1.upload(DataImportHandler.java:288)
> >>     at
> >> org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:319)
> >>     at
> >> org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:178)
> >>     at
> >> org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:136)
> >>     at
> >> org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:334)
> >>     at
> >> org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:386)
> >>     at
> >> org.apache.solr.handler.dataimport.DataImportHandler.handleRequestBody(DataImportHandler.java:190)
> >>     at
> >> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
> >>     at org.apache.solr.core.SolrCore.execute(SolrCore.java:1204)
> >>     at
> >> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:303)
> >>     at
> >> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:232)
> >>     at
> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>     at
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>     at
> >> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> >>     at
> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >>     at
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >>     at
> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >>     at
> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >>     at
> >> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
> >>     at
> >> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
> >>
> >> ------------------------------
> >> MSN Technology brings you the latest on gadgets, gizmos and the new hits in
> >> the gaming market. Try it now! <http://computing.in.msn.com/>
> >>
> >
> >
> >
> > --
> > Regards,
> > Shalin Shekhar Mangar.
> >
> 
> 
> 
> -- 
> --Noble Paul

_________________________________________________________________
Searching for weekend getaways? Try Live.com
http://www.live.com/?scope=video&form=MICOAL

Reply via email to