Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3854

Re-index fails on corrupt bundle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4.4
    • None
    • indexing, jackrabbit-core
    • None

    Description

      I don't how it is happened but I have a corrupted node.
      In my case the re-indexation fails and the repository does not start !
      This case is similar as JCR-3268 but the exception is not ItemStateException but IllegalArgumentException.

      here the stack trace:
      27.02.2015 10:39:21.886 [INFO ] Indexing folder XXXXXX_2014.05 (id: 67c930d5-e081-48db-878e-0e429d2c2078) [jcr-trunk] [localhost-startStop-1] NodeIndexer.java:301
      27.02.2015 10:39:21.902 [ERROR] null , type:11, s:xxxxxxxxx¿½comment
      java.lang.IllegalArgumentException: null
      at java.net.URI.create(URI.java:841) ~[na:1.6.0_45]
      at org.apache.jackrabbit.core.value.InternalValue.valueOf(InternalValue.java:545) ~[InternalValue.class:2.4.4]
      at org.apache.jackrabbit.core.persistence.util.BundleReader.readPropertyEntry(BundleReader.java:414) [BundleReader.class:2.4.4]
      at org.apache.jackrabbit.core.persistence.util.BundleReader.readBundleNew(BundleReader.java:191) [BundleReader.class:2.4.4]
      at org.apache.jackrabbit.core.persistence.util.BundleReader.readBundle(BundleReader.java:146) [BundleReader.class:2.4.4]
      at org.apache.jackrabbit.core.persistence.util.BundleBinding.readBundle(BundleBinding.java:145) [BundleBinding.class:2.4.4]
      at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.readBundle(BundleDbPersistenceManager.java:1069) [BundleDbPersistenceManager.class:2.4.4]
      at org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.loadBundle(BundleDbPersistenceManager.java:954) [BundleDbPersistenceManager.class:2.4.4]
      at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundleCacheMiss(AbstractBundlePersistenceManager.java:436) [AbstractBundlePersistenceManager.class:na]
      at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:421) [AbstractBundlePersistenceManager.class:na]
      at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:548) [AbstractBundlePersistenceManager.class:na]
      at org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1837) [jackrabbit-core-2.4.4.jar:2.4.4]
      at org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1757) [jackrabbit-core-2.4.4.jar:2.4.4]
      at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270) [jackrabbit-core-2.4.4.jar:2.4.4]
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1236) [jackrabbit-core-2.4.4.jar:na]
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1246) [jackrabbit-core-2.4.4.jar:na]
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1246) [jackrabbit-core-2.4.4.jar:na]
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1246) [jackrabbit-core-2.4.4.jar:na]
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1246) [jackrabbit-core-2.4.4.jar:na]
      at org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:387) [jackrabbit-core-2.4.4.jar:na]
      at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:530) [SearchIndex.class:na]
      at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:78) [jackrabbit-core-2.4.4.jar:2.4.4]
      at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationParser.java:655) [jackrabbit-core-2.4.4.jar:2.4.4]
      at org.apache.jackrabbit.core.config.WorkspaceConfig.getQueryHandler(WorkspaceConfig.java:251) [jackrabbit-core-2.4.4.jar:2.4.4]
      ....
      Caused by: java.net.URISyntaxException: Illegal character in path at index 17

      Attachments

        1. jcr-3854.patch
          2 kB
          Jean-François Melian

        Activity

          People

            Unassigned Unassigned
            jfm Jean-François Melian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: