[Geoserver-devel] [JIRA] (GEOS-7011) WPS Download fails if there is the same SLD as Default and Selected

Tobia Di Pisa created an issue

GeoServer / BugGEOS-7011

WPS Download fails if there is the same SLD as Default and Selected

Issue Type:

BugBug

Affects Versions:

2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.7.0, 2.8-beta, 2.8, 2.7.1

Assignee:

Unassigned

Components:

WPS

Created:

07/May/15 5:45 PM

Environment:

Windows vista 64 bit

Priority:

HighHigh

Reporter:

Tobia Di Pisa

If there are in layer configuration the same style configured ‘Default Style’ and ‘Selected Style’
the WPS Download process returns the error:

2015-05-07 17:44:11,111 ERROR [wps.executor] - Request 24847dfa-2f3e-4fd1-a425-b3241720618d failed during execution
org.geotools.process.ProcessException: java.util.zip.ZipException: duplicate entry: antenne_it.sld
at org.geoserver.wps.gs.download.DownloadProcess.execute(DownloadProcess.java:288)
at sun.reflect.GeneratedMethodAccessor684.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.execute(AnnotationDrivenProcessFactory.java:549)
at org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:228)
at org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:195)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.zip.ZipException: duplicate entry: antenne_it.sld
at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:215)
at org.geoserver.wps.ppio.ZipArchivePPIO.zipFileInternal(ZipArchivePPIO.java:228)
at org.geoserver.wps.ppio.ZipArchivePPIO.zipFile(ZipArchivePPIO.java:162)
at org.geoserver.wps.ppio.ZipArchivePPIO.encode(ZipArchivePPIO.java:119)
at org.geoserver.wps.gs.download.DownloadProcess.execute(DownloadProcess.java:257)
… 10 more

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.5-OD-03-002#65000-sha1:b8f65f8)

Atlassian logo