java.lang.UnsupportedOperationException: Target reference field is always "id" and cannot be changed.

GitHub | pcolmer | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 1#240416375

    GitHub | 8 months ago | pcolmer
    java.lang.UnsupportedOperationException: Target reference field is always "id" and cannot be changed.

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Target reference field is always "id" and cannot be changed.

      at com.norconex.committer.cloudsearch.CloudSearchCommitter.setTargetReferenceField()
    2. com.norconex.committer
      AbstractMappedCommitter.loadFromXML
      1. com.norconex.committer.cloudsearch.CloudSearchCommitter.setTargetReferenceField(CloudSearchCommitter.java:214)
      2. com.norconex.committer.core.AbstractMappedCommitter.loadFromXML(AbstractMappedCommitter.java:372)
      2 frames
    3. com.norconex.commons
      ConfigurationUtil.newInstance
      1. com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:205)
      2. com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:338)
      3. com.norconex.commons.lang.config.ConfigurationUtil.newInstance(ConfigurationUtil.java:291)
      3 frames
    4. com.norconex.collector
      HttpCollector.main
      1. com.norconex.collector.core.crawler.AbstractCrawlerConfig.loadFromXML(AbstractCrawlerConfig.java:348)
      2. com.norconex.collector.core.crawler.CrawlerConfigLoader.loadCrawlerConfig(CrawlerConfigLoader.java:123)
      3. com.norconex.collector.core.crawler.CrawlerConfigLoader.loadCrawlerConfigs(CrawlerConfigLoader.java:72)
      4. com.norconex.collector.core.AbstractCollectorConfig.loadFromXML(AbstractCollectorConfig.java:183)
      5. com.norconex.collector.core.CollectorConfigLoader.loadCollectorConfig(CollectorConfigLoader.java:78)
      6. com.norconex.collector.core.AbstractCollectorLauncher.launch(AbstractCollectorLauncher.java:76)
      7. com.norconex.collector.http.HttpCollector.main(HttpCollector.java:75)
      7 frames