Page 1 of 1

FC caused by searching for "provide"

Posted: Wed Jun 09, 2010 10:08 am
by jackcholt
I received the following email today from Michael Hendricks (michael@ndrix.org)
Hi Bro. Holt,

I tried to report this bug in Jira directly, but my LDS Account login
information doesn't appear to work there. Anyway, I have a Nexus One
running Android 2.2 (Froyo) with Gospel Library version 1.0 (latest
update available from the market).

When I search for "provide" from the home screen, I see "Searching for
[provide]" and "Please wait..." as expected. The search finishes and
begins to display the results. Sometime briefly after the first page of
results populates, Android gives me the message: "Sorry! The application
Gospel Library (process org.lds.ldssa) has stopped unexpectedly. Please
try again."

That's the only search for which I've found the behavior. All other
searches work correctly.

I'm able to compile, build and install the Gospel Library from source,
but my Java chops are a little weak (I'm a Perl and Haskell programmer
by trade). I'd be glad to apply and test any patches that others might
write. Or, if you can point me in the right direction, I'd be glad to
try patching it myself. I'd also be glad to extract any stack traces or
other debugging information you need if you can point me towards some
instructions.

Thanks for your work on the Gospel Library. I really enjoy it.

--
Michael

Posted: Wed Jun 09, 2010 10:11 am
by jackcholt
This is a verified bug and will be tracked in Jira. Here is the error stack dump.

06-09 08:54:21.289: ERROR/AndroidRuntime(22420): Caused by: java.lang.IllegalStateException: No content was found for uri: en/publications/old-testament-class-member-study-guide/foreword.2
06-09 08:54:21.289: ERROR/AndroidRuntime(22420): at org.lds.ldssa.search.SearchResult.getDocumentText(SearchResult.java:243)
06-09 08:54:21.289: ERROR/AndroidRuntime(22420): at org.lds.ldssa.search.SearchResult.preprocessHighlightedResult(SearchResult.java:201)
06-09 08:54:21.289: ERROR/AndroidRuntime(22420): at org.lds.ldssa.search.SearchResult.preprocess(SearchResult.java:148)
06-09 08:54:21.289: ERROR/AndroidRuntime(22420): at org.lds.ldssa.search.SearchHandler.preprocessResults(SearchHandler.java:443)
06-09 08:54:21.289: ERROR/AndroidRuntime(22420): at org.lds.ldssa.search.SearchHandler.access$1(SearchHandler.java:438)
06-09 08:54:21.289: ERROR/AndroidRuntime(22420): at org.lds.ldssa.search.SearchHandler$ResultsProcessor.doInBackground(SearchHandler.java:460)
06-09 08:54:21.289: ERROR/AndroidRuntime(22420): at org.lds.ldssa.search.SearchHandler$ResultsProcessor.doInBackground(SearchHandler.java:1)
06-09 08:54:21.289: ERROR/AndroidRuntime(22420): at android.os.AsyncTask$2.call(AsyncTask.java:185)
06-09 08:54:21.289: ERROR/AndroidRuntime(22420): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)

Posted: Wed Jun 09, 2010 10:26 am
by jackcholt
This has been assigned issue number MSA-75.