TRA Upgrade Manager Throws java.lang.NumberFormatException while being executed

TRA Upgrade Manager Throws java.lang.NumberFormatException while being executed

book

Article ID: KB0072938

calendar_today

Updated On:

Products Versions
TIBCO Runtime Agent (TRA) 5.10

Description

TRA Upgrade Manager "Throws java.lang.NumberFormatException" while being executed.  Below is the error stack:
WRAPPER - start method threw an exception
Exception in thread "main" java.lang.NumberFormatException: For input string: ""
       at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
       at java.lang.Integer.parseInt(Integer.java:592)
       at java.lang.Integer.parseInt(Integer.java:615)
       at com.tibco.administrator.command.tool.TraUpgradeManager.if(TraUpgradeManager.java:393)
       at com.tibco.administrator.command.tool.TraUpgradeManager.a(TraUpgradeManager.java:317)
       at com.tibco.administrator.command.tool.TraUpgradeManager.doUpgrade(TraUpgradeManager.java:126)
       at com.tibco.administrator.command.tool.TraUpgradeManager.main(TraUpgradeManager.java:121)

Issue/Introduction

TRA Upgrade Manager Throws java.lang.NumberFormatException while being executed

Environment

All OS

Resolution

One possible reason is related to the VPD file. As a workaround, rename the $USER_HOME/vpd.properties.tibco.<hostname> and run  traUpgradeManager again, and then check the VPD file name back. Please note that the VPD file is not used anymore for TRA 5.7.0 onwards and it is not required in most scenarios. TIBCO Universal Installer creates this file just for backward compatibility. 
NOTE: For the Windows platform, VPD files are stored in the C:\Windows   directory.