Importing Files Without Extensions Fails with csImportErrorForArchiveInCollection Exception (Doc ID 1333248.1)

Last updated on MAY 18, 2017

Applies to:

Oracle WebCenter Content - Version 11.1.1.2.0 and later
Information in this document applies to any platform.
***Checked for relevance on 01-Apr-2013***

Symptoms

Content items without file extensions are checked into Content Server.

Export this content using Archiver, and try to import it back in (optionally with a metadata field value changed).

The import fails with the following error :

Archive run !csImportErrorForArchiveInCollection,ReIndexTest,producmcluster intradoc.common.ServiceException: !csUpdateUnableToInitiateRefinery,IT098568!csUnableToExecMethod,docRefinery
at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
at intradoc.server.Service.buildServiceException(Service.java:2260)
at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
at intradoc.server.Service.createServiceException(Service.java:2249)
at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:102)
at intradoc.server.Service.doCodeEx(Service.java:533)
at intradoc.server.Service.doCode(Service.java:505)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
at intradoc.server.Service.doAction(Service.java:477)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
at intradoc.server.Service.doActions(Service.java:472)
at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1322)
at intradoc.server.Service.executeSubServiceCode(Service.java:3866)
at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
at intradoc.server.Service.executeServiceEx(Service.java:3861)
at intradoc.server.Service.executeService(Service.java:3845)
at intradoc.server.ArchiveCheckinHandler.processCheckinArchive(ArchiveCheckinHandler.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
at intradoc.server.Service.doCodeEx(Service.java:533)
at intradoc.server.Service.doCode(Service.java:505)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
at intradoc.server.Service.doAction(Service.java:477)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
at intradoc.server.Service.doActions(Service.java:472)
at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
at intradoc.server.Service.executeActions(Service.java:458)
at intradoc.server.ServiceRequestImplementor.doRequestInternalEx(ServiceRequestImplementor.java:936)
at intradoc.server.Service.doRequestInternal(Service.java:1923)
at intradoc.server.archive.ArchiveHandler.executeCommand(ArchiveHandler.java:1509)
at intradoc.server.archive.ArchiveHandler.processBatch(ArchiveHandler.java:2386)
at intradoc.server.archive.ArchiveHandler.importExportFile(ArchiveHandler.java:1978)
at intradoc.server.archive.ArchiveHandler.doImport(ArchiveHandler.java:1805)
at intradoc.server.archive.ArchiveHandler.doArchiving(ArchiveHandler.java:265)
at intradoc.server.archive.ArchiverMonitor.doArchiving(ArchiverMonitor.java:565)
at intradoc.server.archive.ArchiverMonitor$4.run(ArchiverMonitor.java:652)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.AbstractStringBuilder.delete(AbstractStringBuilder.java:698)
at java.lang.StringBuffer.delete(StringBuffer.java:373)
at ziprenditions.ZipRenditionsHelper.cleanupLegacyStaticPath(ZipRenditionsHelper.java:1400)
at ziprenditions.ZipRenditionsHelper.computeStaticExportPhysicalRoot(ZipRenditionsHelper.java:1208)
at ziprenditions.ZipRenditionsHelper.findZipRendition(ZipRenditionsHelper.java:387)
at ziprenditions.ZipRenditionsFilter.doFilter(ZipRenditionsFilter.java:348)
at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:114)
at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
at intradoc.server.Service.executeFilter(Service.java:3938)
at intradoc.server.WebViewableConverterOutput.postProcessWebFileCreation(WebViewableConverterOutput.java:831)
at intradoc.server.WebViewableConverterOutput.copyWebFile(WebViewableConverterOutput.java:741)
at intradoc.server.WebViewableConverterOutput.doConversion(WebViewableConverterOutput.java:297)
at intradoc.server.DocServiceHandler.processDocConversion(DocServiceHandler.java:3940)
at intradoc.server.DocServiceHandler.processDocConversion(DocServiceHandler.java:3755)
at intradoc.server.DocServiceHandler.docRefinery(DocServiceHandler.java:3639)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
...

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms