java.lang.NumberFormatException: For input string: "" when installing Provisioning Server 14.5
search cancel

java.lang.NumberFormatException: For input string: "" when installing Provisioning Server 14.5

book

Article ID: 275189

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

When installing Provisioning Server 14.5 on Red Hat Enterprise Linux 7.9:


[root@example linux]# pwd
/temp/im/Provisioning/ProvisioningServer/linux
[root@example linux]# ./setuplinux.bin -console
...

 

Installation fails:


Installing Symantec Identity Manager - Provisioning Server. Please wait...


|-----------|-----------|-----------|------------|
0%         25%         50%         75%        100%
||
-------------------------------------------------------------------------------
Errors occurred during the installation.
- An error occurred and product installation failed. Look at the log file
/tmp/imps_server_install.log for details.

Press 3 to Finish or 4 to Redisplay [3]

 

End of log file /tmp/imps_server_install.log:


...
STACK_TRACE: 16
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 com.ca.etrust.install.admin.ETACreateSystemUser.install(ETACreateSystemUser.java:262)
        at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1916)
        at com.ibm.wizard.platform.linux.LinuxProductServiceImpl.installProductAction(LinuxProductServiceImpl.java:552)
        at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:5195)
        at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:369)
        at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:333)
        at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:133)
        at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4563)
        at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3758)
        at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:41)
        at java.lang.Thread.run(Thread.java:745)

Environment

Release : 14.5

Red Hat Enterprise Linux 7.9

Resolution

The problem can be fixed by editing /etc/profile to remove or comment out the lines:

echo ""
cat /etc/system-release
echo ""

like this:

# echo ""
# cat /etc/system-release
# echo ""

and all other occurrences of:

echo ""

like this:

# echo ""