3.5 Upgrade installer fails with java.lang.ArrayIndexOutOfBoundsException

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    MyIT Digital Workplace




    MyIT Digital Workplace 3.5 Remedy with Smart IT 19.02


    3.5 Upgrade installer fails with the following "java.lang.ArrayIndexOutOfBoundsException" error showing in the installation logs:
       (Jun 01 2018 01:20:20.166 PM -0400),SEVERE,com.bmc.install.product.base.project.runner.ProjectRunner,   
      THROWABLE EVENT {Description=[Uncaught exception from task],Detail=[com.bmc.install.product.base.installer.InstallPreFileCopyInstallationTask]},   
    (Jun 01 2018 01:20:20.167 PM -0400),SEVERE,com.bmc.install.product.base.project.runner.ProjectRunner,   
      THROWABLE EVENT {Description=[   
    Error occurred while executing InstallationTask: com.bmc.install.product.base.installer.InstallPreFileCopyInstallationTask: Error occurred while executing com.bmc.install.product.base.installer.InstallPreFileCopyInstallationTask]},   
     Throwable=[java.lang.RuntimeException: Error occurred while executing com.bmc.install.product.base.installer.InstallPreFileCopyInstallationTask   


    This error related to the Java Runtime (JRE) version bundled with the installer (JRE 1.8.0_45-b14).

    The following steps were taken to resolve the issue:

    Note: Similar errors were seen when running the Smart IT 19.02 installer on a Windows environment that was configured with JRE version 1.8.0_51 (note: from 19.02 onwards, the Smart IT installer does   not come bundled with its own JRE). At various points while running through the installer dialogs, the dialog would go blank with only the 'Cancel' option left: 
      User-added image
    The install logs would show similar "java.lang.ArrayIndexOutOfBoundsException" errors. To address this issue, either the JRE version on the system could be upgraded to a later JRE8 version. If upgrading the JRE on the system is not possible, an alternative workaround would be to:   
    • Create a sub-folder named 'jre' under the following installer directory : ../Smart_IT/Disk1/files (so: ../Smart_IT/Disk1/files/jre)
    • Place the binaries of a later Java version inside that sub-folder (which should assure the installer uses this later Java version)
    • Run the installer


    Article Number:


    Article Type:


      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles