Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JavaHelp Search

1 view
Skip to first unread message

Julian Hayward

unread,
Mar 9, 2001, 1:21:57 PM3/9/01
to
I'm using JavaHelp 1.1 in an application; it works fine except for the
search. When
I enter a word to search for and press enter, I get:


Exception occurred during event dispatching:
java.lang.Error: InvocationTargetException while creating engine named
com.sun.java.help.search.DefaultSearchEngine for view:
javax.help.SearchView@69a4cb
at
javax.help.JHelpSearchNavigator.makeEngine(JHelpSearchNavigator.java:164)
at javax.help.JHelpSearchNavigator.access$0(JHelpSearchNavigator.java:115)
at
javax.help.JHelpSearchNavigator$MergingSearchEngine.<init>(JHelpSearchNaviga
tor.java:270)
at
javax.help.JHelpSearchNavigator.getSearchEngine(JHelpSearchNavigator.java:10
8)
at
javax.help.plaf.basic.BasicSearchNavigatorUI$SearchActionListener.actionPerf
ormed(BasicSearchNavigatorUI.java:96)
at javax.swing.JTextField.fireActionPerformed(JTextField.java:421)
at javax.swing.JTextField.postActionEvent(JTextField.java:586)
at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:696)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1702)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2156)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2182)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2119)
at java.awt.Component.processEvent(Component.java:3555)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2595)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2499)
at java.awt.LightweightDispatcher.processKeyEvent(Container.java:2155)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2135)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:912)
at java.awt.Component.dispatchEvent(Component.java:2499)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)


The relevant bit of the HelpSet looks like:

<view>
<name>Search</name>
<label>Search</label>
<type>javax.help.SearchView</type>
<data engine="com.sun.java.help.search.DefaultSearchEngine">
JavaHelpSearch</data>
</view>


and everything has been compiled with jhindexer (and I can use the test
search
program supplied to interrogate it successfully).

Does anyone have any ideas?

--
Julian Hayward (mailto:jul...@lsl.co.uk) Laser-Scan Ltd,
Senior Software Engineer 101 Science Park, Milton Rd,
Tel: 01223 420414 Fax: 01223 420044 Cambridge, CB4 0FY, UK.
= Any opinions expressed are mine and not necessarily Laser-Scan's =


Julian Hayward

unread,
Mar 13, 2001, 4:51:23 AM3/13/01
to
D'oh! Problem sorted.
0 new messages