org.alfresco.service.cmr.repository.ContentIOException

06090007 Failed to copy content from file: writer: ContentAccessor[ contentUrl=store://2016/7/9/12/15/560596e6-a2d8-40af-9d07-6850a2c9d1d0.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US] file: /import/Company Home/User Homes/general-user/ipg/1411/invoice/385850000092189-invoice.pdf While importing item: 385850000092189-invoice.pdf (1 version): HEAD: <content> <metadata>

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web182

  • via GitHub by bkcsfi
    ,
  • via GitHub by ikwattro
    ,
  • Stack trace

    • org.alfresco.service.cmr.repository.ContentIOException: 06090007 Failed to copy content from file: writer: ContentAccessor[ contentUrl=store://2016/7/9/12/15/560596e6-a2d8-40af-9d07-6850a2c9d1d0.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US] file: /import/Company Home/User Homes/general-user/ipg/1411/invoice/385850000092189-invoice.pdf While importing item: 385850000092189-invoice.pdf (1 version): HEAD: <content> <metadata> at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importItem(BatchImporterImpl.java:231) at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importBatchImpl(BatchImporterImpl.java:185) at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.access$200(BatchImporterImpl.java:68) at org.alfresco.extension.bulkimport.impl.BatchImporterImpl$2.execute(BatchImporterImpl.java:162) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457) at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importBatchInTxn(BatchImporterImpl.java:153) at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.access$000(BatchImporterImpl.java:68) at org.alfresco.extension.bulkimport.impl.BatchImporterImpl$1.doWork(BatchImporterImpl.java:130) at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548) at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importBatch(BatchImporterImpl.java:124) at org.alfresco.extension.bulkimport.impl.Scanner$BatchImportJob.run(Scanner.java:495) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.alfresco.service.cmr.repository.ContentIOException: 06090007 Failed to copy content from file: writer: ContentAccessor[ contentUrl=store://2016/7/9/12/15/560596e6-a2d8-40af-9d07-6850a2c9d1d0.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US] file: /import/Company Home/User Homes/general-user/ipg/1411/invoice/385850000092189-invoice.pdf at org.alfresco.repo.content.AbstractContentWriter.putContent(AbstractContentWriter.java:484) at org.alfresco.extension.bulkimport.source.fs.FilesystemBulkImportItemVersion.putContent(FilesystemBulkImportItemVersion.java:201) at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importVersionContent(BatchImporterImpl.java:623) at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importVersionContentAndMetadata(BatchImporterImpl.java:484) at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importVersion(BatchImporterImpl.java:436) at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importFile(BatchImporterImpl.java:391) at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importItem(BatchImporterImpl.java:213) ... 13 more Caused by: java.nio.channels.ClosedByInterruptException at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202) at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:216) at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel.write(AbstractContentAccessor.java:422) at java.nio.channels.Channels.writeFullyImpl(Channels.java:78) at java.nio.channels.Channels.writeFully(Channels.java:101) at java.nio.channels.Channels.access$000(Channels.java:61) at java.nio.channels.Channels$1.write(Channels.java:174) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126) at org.alfresco.repo.content.LimitedStreamCopier.copyStreamsLong(LimitedStreamCopier.java:87) at org.alfresco.repo.content.AbstractContentWriter.copyStreams(AbstractContentWriter.java:502) at org.alfresco.repo.content.AbstractContentWriter.putContent(AbstractContentWriter.java:479) ... 19 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    jstrayerjstrayer
    24 times, last one
    nasimknasimk
    2 times, last one
    davidvanlaatumdavidvanlaatum
    5 times, last one
    max_samebugmax_samebug
    Once,
    13 more bugmates