Hi Stuart-
Stuart Maclean wrote:
I was just trying to run IDV via web start. I see that it is now at
version 2.1. I wanted to check the functionality of the 'range and
bearing tool'. In the User's Guide window, I typed 'range' and hit
return. I get a stack trace in the Java console. Any ideas? Is a jar
missing from the classpath?
The search capability in the IDV 2.1 release is broken. The indexer
did not get run when the release was created. I've updated
the webstart release so the next time you run webstart you should get
the new auxdata.jar.
Currently, we don't have a good way of updating the installers, so
I also placed a copy of auxdata.jar under the IDV downloads section
of the Unidata web site. Feel free to update your installation by
downloading auxdata.jar and replacing the version in the installation
directory.
Thanks for finding this, Stuart.
Here is the message that prints out when you try to search without
the fix.
MergineSearchEngine: makeEngine
MergineSearchEngine: base:
jar:file:/home/stuart/.java/deployment/cache/javaws/http/Dwww.unidata.ucar.edu/P80/DMsoftware/DMidv/DMwebstart/DMIDV/RMauxdata.jar!/auxdata/docs/userguide/HelpSet.hs
MergineSearchEngine: params:
{engine=com.sun.java.help.search.DefaultSearchEngine, data=JavaHelpSearch}
Exception while creating engine named
com.sun.java.help.search.DefaultSearchEngine for view:
javax.help.SearchView@1b41650
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at
javax.help.search.MergingSearchEngine.makeEngine(MergingSearchEngine.java:169)
at
javax.help.search.MergingSearchEngine.<init>(MergingSearchEngine.java:63)
at
javax.help.JHelpSearchNavigator.getSearchEngine(JHelpSearchNavigator.java:102)
at
javax.help.plaf.basic.BasicSearchNavigatorUI$SearchActionListener.actionPerformed(BasicSearchNavigatorUI.java:110)
at javax.swing.JTextField.fireActionPerformed(JTextField.java:487)
at javax.swing.JTextField.postActionEvent(JTextField.java:668)
at
javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:783)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2763)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2798)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2726)
at java.awt.Component.processEvent(Component.java:5265)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
atcom.sun.java.swing.plaf.gtk.GTKLookAndFeel/icons/Inform.gif not
found.
Don Murray