Project

General

Profile

Actions

Bug #1989

closed

JDK 1.5 Nullpointer exceptions when using HTML viewer (jdk1.5 Bug ID #5089077 ?)

Added by Matthew Brooke over 19 years ago. Updated about 14 years ago.

Status:
Resolved
Priority:
Normal
Category:
morpho - dsp
Target version:
Start date:
02/22/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1989

Description

On startup screen, click "Create New Dataset" to launch wizard, then click
"Introduction to Ecological Metadata" link to open HTML viewer.

Any mouseover or resizing on the text pane results in streams and sreams of
nullpointer stacktraces that make the UI unresponsive.

Haven't looked in great detail ,but appears to be due to a known jdk1.5 bug (Bug
ID #5089077) - see:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5089077

which occurs when relative text sizes are used in HTML documents

Possible fixes -

a) better way is to change the code to get rid of the exception (e.g, see
workaround shown at foot of bug page linked above)
b) least-desirable way is to edit HTML/CSS files so relative font sizes aren't
used (I'm guessing some fonts are set as 1em etc instead of 12px etc)

Actions

Also available in: Atom PDF