Skip to main content

[JAVAHELP] Antwort: Re: [JAVAHELP] Problem with Index File in jh2.0

No replies
Anonymous

No, I'm not merging. And the helpSet_de.hs-file also appeares to be valid. Here
is the part of the helpset, where it refers to the index.

Index
Index
javax.help.IndexView
AppHelpIndex.xml

Stephan Schlecht on 30.09.2003 11:45:11

Bitte antworten an Discussion list of JavaHelp

An: JAVAHELP-INTEREST
Kopie: (Blindkopie: Carsten P�rtge)
Thema: Re: [JAVAHELP] Problem with Index File in jh2.0

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

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.

Syntactically your index file looks good.

Do you use merging? If yes, can it be, that somewhere
an invalid target is used?

Stephan
--
Software 7 GmbH
*** Helen 1.1, the JavaHelp Authoring Tool ***
*** Soon supporting JavaHelp 2.0 ***
http://www.software7.biz

At 11:12 30.09.2003, you wrote:
>Hello,
>
>I changed from jh2.0beta to jh2.0 stable and now, an error is thrown, when I
>initialize javahelp app.
>
>
>Parsing failed for file:/misc/home/anom/java/appname/apphelp/AppHelpIndex.xml
>Warnung: Ungueltiges Index-Format
>Exception in thread "main" java.lang.NullPointerException
> at
>javax.help.MergeHelpUtilities.mergeNodeChildren(MergeHelpUtilities.java:81)
> at
>javax.help.plaf.basic.BasicIndexNavigatorUI.loadData(BasicIndexNavigatorUI.java:219)

> at
>javax.help.plaf.basic.BasicIndexNavigatorUI.reloadData(BasicIndexNavigatorUI.java:200)

> at
>javax.help.plaf.basic.BasicIndexNavigatorUI.installUI(BasicIndexNavigatorUI.java:144)

> at javax.swing.JComponent.setUI(JComponent.java:449)
> at javax.help.JHelpNavigator.setUI(JHelpNavigator.java:249)
> at javax.help.JHelpNavigator.updateUI(JHelpNavigator.java:268)
> at javax.help.JHelpNavigator.(JHelpNavigator.java:97)
> at javax.help.JHelpIndexNavigator.(JHelpIndexNavigator.java:53)
> at javax.help.IndexView.createNavigator(IndexView.java:103)
> at javax.help.JHelp.setupNavigators(JHelp.java:140)
> at javax.help.JHelp.(JHelp.java:118)
> at
> javax.help.WindowPresentation.createJHelp(WindowPresentation.java:656)
> at
>javax.help.WindowPresentation.createHelpWindow(WindowPresentation.java:689)
> at
>javax.help.DefaultHelpBroker.initPresentation(DefaultHelpBroker.java:170)
> ...
>
>
>I can't find a problem in the index file "AppHelpIndex.xml". Can you see one?
>
>
>
><?xml version='1.0' encoding='ISO-8859-1' ?>
> PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Index Version 2.0//DE"
> "dtd/index_2_0.dtd">
>
> A
> Aufbauzeit
>
>
>
>
>
>Gruss,
>Carsten

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

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.

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

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.