java.lang.StringIndexOutOfBoundsException: String index out of range: 0

Google Groups | Unknown author | 2 years ago
  1. 0

    Trying to go through Joshua guide for creating Spanish->English vocabulary Error in Step 2:subsample

    Google Groups | 2 years ago | Unknown author
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  2. 0

    Re: [joshua-support] Getting an error while tuning

    Google Groups | 4 years ago | Matt Post
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  3. 0

    swagger codegen fails due to java exception

    GitHub | 2 years ago | vnugent
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Index into should explicitly disallow empty strings

    GitHub | 2 years ago | vicentealencar
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  6. 0

    Multiple line breaks within a single quoted value causes StringIndexOutOfBoundsException

    GitHub | 2 years ago | gmatadh
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0

  1. harshg 2 times, last 2 months ago
  2. balintn 4 times, last 3 months ago
  3. poroszd 1 times, last 3 months ago
  4. Stefan Braune 1 times, last 5 months ago
  5. mauritius 1 times, last 5 months ago
6 more registered users
18 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.StringIndexOutOfBoundsException

    String index out of range: 0

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:658)
    1 frame
  3. joshua.util
    FormatUtils.isNonterminal
    1. joshua.util.FormatUtils.isNonterminal(FormatUtils.java:24)
    1 frame
  4. joshua.corpus
    BasicPhrase.<init>
    1. joshua.corpus.Vocabulary.nt(Vocabulary.java:245)
    2. joshua.corpus.Vocabulary.id(Vocabulary.java:152)
    3. joshua.corpus.AbstractPhrase.splitSentence(AbstractPhrase.java:51)
    4. joshua.corpus.BasicPhrase.<init>(BasicPhrase.java:40)
    4 frames
  5. joshua.subsample
    Subsampler.main
    1. joshua.subsample.PhraseReader.readPhrase(PhraseReader.java:49)
    2. joshua.subsample.BiCorpus$1.next(BiCorpus.java:140)
    3. joshua.subsample.BiCorpus$1.next(BiCorpus.java:116)
    4. joshua.subsample.BiCorpus.<init>(BiCorpus.java:79)
    5. joshua.subsample.BiCorpus.<init>(BiCorpus.java:60)
    6. joshua.subsample.BiCorpusFactory.unalignedFromFiles(BiCorpusFactory.java:59)
    7. joshua.subsample.BiCorpusFactory.fromFiles(BiCorpusFactory.java:54)
    8. joshua.subsample.Subsampler.subsample(Subsampler.java:142)
    9. joshua.subsample.Subsampler.subsample(Subsampler.java:103)
    10. joshua.subsample.SubsamplerCLI.runSubsampler(SubsamplerCLI.java:106)
    11. joshua.subsample.SubsamplerCLI.runMain(SubsamplerCLI.java:130)
    12. joshua.subsample.Subsampler.main(Subsampler.java:241)[mattmann-0420740:data/spanish-english/data]
    12 frames