Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    wrong commons-fileupload version in maven dependencies

    v12.1p_2023-08-11/Enterprise Deployment
    v13.0p_2023-08-12/Enterprise Deployment

    Hello, in both latest 12.1 and 13.0, there's commons-fileupload 1.5 in SDK, while using maven there's the 1.4 version as a dependency of isomorphic-core-rpc:


    Click image for larger version

Name:	2023-08-12 15.53.32.jpg
Views:	306
Size:	33.1 KB
ID:	270737

    but actually I get a runtime error with 1.4:

    Code:
    java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.setFileCountMax(J)V
        at com.isomorphic.servlet.ISCHttpServletRequest.parseRequest(ISCHttpServletRequest.java:277)
        at com.isomorphic.servlet.ISCHttpServletRequest.parseRequest(ISCHttpServletRequest.java:241)
        at com.isomorphic.servlet.ISCHttpServletRequest.getStringParams(ISCHttpServletRequest.java:135)
        at com.isomorphic.servlet.ISCHttpServletRequest.getParameter(ISCHttpServletRequest.java:354)
        at com.isomorphic.rpc.RPCManager.parseRequest(RPCManager.java:2476)
        at com.isomorphic.rpc.RPCManager.<init>(RPCManager.java:435)
        at com.isomorphic.rpc.RPCManager.<init>(RPCManager.java:415)
        at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:147)
        at com.isomorphic.servlet.IDACall._processRequest(IDACall.java:119)
        at com.isomorphic.servlet.IDACall.doPost(IDACall.java:79)
    Attached Files

    #2
    Thanks for the report. This is fixed and will be available in all builds dated 2023-08-16 and later.

    If necessary, you can always work around it in affected builds by declaring your own file-upload dependency on the correct version:

    Code:
    <dependency>
                <groupId>commons-fileupload</groupId>
                <artifactId>commons-fileupload</artifactId>
                <version>1.5</version>
    </dependency>

    Comment


      #3
      I see it's fixed, thank you very much

      Comment

      Working...
      X