[Geoserver-devel] [JIRA] (GEOS-7639) Rendering a style containing a wktlib reference fails

Morgan Thompson created an issue

GeoServer / BugGEOS-7639

Rendering a style containing a wktlib reference fails

Issue Type:

BugBug

Affects Versions:

2.9.0

Assignee:

Unassigned

Attachments:

geoserver.log

Created:

15/Jul/16 10:12 PM

Priority:

MediumMedium

Reporter:

Morgan Thompson

Rendering a style containing a reference to wktlib://symbol.properties fails due to an IllegalArgumentException.

The failure is caused when the renderer makes a call to the WKTMarkFactory class

The problem seems to be at line 195: libUrl = new URL(ROOT_DIRECTORY.toString() + "/" + libFile);

The value of ROOT_DIRECTORY is never set after it’s initialized, resulting in a null libUrl.

The setRoot(url) method should be called to set the root directory to the Geoserver data directory.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.148.3#100005-sha1:53b5f3f)

Atlassian logo