[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-526?pag...
]
Sanne Grinovero commented on HSEARCH-526:
-----------------------------------------
created HSEARCH-528 to track this. We'll have to discuss this, as I'm
polimorphically loading all types and feeding them to the queue, I should either turn off
polymorphic loading, or skip some after loading. I'm actually surprised that it's
possible to have non-indexed subtypes, imho it doesn't make sense that
"@Indexed" is not inherited.
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira