Trying to do so results in the following stack trace:
java.io.IOException: Error occurred creating table, nodeId=f44c43127912]
2022-10-27 09:24:54,297 ERROR [wps.executor] - Process execution failed
org.geotools.process.ProcessException: java.io.IOException: Error occurred creating table
at org.geoserver.wps.gs.download.DownloadProcess.execute(DownloadProcess.java:486)
at jdk.internal.reflect.GeneratedMethodAccessor871.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.execute(AnnotationDrivenProcessFactory.java:633)
at org.geoserver.wps.executor.ProcessStartupFilter$ProcessStartupWrapper.execute(ProcessStartupFilter.java:50)
at org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:222)
at org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:191)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: Error occurred creating table
at org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:747)
at org.geotools.geopkg.GeoPackage.create(GeoPackage.java:789)
at org.geotools.geopkg.GeoPackage.add(GeoPackage.java:814)
at org.geoserver.wps.gs.download.GeopkgVectorPPIO.encode(GeopkgVectorPPIO.java:42)
at org.geoserver.wps.gs.download.VectorDownload.writeVectorOutput(VectorDownload.java:280)
at org.geoserver.wps.gs.download.VectorDownload.execute(VectorDownload.java:217)
at org.geoserver.wps.gs.download.DownloadProcess.execute(DownloadProcess.java:352)
... 11 more
Caused by: java.lang.RuntimeException: Unable to map feature_mps_uuid( java.util.UUID)
at org.geotools.jdbc.JDBCDataStore.createTableSQL(JDBCDataStore.java:2404)
at org.geotools.jdbc.JDBCDataStore.createSchema(JDBCDataStore.java:733)
... 17 more
The issue has been found in wps-dwonload but it would happen in WFS output formats too: the GeoPackage store simply does not recognize java.util.UUID
|