[opencms-dev] error when uploading .zip file

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Tue Sep 15 09:05:20 CEST 2009


When importing a .zip file containing directory structure with a couple
of .xml files (don't know whether the type of files couns anyway), I'm
getting an error:
Reason: an unexpected error happened, but no error message has been
provided.
Details:
org.opencms.file.CmsVfsException: Failed to import folder
"/Dokumentation/".
	at
org.opencms.db.CmsImportFolder.<init>(CmsImportFolder.java:111)
	at
org.opencms.workplace.explorer.CmsNewResourceUpload.actionUpload(CmsNewResourceUpload.java:679)
	at
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.commons.newresource_005fupload_jsp._jspService(newresource_005fupload_jsp.java:135)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
	at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
	at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
	at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:194)
	at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)
	at
org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:555)
	at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:423)
	at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:173)
	at
org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:829)
	at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:512)
	at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)
	at
org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1524)
	at
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)
	at
org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:164)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException
	at java.util.zip.ZipInputStream.getUTF8String(Unknown Source)
	at java.util.zip.ZipInputStream.readLOC(Unknown Source)
	at java.util.zip.ZipInputStream.getNextEntry(Unknown Source)
	at
org.opencms.db.CmsImportFolder.importZipResource(CmsImportFolder.java:244)
	at
org.opencms.db.CmsImportFolder.<init>(CmsImportFolder.java:109)
	... 38 more


This is 7.5

Any clues?
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list