Skip to main content

[JAVAHELP] Please help me on searching...

No replies
Anonymous

I'm lost about my error I get when searching in jhviewer!

I have 2 WebWorks project that converts FrameMaker documents into JavaHelp
that I view with jhviewer, one smaller that contains only some of the
FrameMaker documents (in this one the search-function works!!!), and one
bigger that includes them all (in this the search-function does not work?!?
BUT it works if I search the created database from the DOS-prompt with the
jhsearch-command!).

I wonder if the it could be the TOC-FrameMaker-documents that becomes the
JavaHelp-TOC that is the problem, or do you have any other suggestion?

Everything else looks fine, the TOC and the INDEX etc...

The error I get in the DOS-prompt when searchin is:
==============================================

MergineSearchEngine: makeEngine
MergineSearchEngine: base:
jar:file:/C:/wwp705/fl30/html/totdoc/totdoc.jar!/to
tdoc.hs
MergineSearchEngine: params:
{engine=com.sun.java.help.search.DefaultSearchEng
ine, data=JavaHelpSearch}
Exception while creating engine named
com.sun.java.help.search.DefaultSearchEngi
ne for view: javax.help.SearchView@269997
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
javax.help.search.MergingSearchEngine.makeEngine(MergingSearchEngine.
java:169)
at
javax.help.search.MergingSearchEngine.(MergingSearchEngine.java
:63)
at
javax.help.JHelpSearchNavigator.getSearchEngine(JHelpSearchNavigator.
java:102)
at
javax.help.plaf.basic.BasicSearchNavigatorUI$SearchActionListener.act
ionPerformed(BasicSearchNavigatorUI.java:110)
at javax.swing.JTextField.fireActionPerformed(Unknown Source)
at javax.swing.JTextField.postActionEvent(Unknown Source)
at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown
Source)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown
Source)

at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown
Sour
ce)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown
Sour
ce)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown
Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.security.InvalidParameterException
at
com.sun.java.help.search.DefaultSearchEngine.(DefaultSearchEngi
ne.java:75)
... 35 more
MergineSearchEngine: startSearch()

=================
Per Lundkvist

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.