Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2513

Cannot upload file with semicolon in XMLUI

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Needed

      Description

      Attempts to upload a file with a semicolon in the name fail during the DSpace submission upload step. The message shown to the user is "Problem in creating the Request". The DSpace log file shows

      2015-03-16 17:09:19,861 ERROR org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartFilter @ Problem in multipart filter. Unable to create request.

      java.lang.NullPointerException

      at java.util.Hashtable.put(Hashtable.java:514)

      at org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartParser.readHeaders(DSpaceMultipartParser.java:391)

      at org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartParser.parsePart(DSpaceMultipartParser.java:190)

      at org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartParser.parseMultiPart(DSpaceMultipartParser.java:170)

      at org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartParser.parseParts(DSpaceMultipartParser.java:102)

      at org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartParser.getParts(DSpaceMultipartParser.java:143)

      at org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceRequestFactory.getServletRequest(DSpaceRequestFactory.java:83)

      at org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceMultipartFilter.doFilter(DSpaceMultipartFilter.java:107)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      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:127)

      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:298)

      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)

      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)

      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)

      at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)

      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)

      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              helix84 Ivan Masár
              Reporter:
              schweer Andrea Schweer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: