Skip to main content

JavaHelp Problem in MAC

1 reply [Last post]
Anonymous

We have our own helpviewer and we use JavaHelp API to display the helps
in the help viewer. Everything works fine in windows. When I try to
bring the helpviewer in MAC, it throws the below exception. Is this a
known problem? Can someone help me to fix this?

Thanks,

- Raja.

-- Below is the Exception Message --

apple.awt.EventQueueExceptionHandler Caught Throwable :

java.lang.NullPointerException

at

javax.help.plaf.basic.BasicSearchCellRenderer.setFont(BasicSearchCellRen
dere

r.java:205)

at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:89)

at apple.laf.AquaPanelUI.installDefaults(AquaPanelUI.java:46)

at apple.laf.AquaPanelUI.installUI(AquaPanelUI.java:35)

at javax.swing.JComponent.setUI(JComponent.java:449)

at javax.swing.JPanel.setUI(JPanel.java:131)

at javax.swing.JPanel.updateUI(JPanel.java:104)

at javax.swing.JPanel.(JPanel.java:64)

at javax.swing.JPanel.(JPanel.java:87)

at javax.swing.JPanel.(JPanel.java:95)

at
javax.help.plaf.basic.BasicSearchCellRenderer.(BasicSearchCellRend
erer

.java:98)

at
javax.help.plaf.basic.BasicSearchNavigatorUI.setCellRenderer(BasicSearch
Navi

gatorUI.java:271)

at
javax.help.plaf.basic.BasicSearchNavigatorUI.reloadData(BasicSearchNavig
ator

UI.java:210)

at
javax.help.plaf.basic.BasicSearchNavigatorUI.installUI(BasicSearchNaviga
torU

I.java:163)

at javax.swing.JComponent.setUI(JComponent.java:449)

at javax.help.JHelpNavigator.setUI(JHelpNavigator.java:231)

at javax.help.JHelpNavigator.updateUI(JHelpNavigator.java:250)

at javax.help.JHelpNavigator.(JHelpNavigator.java:97)

at
javax.help.JHelpSearchNavigator.(JHelpSearchNavigator.java:58)

at javax.help.SearchView.createNavigator(SearchView.java:72)

at com.sirsi.platform.helpviewer.HelpViewer.drawHelpFrame(Unknown
Source)

at com.sirsi.platform.helpviewer.HelpViewer.(Unknown Source)

at com.sirsi.platform.helpviewer.ContextHelp.runMacro(Unknown
Source)

at
com.sirsi.platform.graphics.ToolBarButtonListener.startWizard(Unknown

Source)

at
com.sirsi.platform.graphics.ToolBarButtonListener.startWizard(Unknown

Source)

at
com.sirsi.platform.graphics.ToolBarButtonListener.checkToolbarButton(Unk
nown

Source)

at
com.sirsi.platform.graphics.ToolBarButtonListener.actionPerformed(Unknow
n

Source)

at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819)

at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractB
utto

n.java:1872)

at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.ja
va:4

20)

at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonList
ener

.java:247)

at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)

at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)

at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)

at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)

at java.awt.Component.processMouseEvent(Component.java:5100)

at java.awt.Component.processEvent(Component.java:4897)

at java.awt.Container.processEvent(Container.java:1569)

at java.awt.Component.dispatchEventImpl(Component.java:3615)

at java.awt.Container.dispatchEventImpl(Container.java:1627)

at java.awt.Component.dispatchEvent(Component.java:3477)

at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

at java.awt.Container.dispatchEventImpl(Container.java:1613)

at java.awt.Window.dispatchEventImpl(Window.java:1606)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea
d.ja

va:234)

at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.
java

:184)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

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

Sirsi Corporation . . . http://www.sirsi.com

Raja Kannappan (rajak@sirsi.com)

Software Developer

101 Washington Street, SE

Huntsville, AL 35801

Work Phone: 256-704-7099 Extn - 7332

Home Phone: 256-922-0341

Cell Phone: 256-289-4143

Fax: 256-704-7007

How will you shape the future?

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

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

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.

Reply viewing options

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

Do you mean run it on an Apple Macintosh? If so, could you please post some more details like OS Version and Java version?

Patrick