Skip to main content

RE: [JAVAHELP] JavaHelp Problem in MAC

No replies
Anonymous

Binky and others:

I sent this mail a couple of days back. But I got no response from
anyone. This one seems to be like a bug in JavaHelp in MAC (somewhere in
SearchView.java, JHelpNavigator.java, BasicSearchNavigatorUI.java). It
works fine in windows but not in MAC.

OS Version - Mac OS 10.3.2

Java Version - 1.4.1_01

If you believe it's a bug, please let me know what should I do. Should I
file a bug report? If it is not a bug or if there is a workaround for
this in MAC, can someone tell me about the workaround?

Thanks,

- Raja.

-----Original Message-----
From: Discussion list of JavaHelp
[mailto:JAVAHELP-INTEREST@JAVA.SUN.COM] On Behalf Of Raja Kannappan
Sent: Tuesday, April 13, 2004 11:40 AM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: [JAVAHELP] JavaHelp Problem in MAC

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.

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

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.