This discussion is archived
0 Replies Latest reply: Jan 16, 2013 8:50 AM by user9376441 RSS

ICEBrowser doesn't show any content when using Nimbus LookAndFeel

user9376441 Newbie
Currently Being Moderated
After switching the look and feel to Nimbus in ICEBrowser (Options->Change Look and Feel...) no content appears. A NullPointerException occurs in the console (see below).
If switching back to any other look and feel the browser shows the content again.

The same happens if we extend the demo class oracle.help.demo.LAFSwitcher to support Nimbus Look and Feel and open a demo help project.

Since we are using Nimbus L&F in our application, using OHJ is not possible.

We would be very thankful for any ideas to resolve this issue or to find any workaround.

We've started he example (ICEdemo) in debug mode (-Dice.debug.debug=true), then the following stacktrace will be thrown )after the L&F has been switched):
EXCEPTION: java.lang.NullPointerException
java.lang.NullPointerException
at ice.pilots.html4.CSSLayout.updateSelectionColors(CSSLayout.java:941)
at ice.pilots.html4.CSSLayout.do_layout(CSSLayout.java:803)
at ice.pilots.html4.CSSLayout.layout(CSSLayout.java:746)
at ice.pilots.html4.DocPaneXml.docLayout(DocPaneXml.java:569)
at ice.pilots.html4.swing.DocPanel.doLayout(DocView.java:1099)
at ice.pilots.html4.swing.DocPanel.doLayout(DocView.java:1084)
at java.awt.Container.validateTree(Container.java:1507)
at java.awt.Container.validateTree(Container.java:1513)
at ice.pilots.html4.swing.PanePanel.validateTree(DocView.java:829)

Regards
Christof

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points