on March 17, 2004 at 4:20 PM PST
I'm a newbie to JavaHelp and I'm using the new 2.0.01 release. So far, I think this is a GREAT product but I'm having some problems getting it to work 100%.
My immediate problem is that JavaHelp doesn't like my glossary. Everything was going fine and I had created several editions of my Help system successfully when I added a glossary, carefully following the description and examples in the Java Help System User's Guide. When I try to look at my Help system now, with the 'java -jar' command, I get this exception:
Parsing failed for jar:file:/D:/eclipse/workspace/SDAC/help/sdachelp.jar!/SdacGlossary.xml
Warning: Invalid Index format
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Caused by: java.lang.NullPointerException
... 5 more
It obviously doesn't like something about my glossary. Here is the glossary section of the helpset:
Here is the glossary itself, 'SdacGlossary.xml':
<?xml version='1.0' encoding='ISO-8859-1' ?>
I can't tell from the error message whether the glossary section of the helpset has the problem or the glossary file itself. I've checked the glossary file in XMLSpy and it checks out as well-formed and validates cleanly.
I've also eyeballed both the glossary file and the glossary portion of the helpset and it looks like I've done everything exactly as prescribed by the User Guide.
Can anyone help me figure out what is wrong?