HTTP Status 500 - java.lang.NumberFormatException: For input string: X

Version 2

    Verified Product Versions

    Avalanche 6.1

    Environment:

    Avalanche 6

     

    Problem:

    When copying or cloning a profile error page HTTP Status 500 - java.lang.NumberFormatException: For input string: "Profile Name" is displayed.

    The Number Format Exception For Input String message is in reference to the name of the profile you are working with. Specifically, this is caused by a special character in the profile name. We have seen this happen with the - character in a profile. The string in the error message, will truncate everything from the start of the string to the - character.

    For Example, if you have a profile called Rugged-RC, the error would read

    HTTP Status 500 - java.lang.NumberFormatException: For input string: "RC"



    Solution/ Workaround:


    Remove any - characters from profile names. It would work better to use the underscore character _