Page 1 of 1

Indexing error....cyclos 3.6

Posted: Fri Jun 14, 2013 1:30 am
by pandvictor
Hi, i been working with cyclos but recently i have this error... and i try to change the properties from custom field but nothing work, Could you help me with this??
how could I disable indexing of the ads?, Thx a lot....


WARN IndexOperationRunner - Error running index operation 2013-06-12 13:06:03 ADVERTISEMENT REBUILD
java.lang.ClassCastException: nl.strohalm.cyclos.entities.customization.fields.PaymentCustomField cannot be cast to nl.strohalm.cyclos.entities.customization.fields.MemberCustomField
at nl.strohalm.cyclos.dao.ads.AdDocumentMapper.includeInKeywordsSearch(AdDocumentMapper.java:135)
at nl.strohalm.cyclos.dao.ads.AdDocumentMapper.access$1(AdDocumentMapper.java:134)
at nl.strohalm.cyclos.dao.ads.AdDocumentMapper$1.includeInKeywordsSearch(AdDocumentMapper.java:57)
at nl.strohalm.cyclos.utils.lucene.DocumentBuilder.add(DocumentBuilder.java:99)
at nl.strohalm.cyclos.dao.ads.AdDocumentMapper.process(AdDocumentMapper.java:120)
at nl.strohalm.cyclos.dao.ads.AdDocumentMapper.process(AdDocumentMapper.java:1)
at nl.strohalm.cyclos.utils.lucene.AbstractDocumentMapper.map(AbstractDocumentMapper.java:46)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner$4.doInTransaction(IndexOperationRunner.java:408)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner$4.doInTransaction(IndexOperationRunner.java:1)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner.rebuild(IndexOperationRunner.java:399)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner.runOperation(IndexOperationRunner.java:570)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner.access$13(IndexOperationRunner.java:564)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner$5.doInTransaction(IndexOperationRunner.java:540)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner$5.doInTransaction(IndexOperationRunner.java:1)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner.runNextOperations(IndexOperationRunner.java:520)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner.run(IndexOperationRunner.java:180)
at java.lang.Thread.run(Thread.java:679)
Exception in thread "IndexOperationRunner" java.lang.ClassCastException: nl.strohalm.cyclos.entities.customization.fields.PaymentCustomField cannot be cast to nl.strohalm.cyclos.entities.customization.fields.MemberCustomField
at nl.strohalm.cyclos.dao.ads.AdDocumentMapper.includeInKeywordsSearch(AdDocumentMapper.java:135)
at nl.strohalm.cyclos.dao.ads.AdDocumentMapper.access$1(AdDocumentMapper.java:134)
at nl.strohalm.cyclos.dao.ads.AdDocumentMapper$1.includeInKeywordsSearch(AdDocumentMapper.java:57)
at nl.strohalm.cyclos.utils.lucene.DocumentBuilder.add(DocumentBuilder.java:99)
at nl.strohalm.cyclos.dao.ads.AdDocumentMapper.process(AdDocumentMapper.java:120)
at nl.strohalm.cyclos.dao.ads.AdDocumentMapper.process(AdDocumentMapper.java:1)
at nl.strohalm.cyclos.utils.lucene.AbstractDocumentMapper.map(AbstractDocumentMapper.java:46)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner$4.doInTransaction(IndexOperationRunner.java:408)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner$4.doInTransaction(IndexOperationRunner.java:1)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner.rebuild(IndexOperationRunner.java:399)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner.runOperation(IndexOperationRunner.java:570)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner.access$13(IndexOperationRunner.java:564)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner$5.doInTransaction(IndexOperationRunner.java:540)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner$5.doInTransaction(IndexOperationRunner.java:1)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner.runNextOperations(IndexOperationRunner.java:520)
at nl.strohalm.cyclos.utils.lucene.IndexOperationRunner.run(IndexOperationRunner.java:180)
at java.lang.Thread.run(Thread.java:679)