OpenNTF / org.openntf.nsfodp

Maven and Eclipse tooling for working with NSF on-disk-project representations
Apache License 2.0
14 stars 6 forks source link

Observed FileAlreadyExistsException during export #267

Closed jesse-gallagher closed 3 years ago

jesse-gallagher commented 3 years ago
04/28/2021 04:33:43 PM  HTTP JVM: Encountered native exception while processing note ID 236 (type Frameset): Framesets/$fsMainInnerRight.frameset
04/28/2021 04:33:43 PM  HTTP JVM: java.nio.file.FileAlreadyExistsException: Framesets/$fsMainInnerRight.frameset
04/28/2021 04:33:43 PM  HTTP JVM:   at com.sun.nio.zipfs.ZipFileSystem.newOutputStream(ZipFileSystem.java:528)
04/28/2021 04:33:43 PM  HTTP JVM:   at com.sun.nio.zipfs.ZipPath.newOutputStream(ZipPath.java:802)
04/28/2021 04:33:43 PM  HTTP JVM:   at com.sun.nio.zipfs.ZipFileSystemProvider.newOutputStream(ZipFileSystemProvider.java:297)
04/28/2021 04:33:43 PM  HTTP JVM:   at java.nio.file.Files.newOutputStream(Files.java:227)
04/28/2021 04:33:43 PM  HTTP JVM:   at org.openntf.nsfodp.commons.io.SwiperOutputStream.<init>(SwiperOutputStream.java:70)
04/28/2021 04:33:43 PM  HTTP JVM:   at org.openntf.nsfodp.exporter.io.CommonsSwiperOutputStream.<init>(CommonsSwiperOutputStream.java:46)
04/28/2021 04:33:43 PM  HTTP JVM:   at org.openntf.nsfodp.exporter.ODPExporter.exportExplicitNote(ODPExporter.java:722)
04/28/2021 04:33:43 PM  HTTP JVM:   at org.openntf.nsfodp.exporter.ODPExporter.exportNamedNote(ODPExporter.java:438)
04/28/2021 04:33:43 PM  HTTP JVM:   at org.openntf.nsfodp.exporter.ODPExporter.exportNote(ODPExporter.java:411)
04/28/2021 04:33:43 PM  HTTP JVM:   at org.openntf.nsfodp.exporter.ODPExporter.access$2(ODPExporter.java:375)
04/28/2021 04:33:43 PM  HTTP JVM:   at org.openntf.nsfodp.exporter.ODPExporter$1.callback(ODPExporter.java:316)
04/28/2021 04:33:43 PM  HTTP JVM:   at com.darwino.domino.napi.DominoAPIImpl.NSFSearchExtended3(Native Method)
04/28/2021 04:33:43 PM  HTTP JVM:   at com.darwino.domino.napi.wrap.NSFDatabase.search(NSFDatabase.java:450)
04/28/2021 04:33:43 PM  HTTP JVM:   at com.darwino.domino.napi.wrap.NSFDatabase.search(NSFDatabase.java:443)
04/28/2021 04:33:43 PM  HTTP JVM:   at org.openntf.nsfodp.exporter.ODPExporter.export(ODPExporter.java:328)
04/28/2021 04:33:43 PM  HTTP JVM:   at org.openntf.nsfodp.exporter.servlet.ODPExporterServlet.handle(ODPExporterServlet.java:150)
04/28/2021 04:33:43 PM  HTTP JVM:   at org.openntf.nsfodp.exporter.servlet.ODPExporterServlet.doGet(ODPExporterServlet.java:62)
04/28/2021 04:33:43 PM  HTTP JVM:   at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
jesse-gallagher commented 3 years ago

This was observed in 3.4.0.

jesse-gallagher commented 3 years ago

Problems showed up exporting log.nsf and names.nsf (though distinct problems). The OS is Windows 8, though it seems like this should be OS-independent.