I'm working in ArcGIS 10.4.1 in the ModelBuilder with the iterate feature selection iterator. Everything works out just fine. But in the end I would like to convert my raster-output via "Raster to Polyline" to a shapefile.
This leads to the following error:
Executing (Raster to Polyline): RasterToPolyline "P:\path\Scratch.gdb\CostPat_Ziel_1" "P:\path\Scratch.gdb\RasterT_CostPat_1.shp" NODATA 0 SIMPLIFY Value
Start Time: Thu Apr 05 07:59:41 2018 ERROR 999999: Error executing function. The table was not found. [RasterT_CostPat_1.shp] ERROR 010157: Unable to open feature class P:\path\Scratch.gdb\RasterT_CostPat_1.shp. Failed to execute (Raster to Polyline). Failed at Thu Apr 05 07:59:41 2018 (Elapsed Time: 0,38 seconds)
Does anyone have an idea what could cause the error and how to solve it? I checked the other questions about this issue but couldn't really understand what lead to it's success in the end, since I'm not working in arcpy but in the ModelBuilder and my understanding of python isn't that good.