Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-2443

RS trying to import a ZIP with windows encoding

    Details

      Description

      2017-01-15 11:44:41,604 [ajp-nio2-8017-exec-45] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N17-E158 ^%^ org.olat.core.logging 
      
      https://xyz.olat.com/auth/RepositorySite/0/Favorits/0 ^%^ Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
      
      **RedScreen** MALFORMED[1]
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_null</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class>org.olat.core.gui.components.form.flexible.impl.FormEvent</class>
      			<command>ONCHANGE</command>
      			<tostring>com:ONCHANGE,org.olat.core.gui.components.form.flexible.impl.FormEvent@a30cee6e</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.repository.ui.author.ImportRepositoryEntryController</controllername>
      		<controllername>org.olat.repository.ui.author.AuthorListController</controllername>
      		<controllername>org.olat.repository.ui.author.OverviewAuthoringController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: MALFORMED[1]
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:548)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:241)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:292)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:235)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
      >>> stack of 2.cause::java.lang.IllegalArgumentException: MALFORMED[1]
      -> at com.sun.nio.zipfs.ZipCoder.toString(ZipCoder.java:70)
         at com.sun.nio.zipfs.ZipCoder.toString(ZipCoder.java:78)
         at com.sun.nio.zipfs.ZipFileSystem.getString(ZipFileSystem.java:916)
         at com.sun.nio.zipfs.ZipPath.toString(ZipPath.java:540)
         at org.olat.modules.portfolio.handler.BinderTemplateResource$BinderFileFilter.visitFile(BinderTemplateResource.java:98)
         at org.olat.modules.portfolio.handler.BinderTemplateResource$BinderFileFilter.visitFile(BinderTemplateResource.java:91)
         at java.nio.file.Files.walkFileTree(Files.java:2670)
         at java.nio.file.Files.walkFileTree(Files.java:2742)
         at org.olat.core.util.PathUtils.visit(PathUtils.java:81)
         at org.olat.modules.portfolio.handler.BinderTemplateResource.evaluate(BinderTemplateResource.java:69)
         at org.olat.modules.portfolio.handler.BinderTemplateHandler.acceptImport(BinderTemplateHandler.java:118)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 35 minutes
                35m