java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Apache's JIRA Issue Tracker | Alessandro Benedetti | 3 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    [CONNECTORS-840] Job - Solr Mapping Improvement - ASF JIRA

    apache.org | 1 year ago
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    "When you configure a job to use a Solr-type output connection, the Solr connection type provides a tab called "Field Mapping". The purpose of this tab is to allow you to map metadata fields as fetched by the job's connection type to fields that Solr is set up to receive. This is necessary because the names of the metadata items are often determined by the repository, with no alignment to fields defined in the Solr schema. You may also suppress specific metadata items from being sent to the index using this tab. Add a new mapping by filling in the "source" with the name of the metadata item from the repository, and "target" as the name of the output field in Solr, and click the "Add" button. Leaving the "target" field blank will result in all metadata items of that name not being sent to Solr." In my opinion we should change the way a metadata field is suppressed. The most natural way is that we express only the mappings of the metadata fields we want to keep. All the missing params will not be sent to Solr. The improvement will be : - same interface with a boolean flag in addition, this flag will specify if the missing metadata fields not expressed should be sent to Solr with the original names or not sent at all. In this way if we want to keep 3/100 metadata fields, we don't have to write 100 mapping entries , 97 empty but simply 3 entries and activate the flag.

    Apache's JIRA Issue Tracker | 3 years ago | Alessandro Benedetti
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  3. 0
    samebug tip
    Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build failure with the latest git code

    GitHub | 4 years ago | sanjana-bhat
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  6. 0

    Mule EventCorrelator IndexOutOfBoundsException

    Stack Overflow | 3 years ago | Tashani Kathriarachchi
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

  1. Indri Yunita 4 times, last 2 weeks ago
  2. filpgame 4 times, last 2 weeks ago
  3. tyson925 3 times, last 3 weeks ago
  4. justCodeit 1 times, last 3 weeks ago
  5. Pilleo 3 times, last 4 weeks ago
69 more registered users
26 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Index: 0, Size: 0

    at java.util.ArrayList.rangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.rangeCheck(ArrayList.java:604)
    2. java.util.ArrayList.get(ArrayList.java:382)
    2 frames
  3. org.apache.manifoldcf
    WorkerThread.run
    1. org.apache.manifoldcf.agents.output.solr.SolrConnector.addOrReplaceDocument(SolrConnector.java:708)
    2. org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.addOrReplaceDocument(IncrementalIngester.java:1681)
    3. org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.performIngestion(IncrementalIngester.java:571)
    4. org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.documentIngest(IncrementalIngester.java:436)
    5. org.apache.manifoldcf.crawler.system.WorkerThread$ProcessActivity.ingestDocument(WorkerThread.java:1747)
    6. org.apache.manifoldcf.crawler.connectors.filesystem.FileConnector.processDocuments(FileConnector.java:378)
    7. org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.processDocuments(BaseRepositoryConnector.java:433)
    8. org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:565)
    8 frames