Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-678

Repository fails to start up due to runtime exception thrown by ServicingNodeIndexer

    XMLWordPrintable

Details

    Description

      The repository fails to startup with the error below. The ServicingNodeIndexer is not able to handle property types: weakreference, uri, decimal and maybe some others. Instead of throwing a runtime exception, it should just log an error.

      20.06.2013 12:46:41 ERROR [org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces():512] Failed to initialize workspace 'default'
      javax.jcr.RepositoryException: Unable to initialize query handler: org.hippoecm.repository.FacetedNavigationEngineThirdImpl@102f380
      at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationParser.java:637)
      at org.apache.jackrabbit.core.config.WorkspaceConfig.getQueryHandler(WorkspaceConfig.java:215)
      at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:173)
      at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1832)
      at org.hippoecm.repository.jackrabbit.RepositoryImpl$HippoWorkspaceInfo.getSearchManager(RepositoryImpl.java:274)
      at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2067)
      at org.hippoecm.repository.jackrabbit.RepositoryImpl$HippoWorkspaceInfo.doPostInitialize(RepositoryImpl.java:221)
      at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1973)
      at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:505)
      at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:313)
      at org.hippoecm.repository.jackrabbit.RepositoryImpl.<init>(RepositoryImpl.java:76)
      at org.hippoecm.repository.LocalHippoRepository$LocalRepositoryImpl.<init>(LocalHippoRepository.java:245)
      at org.hippoecm.repository.LocalHippoRepository.initializeStartup(LocalHippoRepository.java:299)
      at org.hippoecm.repository.LocalHippoRepository.initialize(LocalHippoRepository.java:270)
      at org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:135)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:184)
      at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:153)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      at org.apache.catalina.core.StandardService.start(StandardService.java:525)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      Caused by: java.io.IOException: Error indexing workspace
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:395)
      at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:525)
      at org.hippoecm.repository.FacetedNavigationEngineThirdImpl.doInit(FacetedNavigationEngineThirdImpl.java:634)
      at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:78)
      at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationParser.java:634)
      ... 46 more
      Caused by: java.lang.IllegalArgumentException: illegal internal value type
      at org.hippoecm.repository.query.lucene.ServicingNodeIndexer.addFacetValue(ServicingNodeIndexer.java:352)
      at org.hippoecm.repository.query.lucene.ServicingNodeIndexer.createDoc(ServicingNodeIndexer.java:249)
      at org.hippoecm.repository.query.lucene.ServicingSearchIndex.createDocument(ServicingSearchIndex.java:278)
      at org.hippoecm.repository.query.lucene.ServicingSearchIndex.createDocument(ServicingSearchIndex.java:260)
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createDocument(MultiIndex.java:863)
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createDocument(MultiIndex.java:878)
      at org.apache.jackrabbit.core.query.lucene.MultiIndex$AddNode.execute(MultiIndex.java:1724)
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:1134)
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1219)
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1240)
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1240)
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1240)
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1240)
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1240)
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1240)
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:388)
      ... 50 more

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            bvdschans Bart van der Schans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: