cancel
Showing results for 
Search instead for 
Did you mean: 

CIM_ERR_FAILED: CIM Error during import preparation / java.util.zip.ZipException: invalid literal/lengths set

roger_alluivall
Participant
0 Kudos
636

Hello,

We are executing Configuration Task “PI Upgrade” after upgrading our

development SAP PI 7.11 system to SAP PI 7.4. In follow up activities

for

system landscape directory, the process fails during execution of step

“Assign Product to the Technical System”. It returns an error because

itis unable to find product SAP NETWEAVER 7.31 in SLD and recommends to

follow note 1305716. According to this note, we should Update CIM Model

version. Our CIM model version is currently 1.6.43 and the content

SAP_CR

6.10 (produced 2011-03-03).

We have downloaded all the cimsap and cdelta files to update the model

up

to 2015 version. However, when we try to import the first file, we get

the following error:

com.sap.tc.webdynpro.services.exceptions.WDNonFatalException: Error

preparing import: com.sap.sld.api.wbem.exception.CIMException:

CIM_ERR_FAILED: CIM Error during import preparation

If we check SLD logs, we can see the following java stack error:

---------------- STACK TRACE ------------------


[HTTP Worker [@1795011435]] ERROR com.sap.sld.wd.admin.ImportView: Error during prepare import

Thrown:

com.sap.sld.api.wbem.exception.CIMException: CIM_ERR_FAILED: CIM Error during import preparation

    at com.sap.cim.lib.admin.ImportImpl.logCreateError(ImportImpl.java:473)

    at com.sap.cim.lib.admin.ImportImpl.prepare(ImportImpl.java:117)

    at com.sap.cim.lib.admin.CIMAdminImport.prepareImportImpl(CIMAdminImport.java:283)

    at com.sap.cim.lib.admin.CIMAdminImport.prepareImport(CIMAdminImport.java:252)

    at com.sap.cim.lib.admin.CIMAdminImport.prepareImport(CIMAdminImport.java:73)

    at com.sap.cim.lib.admin.CIMAdminImport.prepareImport(CIMAdminImport.java:39)

    at com.sap.sld.wd.admin.ImportView.onActionPrepareImport(ImportView.java:725)

    at com.sap.sld.wd.admin.wdp.InternalImportView.wdInvokeEventHandler(InternalImportView.java:383)

    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:142)

    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:75)

    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:159)

    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:94)

    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)

    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)

    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:97)

    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:515)

    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:58)

    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1671)

    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1485)

    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:908)

    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessing(ApplicationSession.java:880)

    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:357)

    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:326)

    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)

    at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:101)

    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:62)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)

    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:373)

    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:499)

    at com.sap.tc.webdynpro.serverimpl.wdc.ForwardServlet.doPost(ForwardServlet.java:77)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)

    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)

    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:466)

    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

Caused by: com.sap.sld.api.wbem.exception.CIMException: CIM_ERR_FAILED: invalid literal/lengths set

    at com.sap.cim.lib.pers.delta.importing.ImportHandler.extractManifest(ImportHandler.java:1297)

    at com.sap.cim.lib.pers.delta.importing.ImportHandler.extractManifest(ImportHandler.java:1269)

    at com.sap.cim.lib.pers.delta.importing.ImportHandler.prepareZipFile(ImportHandler.java:314)

    at com.sap.cim.lib.pers.delta.importing.ImportHandler.prepareImpl(ImportHandler.java:219)

    at com.sap.cim.lib.pers.delta.importing.ImportHandler.prepare(ImportHandler.java:191)

    at com.sap.cim.lib.admin.ImportImpl.prepare(ImportImpl.java:109)

    ... 71 more

Caused by: java.util.zip.ZipException: invalid literal/lengths set

    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)

    at java.io.FilterInputStream.read(FilterInputStream.java:97)

    at java.util.Properties$LineReader.readLine(Properties.java:434)

    at java.util.Properties.load0(Properties.java:353)

    at java.util.Properties.load(Properties.java:341)

    at com.sap.cim.lib.pers.delta.importing.ImportHandler.extractManifest(ImportHandler.java:1293)

    ... 76 more

---------------- STACK TRACE ------------------

The whole trace is included in additional data file attached to the

incident.

The first thing we thought was that the zip file was corrupt, but we

have

been able to uncompress it manually. Additionally, we imported i into

another System and it succeeded. Does anybody could help us? We are

currently stuck and we can’t continue post-upgrade activities.

Best Regards

Roger Allué i Vall.

View Entire Topic
roger_alluivall
Participant
0 Kudos

Hi all,

This is what SAP answered:

Hello,

After brief consultation with the Development Support, it turned out

that the file might have been corrupted during the upload:

In order to confirm this would you please implement the following note:

2297508 - The content of uploaded file is corrupted

Please do not forget to implement the SCA dependencies as well:

1974464 - SMP: Information on SCA Dependency Analysis for Java

download objects

If the problem still occurs after the installation of the software

fixes, please provide the system information as per note:

1757810 - 'How to get the complete list of software components on your

NetWeaver Application Server Java' .

Thank you.

Updating ENGINEAPI  component solved the issue.

Regards!