Skip to main content

[JAVAHELP] Bug or not in JH2.0?

1 reply [Last post]
Anonymous

Bug or not..?
I have used jh2.0 Release Candidate but now using the Final Release 2.0.
When searching for some text in the jhviewer GUI I get this error in the
DOS-prompt:

========================================

MergineSearchEngine: makeEngine
MergineSearchEngine: base:
jar:file:/C:/wwp705/fl30/html/install/install.jar!/
install.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@1e228bc
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()

=========================================

When I switch back to the Release Candidate everything works fine again!?

Can someone help me?

Per Lundkvist
COMSOL AB, Sweden
per.lundkvist@comsol.se
Phone: +46 8 41 29 558

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

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.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Roger Brinkley

Per Lundkvist wrote:
> Bug or not..?
> I have used jh2.0 Release Candidate but now using the Final Release 2.0.
> When searching for some text in the jhviewer GUI I get this error in the
> DOS-prompt:

Yep that an error. Generally related to an incorrect specification in
the data section.

Binky

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

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.