Agent Install/Upgrade to 12.0 - Exception in thread "main" java.lang.NullPointerException
search cancel

Agent Install/Upgrade to 12.0 - Exception in thread "main" java.lang.NullPointerException

book

Article ID: 263550

calendar_today

Updated On: 10-25-2023

Products

CA Workload Automation DE - Business Agents (dSeries)

Issue/Introduction

I have one server that fails to upgrade or install R12.0.0 of the dseries agent.

We can install R11.3.3 successfully. Then, trying to upgrade to R12.0.0 the upgrade fails. 

When we do a complete uninstall of the agent and try a clean install of R12.0.0 - we see the following error in the agent install log:

Execute Script/Batch file:   Run generator.jar Unix
                          Status: SUCCESSFUL

Exit Code: 1
:Exception in thread "main" java.lang.NullPointerException
        at sun.misc.URLClassPath.knownToNotExist(URLClassPath.java:480)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:336)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:881)
        at com.ca.generator.GenerateFilesDriver.main(GenerateFilesDriver.java:37)

                          Status: FATAL ERROR
                          Additional Notes: FATAL ERROR - "Post-Install: Generation of additional files failed"

Environment

Release : 12.0

 

Cause

There are two cache folders created when installing the agent. One is an InstallAnywhere directory. The other is an OpenJ9 directory. These cache directories could negatively impact the agent installer. 

 

Resolution

These cache folders get created in the user's home directory. Please rename these folders so they do not negatively impact the agent installation. Then run the agent installation again.