Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-25813

Custom avatars do not work correctly under certain locale

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 9.6.4
    • 9.5.0
    • User Interface
    • None

      Issue Summary

      Custom avatars in Bamboo fail to load when using Bamboo in a locale that generates dates with unicode characters.

      Steps to Reproduce

      1. Start Bamboo with a locale that produces dates with non-ASCII characters
      2. Try to use custom avatars

      Expected Results

      Avatars load

      Actual Results

      The request to load the avatar will fail

      The below exception is thrown:

      org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [bamboo-default-servlet] in context with path [] threw exception
      java.lang.IllegalArgumentException: The Unicode character [ž] at code point [382] cannot be encoded as it is outside the permitted range of 0 to 255.
      ...
      

      Workaround

      Start Bamboo with English date locale.

      This can be done by adding this to <BAMBOO_INSTALL>/bin/setenv.sh

      JAVA_OPTS="-Duser.language=en $JAVA_OPTS"

            [BAM-25813] Custom avatars do not work correctly under certain locale

            Alexey Chystoprudov made changes -
            Affects Version/s Original: 9.5.6 [ 108594 ]
            Affects Version/s Original: 9.5.4 [ 108107 ]
            Victor Debone made changes -
            Description Original: h3. Issue Summary

            Custom avatars in Bamboo fail to load when using Bamboo in a locale that generates dates with unicode characters.
            h3. Steps to Reproduce

            1. Start Bamboo with a locale that produces dates with non-ASCII characters
            2. Try to use custom avatars
            h3. Expected Results

            Avatars load
            h3. Actual Results

            The request to load the avatar will fail

            The below exception is thrown:
            {noformat}
            org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [bamboo-default-servlet] in context with path [] threw exception
            java.lang.IllegalArgumentException: The Unicode character [ž] at code point [382] cannot be encoded as it is outside the permitted range of 0 to 255.
            ...
            {noformat}
            h3. Workaround

            Start Bamboo with English date locale.

            This can be done by adding this to *<BAMBOO_INSTALL>/bin/setenv.sh*
            {code:java}
            JAVA_OPTS="-Duser.language=en-US $JAVA_OPTS"{code}
            New: h3. Issue Summary

            Custom avatars in Bamboo fail to load when using Bamboo in a locale that generates dates with unicode characters.
            h3. Steps to Reproduce

            1. Start Bamboo with a locale that produces dates with non-ASCII characters
            2. Try to use custom avatars
            h3. Expected Results

            Avatars load
            h3. Actual Results

            The request to load the avatar will fail

            The below exception is thrown:
            {noformat}
            org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [bamboo-default-servlet] in context with path [] threw exception
            java.lang.IllegalArgumentException: The Unicode character [ž] at code point [382] cannot be encoded as it is outside the permitted range of 0 to 255.
            ...
            {noformat}
            h3. Workaround

            Start Bamboo with English date locale.

            This can be done by adding this to *<BAMBOO_INSTALL>/bin/setenv.sh*
            {code:java}
            JAVA_OPTS="-Duser.language=en $JAVA_OPTS"{code}
            Jonathan Barth made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 927002 ]
            Sylwester Jeruzal (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Shashank Kumar made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 923044 ]
            Mobolaji Koleowo (Inactive) made changes -
            Description Original: h3. Issue Summary
            Custom avatars in Bamboo fail to load when using Bamboo in a locale that generates dates with unicode characters.

            h3. Steps to Reproduce
            1. Start Bamboo with a locale that produces dates with non-ASCII characters
            2. Try to use custom avatars

            h3. Expected Results

            Avatars load

            h3. Actual Results

            The request to load the avatar will fail

            The below exception is thrown:
            {noformat}
            org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [bamboo-default-servlet] in context with path [] threw exception
            java.lang.IllegalArgumentException: The Unicode character [ž] at code point [382] cannot be encoded as it is outside the permitted range of 0 to 255.
            ...
            {noformat}

            h3. Workaround

            Start Bamboo with English date locale.
            New: h3. Issue Summary

            Custom avatars in Bamboo fail to load when using Bamboo in a locale that generates dates with unicode characters.
            h3. Steps to Reproduce

            1. Start Bamboo with a locale that produces dates with non-ASCII characters
            2. Try to use custom avatars
            h3. Expected Results

            Avatars load
            h3. Actual Results

            The request to load the avatar will fail

            The below exception is thrown:
            {noformat}
            org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [bamboo-default-servlet] in context with path [] threw exception
            java.lang.IllegalArgumentException: The Unicode character [ž] at code point [382] cannot be encoded as it is outside the permitted range of 0 to 255.
            ...
            {noformat}
            h3. Workaround

            Start Bamboo with English date locale.

            This can be done by adding this to *<BAMBOO_INSTALL>/bin/setenv.sh*
            {code:java}
            JAVA_OPTS="-Duser.language=en-US $JAVA_OPTS"{code}
            SET Analytics Bot made changes -
            Support reference count New: 1
            Victor Debone made changes -
            Fix Version/s New: 9.6.4 [ 108701 ]
            Victor Debone made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Victor Debone made changes -
            Summary Original: Avatars do not work correctly under certain locale New: Custom avatars do not work correctly under certain locale

              vdebone Victor Debone
              vdebone Victor Debone
              Affected customers:
              1 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: