W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1997

Small jigadm problem

From: Tor Lillqvist <tml@hemuli.tte.vtt.fi>
Date: Wed, 10 Sep 1997 16:08:01 +0300
Message-Id: <199709101308.QAA22762@ruttuvaari.tte.vtt.fi>
To: www-jigsaw@w3.org
In jigsaw-1.0beta1, when clicking the "Filters" button on one of
the nodes under http-server:space you get a NullPointerException
from w3c.jigadm.editors.FiltersHelper.java, on line 336. It tries
to get the property w3c.jigadm.editors.filters, but it isn't
found. Where should it be defined? Is some file missing from the
distribution?

A workaround if to check for a null return value, and in that case set
a to an empty string:

	    String af = config.getProperty(
		"w3c.jigadm.editors.filters");
>>	    if (af == null)
>>	      af = "";
	    StringTokenizer st = new StringTokenizer(af, "|");

--tml
Received on Wednesday, 10 September 1997 09:08:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:26 GMT