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

Proxy configuration set in system properties if empty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0, 3.1, 3.2
    • Fix Version/s: 4.1
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      3
    • Documentation Status:
      Not Required

      Description

      The proxy configuration is always set in the system properties even if the property is empty (there is a null check but by default the property is empty so it will pass the null test).

      Altering java system proxy properties with empty values will cause issues when using axis2 together with DSpace. Below is a stack trace of a possible issue:
      java.lang.NumberFormatException: For input string: ""
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:504)
      at java.lang.Integer.parseInt(Integer.java:527)
      at org.apache.axis2.transport.http.ProxyConfiguration.configure(ProxyConfiguration.java:191)

      This bug might cause issues with other third party software packages which attempt to use these proxy settings.

        Attachments

          Activity

            People

            Assignee:
            kevin van de velde Kevin Van de Velde (Atmire)
            Reporter:
            kevin van de velde Kevin Van de Velde (Atmire)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: