File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes NullPointerException---liferay Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "NullPointerException---liferay" Watch "NullPointerException---liferay" New topic
Author

NullPointerException---liferay

ashok sangi
Greenhorn

Joined: Mar 23, 2011
Posts: 24
hi all,

when iam trying to display all the blogs (from database(mysql)) i will get this error please help me


java.lang.NullPointerException
at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:4285)
at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:4274)
at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:4150)
at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:4223)
at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:4196)
at com.liferay.portal.search.lucene.IndexAccessorImpl._doCommit(IndexAccessorImpl.java:256)
at com.liferay.portal.search.lucene.IndexAccessorImpl._commit(IndexAccessorImpl.java:194)
at com.liferay.portal.search.lucene.IndexAccessorImpl._write(IndexAccessorImpl.java:521)
at com.liferay.portal.search.lucene.IndexAccessorImpl.updateDocument(IndexAccessorImpl.java:170)
at com.liferay.portal.search.lucene.LuceneHelperImpl.updateDocument(LuceneHelperImpl.java:252)
at com.liferay.portal.search.lucene.LuceneHelperUtil.updateDocument(LuceneHelperUtil.java:203)
at com.liferay.portal.search.lucene.LuceneIndexWriterImpl.updateDocument(LuceneIndexWriterImpl.java:103)
at com.liferay.portal.search.lucene.LuceneIndexWriterImpl.updateDocuments(LuceneIndexWriterImpl.java:120)
at com.liferay.portal.kernel.search.messaging.SearchWriterMessageListener.doReceive(SearchWriterMessageListener.java:91)
at com.liferay.portal.kernel.search.messaging.SearchWriterMessageListener.receive(SearchWriterMessageListener.java:33)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:61)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NullPointerException---liferay