Bug #1989

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

Added by Matthew Brooke over 17 years ago. Updated about 12 years ago.

morpho - dsp
Target version:
Start date:
Due date:
% Done:


Estimated time:


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:

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)


#1 Updated by Matt Jones over 17 years ago

This is an important one to fix for the 1.6 release because JDK 1.5 is going to
be more and more common.

#2 Updated by Saurabh Garg about 17 years ago

Not able to reproduce the problem. Tried with following jdk versions 1.5.0_02
and 1.5.0_03
Matthew's jdk version was 1.5.0_02

#3 Updated by Saurabh Garg about 17 years ago

Matthew says able to reproduce the bug on machines where jalama plugin is
installed. Hence it is related to the Jalama plugin.

Decreasing priority and assigning bug to Matthew.

#4 Updated by ben leinfelder about 12 years ago

Are we even using the Jalama plugin?

#5 Updated by Matt Jones about 12 years ago

No, the Jalama plugin is way out of date, and we are not using it. This bug can be closed I think.

#6 Updated by ben leinfelder about 12 years ago

no more Jalama

#7 Updated by Redmine Admin over 9 years ago

Original Bugzilla ID was 1989

Also available in: Atom PDF