TRACER
  • Introduction
  • Manual
    • About the manual
    • Introduction
      • Text Reuse
      • TRACER overview
    • System prerequisites
    • Download and installation
    • Corpus preparation
    • PoS-tagging, lemmatisation & WordNets
    • Configuration
      • Step 1. Preprocessing
      • Step 2. Featuring/Training
      • Step 3. Selection
      • Step 4. Linking
      • Step 5. Scoring
    • Execution of TRACER
    • Postprocessing
    • Results & computed files
    • Keeping a detection logbook
    • Limitations
    • References
  • Beta
    • Visualising results in a tabular format
    • BabelNet API
    • Text preprocessing automation
  • Support
    • Troubleshooting
      • Unable to parse date
      • Unable to access jarfile
      • Empty score and link files
      • Java lang no class definition found
      • Out of memory
      • Out of bounds exception
      • Windows: length of folder name
      • Windows: PowerShell
    • FAQ
    • Publications
    • Resources
    • Command line: MAC vs. Windows
Powered by GitBook
On this page
  1. Support
  2. Troubleshooting

Out of bounds exception

PreviousOut of memoryNextWindows: length of folder name

Last updated 6 years ago

CtrlK

Here is another error reported by a TRACER user (line 16).

START TO PROCESS LEVEL 1 (PRE-PROCESSING)

Preprocessing baseform graph in data/corpora/LLCT2/LLCT2.lemma ...
Total number of loaded word forms is 749
eu.etrap.tracer.TracerException: java.lang.ArrayIndexOutOfBoundsException: 1
    at eu.etrap.tracer.preprocessing.graph.AbstractWordGraphHandler.loadInputFile(AbstractWordGraphHandler.java:136)
    at eu.etrap.tracer.preprocessing.graph.BaseFormWordGraphPreprocessingImpl.preprocessing(BaseFormWordGraphPreprocessingImpl.java:48)
    at eu.etrap.tracer.preprocessing.WordGraphPreparer.prepareBaseformGraph(WordGraphPreparer.java:107)
    at eu.etrap.tracer.preprocessing.WordGraphPreparer.prepare(WordGraphPreparer.java:70)
    at eu.etrap.tracer.AbstractTracerFrameWork.process(AbstractTracerFrameWork.java:151)
    at eu.etrap.tracer.Tracer.process(Tracer.java:56)
    at eu.etrap.tracer.Tracer.main(Tracer.java:69)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at eu.etrap.tracer.preprocessing.graph.AbstractWordGraphHandler.loadInputFile(AbstractWordGraphHandler.java:113)
    ... 6 more
Message: java.lang.ArrayIndexOutOfBoundsException: 1

As this error message indicates in line 3, the source of the problem is the .lemma file. In this particular use case, five entries in the file were missing one of three columns of data required. Adding the missing information in the third column fixed the issue.