[Deploying Sakai] Search tool and rebuilding index

David Horwitz david.horwitz at uct.ac.za
Wed Dec 21 06:09:49 PST 2011


Hi

Ok that looks OK (the NPE should be fixed but is not stopping the 
indexing from happening)

One thing to note is that I just fixed a small bug in that on a rebuild 
the index could try to index a large number of documents per segment - 
10 000 - on our hardware this takes arround 5 hours! - so don't be 
impatient - leave it to run overnight and you should see your first 
segements written.

D

On 12/21/2011 03:58 PM, Lucas Lo Vercio wrote:
> 2011-12-21 09:35:55,075 ERROR IndexManager 
> org.sakaiproject.profile2.entity.ProfileContentProducer - Caught 
> exception whilst getting user display name for id 
> 'aa590ed5-e95c-4d01-8a97-65f5336ba2ce'
> java.lang.NullPointerException
>     at 
> org.sakaiproject.profile2.entity.ProfileContentProducer.getTitle(ProfileContentProducer.java:204)
>     at 
> org.sakaiproject.search.indexer.impl.TransactionalIndexWorker.processTransaction(TransactionalIndexWorker.java:355)
>     at 
> org.sakaiproject.search.indexer.impl.TransactionalIndexWorker.process(TransactionalIndexWorker.java:132)
>     at 
> org.sakaiproject.search.indexer.impl.ConcurrentSearchIndexBuilderWorkerImpl.runOnce(ConcurrentSearchIndexBuilderWorkerImpl.java:273)
>     at 
> org.sakaiproject.search.journal.impl.IndexManagementTimerTask.run(IndexManagementTimerTask.java:137)
>     at java.util.TimerThread.mainLoop(Unknown Source)
>     at java.util.TimerThread.run(Unknown Source)
> 2011-12-21 09:35:55,094  INFO IndexManager 
> org.sakaiproject.profile2.logic.SakaiProxyImpl - User with id: 
> aa590ed5-e95c-4d01-8a97-65f5336ba2ce does not exist : class 
> org.sakaiproject.user.api.UserNotDefinedException : null
> 2011-12-21 09:35:55,094 ERROR IndexManager 
> org.sakaiproject.profile2.entity.ProfileContentProducer - Caught 
> exception whilst getting user display name for id 
> 'aa590ed5-e95c-4d01-8a97-65f5336ba2ce'
> java.lang.NullPointerException
>     at 
> org.sakaiproject.profile2.entity.ProfileContentProducer.getTitle(ProfileContentProducer.java:204)
>     at 
> org.sakaiproject.search.indexer.impl.TransactionalIndexWorker.processTransaction(TransactionalIndexWorker.java:396)
>     at 
> org.sakaiproject.search.indexer.impl.TransactionalIndexWorker.process(TransactionalIndexWorker.java:132)
>     at 
> org.sakaiproject.search.indexer.impl.ConcurrentSearchIndexBuilderWorkerImpl.runOnce(ConcurrentSearchIndexBuilderWorkerImpl.java:273)
>     at 
> org.sakaiproject.search.journal.impl.IndexManagementTimerTask.run(IndexManagementTimerTask.java:137)
>     at java.util.TimerThread.mainLoop(Unknown Source)
>     at java.util.TimerThread.run(Unknown Source)


More information about the production mailing list