#53 Help command does not work

closed-accepted
5
2011-04-10
2008-11-13
No

I am running Jomic 0.9.30 on a MacBook with MacOSX v10.4.11, and am running the program directly from the Eclipse IDE v3.4
I am able to open comic archives correctly, however, when I try and access the Help menu by clicking Help > Help I get the following error:

Cannot process internal command "help":
Cannot load online help:
Cannot find help set "jhelpset.hs"

The internal call stack is:
java.lang.IllegalStateException: cannot load online help
at net.sf.jomic.common.JomicHelpTools.<init>(JomicHelpTools.java:57)
at net.sf.jomic.common.JomicHelpTools.instance(JomicHelpTools.java:74)
at net.sf.jomic.ui.JomicApplication.performHelp(JomicApplication.java:565)
at net.sf.jomic.ui.JomicApplication.actionPerformed(JomicApplication.java:175)
at net.sf.jomic.ui.JomicFrame.actionPerformed(JomicFrame.java:334)
at net.sf.jomic.tools.ActionDelegate.actionPerformed(ActionDelegate.java:52)
at net.sf.jomic.ui.JomicMenuBar.actionPerformed(JomicMenuBar.java:205)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
at java.awt.Component.processMouseEvent(Component.java:5583)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5348)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4050)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: javax.help.HelpSetException: cannot find help set "jhelpset.hs"
at net.sf.jomic.common.JomicHelpTools.<init>(JomicHelpTools.java:51)
... 32 more

Whilst I am aware that there is a feature request to bind a key to the Help menu, the menu should still be accessible by manually clicking Help > Help. At the moment however this produces an error.

Discussion

  • Thomas Aglassinger

    • assigned_to: nobody --> roskakori
    • status: open --> closed-accepted
     
  • Thomas Aglassinger

    The help command does not work when running Jomic in Eclipse by design.

    The help needs to be built and wrapped in jomic-help.jar, which requires a proper setup of DocBook-XSL. Because of that, jomic-help.jar is not in the classpath.

    You probably can make the help work by building jomic-help.jar using the ant target "jomic-help.jar" and then add it to the classpath of the Eclipse project. However, you will need to rebuild it again after every "ant clean" or you end up with build errors in Eclipse.

     

Log in to post a comment.