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

GitHub | pcolmer | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 1#240416375

    GitHub | 9 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