[jsword-devel] Could not execute method exception
Samuel
samuel.derous at scarlet.be
Wed Apr 13 22:58:36 MST 2011
hi there,
After updating to the last version in the repository... I didn't get the
error, and searching on Dutsvv works fine!
Thanks a lot!
With kind regards and God bless,
Samuel
DM Smith schreef op wo 13-04-2011 om 21:34 [-0400]:
> Samuel,
> I was able to index and search the module just fine. I used the nightly build.
>
> Just a thought. There's a bug that when you set the font on a module for a book, it changes the language to the full name and not the code. When this happens it triggers problems. (This should be fixed in the nightly build.) If you were to go into dan.conf or dan1871.conf (Don't know which module you were hitting) and change the language back to the two letter code, that should fix it.
>
> Let me know.
>
> In Him,
> DM
>
> On Apr 13, 2011, at 8:48 PM, DM Smith wrote:
>
> > Samuel,
> >
> > Glad you like it. We try hard to have it free of faults. But it never is. ;(
> >
> > I'm looking into it. It doesn't make much sense to me. You should not be able to search unless you have built an index. And building an index uses the same code. (It has to match for search to work).
> >
> > Even if you create an index with an earlier version and try to search with a later version, it shouldn't cause an error.
> >
> > Can you tell me more about your setup for that Book?
> >
> > In Him,
> > DM Smith
> >
> > On Apr 12, 2011, at 10:08 PM, Samuel wrote:
> >
> >> Hello there,
> >>
> >> pretty new to JSword and BibleDesktop, but like the project though...
> >>
> >> I get following error by doing a search on a Dutch bible, apparently an
> >> exception thrown because the language isn't supported, shouldn't Lucene
> >> then not just use the English stemmer?:
> >>
> >> org.crosswire.common.swing.ActionFactory(WARNING): Could not execute
> >> method
> >> org.crosswire.bibledesktop.book.DisplaySelectPane.doSearchAction()
> >> java.lang.reflect.InvocationTargetException
> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> at
> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >> at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >> at java.lang.reflect.Method.invoke(Method.java:616)
> >> at
> >> org.crosswire.common.swing.ActionFactory.actionPerformed(ActionFactory.java:182)
> >> at
> >> org.crosswire.common.swing.CWAction.actionPerformed(CWAction.java:145)
> >> at javax.swing.JTextField.fireActionPerformed(JTextField.java:509)
> >> at javax.swing.JTextField.postActionEvent(JTextField.java:722)
> >> at javax.swing.JTextField
> >> $NotifyAction.actionPerformed(JTextField.java:837)
> >> at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1664)
> >> at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
> >> at javax.swing.JComponent.processKeyBindings(JComponent.java:2886)
> >> at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
> >> at java.awt.Component.processEvent(Component.java:5980)
> >> at java.awt.Container.processEvent(Container.java:2105)
> >> at java.awt.Component.dispatchEventImpl(Component.java:4564)
> >> at java.awt.Container.dispatchEventImpl(Container.java:2163)
> >> at java.awt.Component.dispatchEvent(Component.java:4390)
> >> at
> >> java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1881)
> >> at
> >> java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:749)
> >> at
> >> java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1025)
> >> at
> >> java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:892)
> >> at
> >> java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:713)
> >> at java.awt.Component.dispatchEventImpl(Component.java:4434)
> >> at java.awt.Container.dispatchEventImpl(Container.java:2163)
> >> at java.awt.Window.dispatchEventImpl(Window.java:2478)
> >> at java.awt.Component.dispatchEvent(Component.java:4390)
> >> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
> >> at java.awt.EventQueue.access$000(EventQueue.java:96)
> >> at java.awt.EventQueue$1.run(EventQueue.java:608)
> >> at java.awt.EventQueue$1.run(EventQueue.java:606)
> >> at java.security.AccessController.doPrivileged(Native Method)
> >> at java.security.AccessControlContext
> >> $1.doIntersectionPrivilege(AccessControlContext.java:105)
> >> at java.security.AccessControlContext
> >> $1.doIntersectionPrivilege(AccessControlContext.java:116)
> >> at java.awt.EventQueue$2.run(EventQueue.java:622)
> >> at java.awt.EventQueue$2.run(EventQueue.java:620)
> >> at java.security.AccessController.doPrivileged(Native Method)
> >> at java.security.AccessControlContext
> >> $1.doIntersectionPrivilege(AccessControlContext.java:105)
> >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
> >> at
> >> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
> >> at
> >> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
> >> at
> >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
> >> at
> >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
> >> at
> >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
> >> at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
> >> Caused by: java.lang.IllegalArgumentException: SnowballAnalyzer
> >> configured for unavailable stemmer Dutch (Nederlands)
> >> at
> >> org.crosswire.jsword.index.lucene.analysis.ConfigurableSnowballAnalyzer.pickStemmer(ConfigurableSnowballAnalyzer.java:142)
> >> at
> >> org.crosswire.jsword.index.lucene.analysis.ConfigurableSnowballAnalyzer.setBook(ConfigurableSnowballAnalyzer.java:128)
> >> at
> >> org.crosswire.jsword.index.lucene.analysis.AnalyzerFactory.createAnalyzer(AnalyzerFactory.java:77)
> >> at
> >> org.crosswire.jsword.index.lucene.analysis.LuceneAnalyzer.<init>(LuceneAnalyzer.java:54)
> >> at
> >> org.crosswire.jsword.index.lucene.LuceneIndex.find(LuceneIndex.java:248)
> >> at org.crosswire.jsword.index.query.BaseQuery.find(BaseQuery.java:54)
> >> at
> >> org.crosswire.jsword.index.lucene.LuceneSearcher.search(LuceneSearcher.java:100)
> >> at
> >> org.crosswire.jsword.index.lucene.LuceneSearcher.search(LuceneSearcher.java:87)
> >> at
> >> org.crosswire.jsword.book.basic.AbstractBook.find(AbstractBook.java:125)
> >> at
> >> org.crosswire.bibledesktop.book.DisplaySelectPane.doSearchAction(DisplaySelectPane.java:381)
> >> ... 45 more
> >>
> >> _______________________________________________
> >> jsword-devel mailing list
> >> jsword-devel at crosswire.org
> >> http://www.crosswire.org/mailman/listinfo/jsword-devel
> >
> >
> > _______________________________________________
> > jsword-devel mailing list
> > jsword-devel at crosswire.org
> > http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20110414/8a40b813/attachment.bin>
More information about the jsword-devel
mailing list