IBM Support

IT23516: HTTP ERROR 500 WITH JAVA.LANG.NUMBERFORMATEXCEPTION WHEN RUNNING CMS QUERY FOR SAVED OBJECTS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Querying the IBM Spectrum Protect Server for objects backed up
    for a node using the Client Management Service (CMS) web
    interface can return the http error 500 when parsing the
    returned objects date.
    
    Here is an example on Linux :
    
    The CMS configuration must have the required FILE_RESTORE
    capability enabled to be able to run the queries for the backed
    up objects stored on the server as seen below :
    
    /opt/tivoli/tsm/cms/bin/CmsConfig.sh enable NODE_A FILE_RESTORE
    
    Enable capability
    Finished enabling capability.
    
    /opt/tivoli/tsm/cms/bin/CmsConfig.sh list
    
    Listing CMS configuration
    1.2.3.4:1500 NODE_A
    Capabilities: [LOG_QUERY, DAEMON_QUERY, DAEMON_UPDATE,
    FILE_RESTORE]
    Opt Path: /opt/tivoli/tsm/client/ba/bin/dsm.opt
    Sys Path: /opt/tivoli/tsm/client/ba/bin/dsm.sys
    Log File: /var/log/tsm/NODE_A.log
    en_US MM/dd/yyyy HH:mm:ss UTF-8
    
    Trying the following query will return the errors :
    
    URL : https://<CMS
    host>:9028/tsmcms/backupSystems/NODE_A/savedObjects?path=/tmp/te
    st_1
    Message :
    Error 500: java.lang.NumberFormatException: For input string:
    &quot;---&quot;
    
    Customer/L2 Diagnostics :
    
    Looking into the CMS log :
    /opt/tivoli/tsm/cms/Liberty/usr/servers/cmsServer/logs/console.l
    og
    
    The following type of errors will be seen :
    
    Command:[dsmc, query, backup, /tmp/test_1, -inactive, -detail,
             -dirsonly, -subdir=no, -quiet, -scrollprompt=no,
    -dateformat=1,
             -timeformat=1, -numberformat=1,
             -optfile=/opt/tivoli/tsm/client/ba/bin/dsm.opt]
     0 : SUCCESS
     1 : IBM Spectrum Protect
     2 : Command Line Backup-Archive Client Interface
     3 :   Client Version 8, Release 1, Level 0.2
     4 :   Client date/time: 12/12/2017 12:00:00
     5 : (c) Copyright by IBM Corporation and other(s) 1990, 2017.
    All
         Rights Reserved.
     6 :
     7 : Node Name: NODE_A
     8 : Session established with server <servername>: Linux/x86_64
     9 :   Server Version 7, Release 1, Level 4.100
    10 :   Server date/time: 12/12/2017 12:00:00  Last access:
    12/12/2017
           12:00:00
    11 :
    12 :    Size        Backup Date     Mgmt Class A/I File
    14 :    ----        -----------     ---------- --- ----
    15 :  4,096  B  10/02/2017 15:18:37    A30      A  /tmp/test1
    16 :  Modified: 10/02/2017 15:10:15  Accessed: 10/02/2017
    15:12:39
          Inode changed: 10/02/2017 15:10:15
    17 :  Compression Type: None  Encryption Type: None
          Client-deduplicated: NO  Migrated: NO  Inode#: 6315040
    18 :  ACL Size: 0  Media Class: Fixed  Volume ID: 0000  Restore
    Order:
          00000000-00000000-00000000-00000000
    19 :  4,096  B  10/02/2017 15:16:48    A30      I
          /tmp/test1
    20 :  Modified: 10/02/2017 15:10:15  Accessed: 10/02/2017
    15:12:39
          Inode changed: 10/02/2017 15:10:15
    21 :  Compression Type: None  Encryption Type:        None
          Client-deduplicated: NO  Migrated: NO  Inode#: 6315040
    22 :  ACL Size: 0  Media Class: Fixed  Volume ID: 0000  Restore
    Order:
          00000000-00000000-00000000-00000000
    ...
    [err] java.text.ParseException: Unparseable date: "/02/2017
    15:10:15  "
    ...
    [ERROR   ] An unhandled exception occurred which will be
    propagated to
               the container.
    [ERROR   ] SRVE0777E: Exception thrown by application class
    
    'java.lang.NumberFormatException.forInputString:76'
    java.lang.NumberFormatException: For input string: "ACL S"
    ...
    [ERROR   ] SRVE0315E: An exception occurred:
    java.lang.Throwable:
                  java.lang.NumberFormatException: For input
    string: "ACL S"
    
    IBM Spectrum Protect Versions Affected:
    IBM Spectrum Protect Operations Center 7.x and 8.1.x on all
    supported platforms
    
    Initial Impact: Low
    
    Additional Keywords: cms backup query rest api url browser
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All IBM Spectrum Protect Client Management Services users.   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See error description.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This problem is currently *
    * projected to be fixed in levels 8.1.6. Note that this is     *
    * subject to change at the discretion of IBM.                  *
    ****************************************************************
    

Problem conclusion

  • This problem was fixed.
    Affected platforms for reported release:  AIX, Linux, and
    Windows.
    Platforms fixed:  AIX, Linux, and Windows.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT23516

  • Reported component name

    TSM OPERATIONS

  • Reported component ID

    5608E01UI

  • Reported release

    811

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-12-15

  • Closed date

    2018-05-23

  • Last modified date

    2018-05-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TSM OPERATIONS

  • Fixed component ID

    5608E01UI

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"811","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
23 May 2018