[jsword-devel] Could not execute method exception
Samuel
samuel.derous at scarlet.be
Tue Apr 12 19:08:47 MST 2011
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
-------------- 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/20110413/2c549842/attachment.bin>
More information about the jsword-devel
mailing list