[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-526) Mass Indexer Logs Multiple NullPointerExceptions

j nadler (JIRA) noreply at atlassian.com
Tue May 11 00:48:24 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=37027#action_37027 ] 

j nadler commented on HSEARCH-526:
----------------------------------

My apologies for filing this bug prematurely. My class hierarchy has an unindexed subclass; since this uses Hibernate for the query naturally it gets all subclasses and attempts to index them.  I'll try using MassIndexer once for each indexed subtype and compare with 'the old way' to see which is more performant.  Thanks and OK to close this.

> Mass Indexer Logs Multiple NullPointerExceptions
> ------------------------------------------------
>
>                 Key: HSEARCH-526
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-526
>             Project: Hibernate Search
>          Issue Type: Bug
>    Affects Versions: 3.2.0.Final
>         Environment: Hibernate Core 3.5.1, Hibernate Search 3.2.0.Final
>            Reporter: j nadler
>
> We just moved our 'old style' reindex code to the new MassIndexer and gave it a run.  It seems to have mostly worked (the index was clearly populated with some records) but a few NPEs in the logs:
> [2010-05-06 08:22:25.115,105054]ERROR[Hibernate Search: collectionsloader-4](EntityConsumerLuceneworkProducer.java:96) - error during batch indexing: 
> java.lang.NullPointerException
> 	at org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer.index(EntityConsumerLuceneworkProducer.java:139)
> 	at org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer.indexAllQueue(EntityConsumerLuceneworkProducer.java:117)
> 	at org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer.run(EntityConsumerLuceneworkProducer.java:92)
> 	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)
> [2010-05-06 08:22:37.170,117109]ERROR[Hibernate Search: collectionsloader-1](EntityConsumerLuceneworkProducer.java:96) - error during batch indexing: 
> java.lang.NullPointerException
> 	at org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer.index(EntityConsumerLuceneworkProducer.java:139)
> 	at org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer.indexAllQueue(EntityConsumerLuceneworkProducer.java:117)
> 	at org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer.run(EntityConsumerLuceneworkProducer.java:92)
> 	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)
> [2010-05-06 08:22:37.466,117405]ERROR[Hibernate Search: collectionsloader-2](EntityConsumerLuceneworkProducer.java:96) - error during batch indexing: 
> java.lang.NullPointerException
> 	at org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer.index(EntityConsumerLuceneworkProducer.java:139)
> 	at org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer.indexAllQueue(EntityConsumerLuceneworkProducer.java:117)
> 	at org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer.run(EntityConsumerLuceneworkProducer.java:92)
> 	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)
> [2010-05-06 08:22:37.566,117505]ERROR[Hibernate Search: collectionsloader-8](EntityConsumerLuceneworkProducer.java:96) - error during batch indexing: 
> java.lang.NullPointerException
> 	at org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer.index(EntityConsumerLuceneworkProducer.java:139)
> 	at org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer.indexAllQueue(EntityConsumerLuceneworkProducer.java:117)
> 	at org.hibernate.search.batchindexing.EntityConsumerLuceneworkProducer.run(EntityConsumerLuceneworkProducer.java:92)
> 	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)
> [2010-05-06 08:22:51.710,131649]WARN [http-8080-7](StatefulPersistenceContext.java:662) - Narrowing proxy to class com.attensa.core.entity.User - this operation breaks ==
> [2010-05-06 08:22:51.738,131677]DEBUG[http-8080-7](BaseArticleListQuery.java:579) - getLatestDateModified: took: 0:00:00.024

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list