Uploaded image for project: 'JSword'
  1. JSword
  2. JS-223

Possible StackOverflowError in RawLDBackend

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.6
    • Fix Version/s: 1.7
    • Component/s: o.c.jsword.book.sword
    • Labels:
      None
    • Environment:

      Android

      Description

      The following bug report was received in the And Bible Android console. I only received one report of this bug so it is not urgent or important, but I am recording it here in case it shows a problem in RawLDBackend. It seems that RawLDBackend may be calling itself during initialisation:

      java.lang.StackOverflowError
      at java.util.HashMap.get(HashMap.java:302)
      at org.crosswire.jsword.book.sword.ConfigEntryTable.getValue(ConfigEntryTable.java:278)
      at org.crosswire.jsword.book.sword.SwordBookMetaData.getProperty(SwordBookMetaData.java:283)
      at org.crosswire.jsword.book.sword.SwordBookMetaData.getInitials(SwordBookMetaData.java:271)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.getName(AbstractKeyBackend.java:164)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:237)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBackend.java:126)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend$1.<init>(AbstractKeyBackend.java:107)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.iterator(AbstractKeyBackend.java:80)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.compareTo(AbstractKeyBackend.java:244)
      at org.crosswire.jsword.book.sword.AbstractKeyBackend.equals(AbstractKeyBackend.java:215)
      at java.util.HashMap.containsKey(HashMap.java:339)
      at java.util.HashSet.contains(HashSet.java:138)
      at org.crosswire.common.activate.Activator.activate(Activator.java:53)
      at org.crosswire.jsword.book.sword.RawLDBackend.checkActive(RawLDBackend.java:263)
      at org.crosswire.jsword.book.sword.RawLDBackend.getCardinality(RawLDBa...

        Attachments

          Activity

            People

            • Assignee:
              dmsmith DM Smith
              Reporter:
              mjdenham Martin Denham
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: