You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to publish an sld body in workspace with the code publisher.publishStyleInWorkspace(workspace, sldBody); and I get this exception: java.lang.StackOverflowError.
So I went to the geosolutions's code and saw this:
I've tried to publish an sld body in workspace with the code publisher.publishStyleInWorkspace(workspace, sldBody); and I get this exception: java.lang.StackOverflowError.
So I went to the geosolutions's code and saw this:
public boolean publishStyleInWorkspace(final String workspace, String sldBody) {
try {
return publishStyleInWorkspace(workspace, sldBody);
} catch (IllegalArgumentException e) {
if (LOGGER.isErrorEnabled()) {
LOGGER.error(e.getLocalizedMessage(), e);
}
}
return false;
}
I think this method calls itself ad eternum.
The method publishStyleInWorkspace(workspace, sldBody, styleName), however, works perfectly.
The text was updated successfully, but these errors were encountered: