views:

85

answers:

1

Hello,

I have a problem with the Eclipse Keyword Index for a Remote Infocenter. I have the following index.xml file (also specified as the primary index in my plugin.xml):

<index>
    <entry keyword="Electricity">
        <topic href="electricity.html"/>
    </entry>
</index>

When clicking the index tab (from Help->Help Contents) i get the following exception in my Eclipse Console: java.lang.ClassCastException: org.eclipse.help.internal.Topic at org.eclipse.help.internal.base.remote.RemoteIndexParser.parse(RemoteIndexParser.java:50) at org.eclipse.help.internal.base.remote.RemoteIndexProvider.getIndexContributions(RemoteIndexProvider.java:54)

The remote infocenter contains a plugin.xml, index.xml, toc.xml. Thank you in advance for helping!

A: 

What version of eclipse are you using?
The 3.4 or early 3.5 version of 2008 might still have an issue with remote help, as illustrated by this thread.
Do you reproduce that with an eclipse 3.5.1 ?

What is happening is that an index entry in a remote toc does not have a label attribute and it is trying to look up the href in the TOC.
We have tested the remote index but may not have hit on that particular situation in our testing.

VonC
I am using Eclipse 3.5. It is about a remote infocenter for Eclipse. Sorry I forgot to mention this.
AndreiC