When using Qlik GeoAnalytics Plus or Qlik GeoAnalytics server, loading a file (Geojson, shapefile or similar) from a network shared folder fails with the error message:
java.io.IOException: java.lang.IllegalArgumentException: URI has an authority component.
Example:
In this example, the shapefile test.zip is located in \\dc1\MyData\testShapeFile folder.
-----------extract from Qlik GeoAnalytics Plus log
2024-09-07T14:42:10,001 ERROR - Failed to process request com.idevio.geoanalytics.b.m: Failed to create dataset Dataset:
Failed to load 'file://dc1/MyData/testShapeFile/test.zip': java.io.IOException: java.lang.IllegalArgumentException: URI has an authority component
at com.idevio.geoanalytics.c.e.a(Unknown Source) ~[geo-operations.jar:?]
at com.idevio.geoanalytics.c.e.a(Unknown Source) ~[geo-operations.jar:?]
at com.idevio.geoanalytics.c.h.a(Unknown Source) ~[geo-operations.jar:?]
at com.idevio.geoanalytics.d.a(Unknown Source) [geo-operations.jar:?]
at com.idevio.geoanalytics.d.run(Unknown Source) [geo-operations.jar:?]
at java.base/java.lang.Thread.run(Thread.java:842) [?:?]
--------------
Moving the shapefile test.zip to a local location, such as C:\MyData\testShapeFile, the load succeeds:
Resolution
A fix for QB-25310 is expected to be included in the next possible release of Qlik GeoAnalytics. Review the available release notes for details.
Cause
The defect is in the geo-operations component, which is also used for the geo-operations service.
Only GeoAnalytics on-premise versions are affected.