Java Mapscript: ProcessLegendTemplate throws error
GeoIT
info at GEO-IT.COM
Thu Dec 2 00:27:53 PST 2004
Dear experts,
I used mapObj.processLegendTemplate successfully with mapserver 4.0. Now I
try to upgrade to version 440 and get the following error using this method:
Java.lang.UnknownError: Can't free NULL table
Any ideas ?
The code is:
public String getProcessedLegendTemplate(mapObj mapObject) {
String[] names = {"img", "legend", "scalebar", "ref"};
String[] values = {"", "", "", ""};
int numItems = 4;
return mapObject.processLegendTemplate(names, values,
numItems);
}
regards
Andreas Paukner-Ruzicka
**********************************************************
Geo-IT GmbH - Geoinformatik, IT-Services
Guggenberg 3, D-82380 Peissenberg
Tel: 08803-498372, Fax: 08803-498373
eMail: info at geo-it.com - Homepage: http://www.geo-it.com
**********************************************************
More information about the MapServer-users
mailing list