[opencms-dev] Error rebuilding "Solr Offline" index

Rüdiger Kurz r.kurz at alkacon.com
Wed Feb 13 15:57:43 CET 2013


Hi,

probably you have found an issue, could you please send the full file 
name of the resource that causes the stack you posted?

Assuming that you have copied the Solr field configuration 
(opencms-search.xml) from a release < 8.5.1 after you updated your 
system, you might have configured the CmsDependencyIndexer for indexing 
documents.

To solve the problem edit the opencms-search.xml and replace all nodes:
   <indexer class="org.opencms.search.CmsDependencyIndexer"/>+

with
   <indexer class="org.opencms.search.CmsVfsIndexer" />

HTH
-Rüdiger

Am 13.02.2013 15:44, schrieb Albiach, Enric (MAD-MRM):
> Hi all,
>
> We are getting the following error rebuilding the index “Solr Offline”
> (FYI, we’ve migrated our contents from OpenCms 7.5.2 to OpenCms 8.5.1):
>
> Exception java.lang.NumberFormatException: For input string:
> "831333108216000"
>
> at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>
> at java.lang.Integer.parseInt(Integer.java:495)
>
> at java.lang.Integer.parseInt(Integer.java:527)
>
> at
> org.opencms.search.documents.CmsDocumentDependency.<init>(CmsDocumentDependency.java:187)
>
> at
> org.opencms.search.documents.CmsDocumentDependency.<init>(CmsDocumentDependency.java:166)
>
> at
> org.opencms.search.documents.CmsDocumentDependency.readDependencies(CmsDocumentDependency.java:743)
>
> at
> org.opencms.search.documents.CmsDocumentDependency.load(CmsDocumentDependency.java:352)
>
> at
> org.opencms.search.CmsDependencyIndexer.rebuildIndex(CmsDependencyIndexer.java:176)
>
> at
> org.opencms.search.CmsSearchManager.updateIndex(CmsSearchManager.java:2523)
>
> at
> org.opencms.search.CmsSearchManager.rebuildIndexes(CmsSearchManager.java:1644)
>
> at org.opencms.search.CmsSearchManager.cmsEvent(CmsSearchManager.java:986)
>
> at
> org.opencms.main.CmsEventManager.fireEventHandler(CmsEventManager.java:194)
>
> at org.opencms.main.CmsEventManager.fireEvent(CmsEventManager.java:117)
>
> at org.opencms.main.CmsEventManager.fireEvent(CmsEventManager.java:139)
>
> at org.opencms.main.OpenCms.fireCmsEvent(OpenCms.java:167)
>
> at
> org.opencms.workplace.tools.searchindex.CmsIndexingReportThread.run(CmsIndexingReportThread.java:123)
>
> Moreover, we couldn’t find the string/number “831333108216000” anywhere
> (xmlcontents, database, content properties, etc.), any clue?
>
> Thank you very much in advance.
>
> Kind regards,
>
> Enric
>
> Description: C:\Users\matos.admin\Desktop\MRM_LOGO_RGB_WT.jpg
>
> *Enric Albiach*
>
> Software Engineer
>
> M › +34.690.823.283  E › enric.albiach at mrmww.es
>
> Paseo de la Castellana 165, 4ª planta 28046 Madrid
>
> W › www.mrmworldwide.com
>
> Creativity
>
> Technology
>
> Performance



More information about the opencms-dev mailing list