[jsword-devel] [JIRA] Created: (JS-223) Possible StackOverflowError in RawLDBackend

Martin Denham (JIRA) jira at crosswire.org
Mon Jun 4 14:35:23 MST 2012


Possible StackOverflowError in RawLDBackend
-------------------------------------------

                 Key: JS-223
                 URL: http://www.crosswire.org/bugs/browse/JS-223
             Project: JSword
          Issue Type: Bug
          Components: o.c.jsword.book.sword
    Affects Versions: 1.6
         Environment: Android
            Reporter: Martin Denham
            Assignee: DM Smith
            Priority: Minor


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...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jsword-devel mailing list