Select to view content in your preferred language

Error when trying to Export site - ArcGIS Admin

2445
1
Jump to solution
02-16-2016 12:26 PM
Jean-FrançoisDolbec
Emerging Contributor

When trying to do an Export site in the AGS admin interface, I get this error message: Export operation failed. Error reading PNG image data.

And in the detailed log:

com.esri.arcgis.discovery.admin.AdminException: Error reading PNG image data at com.esri.arcgis.discovery.admin.store.file.FSConfigStore.copy(FSConfigStore.java:897) at com.esri.arcgis.discovery.admin.SiteManager.exportSite(SiteManager.java:3666) at com.esri.arcgis.discovery.admin.rest.site.SiteServlet.operationExportSite(SiteServlet.java:341) at com.esri.arcgis.discovery.admin.rest.site.SiteServlet.service(SiteServlet.java:242) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) at com.esri.arcgis.discovery.admin.rest.DispatcherServlet.service(DispatcherServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.esri.arcgis.discovery.admin.rest.filters.CSRFFilter.doFilter(CSRFFilter.java:105) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.esri.arcgis.discovery.admin.rest.filters.OutputFormatterFilter.doFilter(OutputFormatterFilter.java:67) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.esri.arcgis.discovery.admin.rest.filters.ErrorFilter.doFilter(ErrorFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.esri.arcgis.discovery.admin.rest.filters.AdminFilter.doFilter(AdminFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) 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:724) Caused by: com.esri.arcgis.discovery.admin.AdminException: Error reading PNG image data at com.esri.arcgis.discovery.admin.store.file.FSConfigStore.putServiceItemInfo(FSConfigStore.java:2103) at com.esri.arcgis.discovery.admin.store.file.FSConfigStore.copy(FSConfigStore.java:785) ... 39 more Caused by: com.esri.arcgis.discovery.admin.AdminException: Error reading PNG image data at com.esri.arcgis.discovery.admin.services.iteminfo.ItemInfoUtil.updateMetaData(ItemInfoUtil.java:263) at com.esri.arcgis.discovery.admin.store.file.FSConfigStore.putServiceItemInfo(FSConfigStore.java:2098) ... 40 more Caused by: com.esri.arcgis.discovery.admin.AdminException: Error reading PNG image data at com.esri.arcgis.discovery.admin.services.iteminfo.ItemInfoUtil.updateMetadataThumbnail(ItemInfoUtil.java:386) at com.esri.arcgis.discovery.admin.services.iteminfo.ItemInfoUtil.updateMetaData(ItemInfoUtil.java:259) ... 41 more Caused by: javax.imageio.IIOException: Error reading PNG image data at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1308) at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1577) at javax.imageio.ImageIO.read(ImageIO.java:1448) at javax.imageio.ImageIO.read(ImageIO.java:1352) at com.esri.arcgis.discovery.admin.services.iteminfo.ItemInfoUtil.updateMetadataThumbnail(ItemInfoUtil.java:358) ... 42 more Caused by: javax.imageio.IIOException: Unknown row filter type (= 187)! at com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1116) at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1196) at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1301) ... 46 more

Does anyone have any ideas on what may be causing the error?

Thanks

J-F

0 Kudos
1 Solution

Accepted Solutions
Jean-FrançoisDolbec
Emerging Contributor

We found it. There was a corrupt thumbnail (PNG) in one of the service folder. Deleted the file and it now works.

J-F

View solution in original post

0 Kudos
1 Reply
Jean-FrançoisDolbec
Emerging Contributor

We found it. There was a corrupt thumbnail (PNG) in one of the service folder. Deleted the file and it now works.

J-F

0 Kudos