Skip to main content

[JAVAHELP] Exception thrown when mergetype="javax.help.NoneMerge"

6 replies [Last post]
Anonymous

Hi all,

I received the following exception when I defined
mergetype="javax.help.NoneMerge" in the view element.

java.lang.ClassNotFoundException: javax.help.NoneMerge
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:272)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at
javax.help.MergeHelpUtilities.mergeNodeChildren(MergeHelpUtilities.ja
va:93)
at
javax.help.plaf.basic.BasicTOCNavigatorUI.loadData(BasicTOCNavigatorU
I.java:192)
at
javax.help.plaf.basic.BasicTOCNavigatorUI.reloadData(BasicTOCNavigato
rUI.java:174)
at
javax.help.plaf.basic.BasicTOCNavigatorUI.installUI(BasicTOCNavigator
UI.java:116)
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.JHelpTOCNavigator.(JHelpTOCNavigator.java:60)
at javax.help.TOCView.createNavigator(TOCView.java:102)
at javax.help.JHelp.setupNavigators(JHelp.java:140)
at javax.help.JHelp.(JHelp.java:118)
at javax.help.JHelp.(JHelp.java:68)
at JavaHelp.createHelp(JavaHelp.java:49)
at JavaHelp.(JavaHelp.java:30)
at JavaHelp.main(JavaHelp.java:34)
Exception in thread "main" java.lang.RuntimeException: Could not find or
execute
mergeNodeChildren for javax.help.NoneMerge
at
javax.help.MergeHelpUtilities.mergeNodeChildren(MergeHelpUtilities.ja
va:98)
at
javax.help.plaf.basic.BasicTOCNavigatorUI.loadData(BasicTOCNavigatorU
I.java:192)
at
javax.help.plaf.basic.BasicTOCNavigatorUI.reloadData(BasicTOCNavigato
rUI.java:174)
at
javax.help.plaf.basic.BasicTOCNavigatorUI.installUI(BasicTOCNavigator
UI.java:116)
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.JHelpTOCNavigator.(JHelpTOCNavigator.java:60)
at javax.help.TOCView.createNavigator(TOCView.java:102)
at javax.help.JHelp.setupNavigators(JHelp.java:140)
at javax.help.JHelp.(JHelp.java:118)
at javax.help.JHelp.(JHelp.java:68)
at JavaHelp.createHelp(JavaHelp.java:49)
at JavaHelp.(JavaHelp.java:30)
at JavaHelp.main(JavaHelp.java:34)

This used to work with JavaHelp2.0RC2 and I just migrated to JavaHelp2.0
Final Release.

Any help will be greatly appreciated. Thanks in advance.

Prudence

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

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.
[att1.html]

Reply viewing options

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

Prudence Au wrote:
> Hi all,
>
> I received the following exception when I defined
> mergetype="javax.help.NoneMerge" in the view element.
>

That's because it's NoMerge not NoneMerge.

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.

Prudence Au

Hi Binky,

Thanks for the quick reply. I use NoneMerge because that's what it said in
the user guide on pg. 47. Maybe it needs to be updated in the future
release.

Thanks again.

Prudence

-----Original Message-----
From: Discussion list of JavaHelp
[mailto:JAVAHELP-INTEREST@JAVA.SUN.COM]On Behalf Of Roger Brinkley
Sent: Friday, September 12, 2003 11:54 AM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Exception thrown when
mergetype="javax.help.NoneMerge"

Prudence Au wrote:
> Hi all,
>
> I received the following exception when I defined
> mergetype="javax.help.NoneMerge" in the view element.
>

That's because it's NoMerge not NoneMerge.

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.

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

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.

Roger Brinkley

Prudence Au wrote:
> Hi Binky,
>
> Thanks for the quick reply. I use NoneMerge because that's what it said in
> the user guide on pg. 47. Maybe it needs to be updated in the future
> release.

Ok. We'll fix that.

What are you using NoMerge for? Just curious. I added for completeness
and didn't expect anyone to really use it. Well at least a practical use
for it.

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.

Prudence Au

Hi Binky,

I just use that because it is there. I just tried out with NoMerge and it
has the same exception thrown. I think I am going to take it out. Thanks
again.

Cheers,
Prudence

-----Original Message-----
From: Discussion list of JavaHelp
[mailto:JAVAHELP-INTEREST@JAVA.SUN.COM]On Behalf Of Roger Brinkley
Sent: Friday, September 12, 2003 12:07 PM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Exception thrown when
mergetype="javax.help.NoneMerge"

Prudence Au wrote:
> Hi Binky,
>
> Thanks for the quick reply. I use NoneMerge because that's what it said
in
> the user guide on pg. 47. Maybe it needs to be updated in the future
> release.

Ok. We'll fix that.

What are you using NoMerge for? Just curious. I added for completeness
and didn't expect anyone to really use it. Well at least a practical use
for it.

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.

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

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.

Roger Brinkley

Prudence Au wrote:
> Hi Binky,
>
> I just use that because it is there. I just tried out with NoMerge and it
> has the same exception thrown. I think I am going to take it out. Thanks
> again.

Can't be the same exception because the class exists.

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.

Prudence Au

Sorry Binky, it was a typo....

-----Original Message-----
From: Discussion list of JavaHelp
[mailto:JAVAHELP-INTEREST@JAVA.SUN.COM]On Behalf Of Roger Brinkley
Sent: Friday, September 12, 2003 12:17 PM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Exception thrown when
mergetype="javax.help.NoneMerge"

Prudence Au wrote:
> Hi Binky,
>
> I just use that because it is there. I just tried out with NoMerge and it
> has the same exception thrown. I think I am going to take it out. Thanks
> again.

Can't be the same exception because the class exists.

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.

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

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.