Loading
NoSuchAsMethodError thrown when using ExtractToFile in IA2025R1

We encountered a runtime error in a installer built with InstallAnywhere 2025 R1 that includes the ExtractToFile action, and this issue occurs on both Windows Server 2025 and Rocky Linux 9.6.

The installation fails with the following error shown in the installer log (Uninstall/Logs/Product_Install.log):

Custom Action:      com.zerog.ia.customcode.util.fileutils.ExtractToFile  

Status:          ERROR  

Additional Notes:     ERROR - Unexpected Fatal Error in Class: com.zerog.ia.customcode.util.fileutils.ExtractToFile.install()

When we enable debug mode, we receive the following detailed error message:

class com.zerog.ia.customcode.util.fileutils.ExtractToFile.install()  

Unexpected Fatal Error: java.lang.NoSuchMethodError:  

'java.net.URL com.zerog.ia.installer.util.InstallerUtil.getFormattedUrl(java.net.URL)'

Please refer to the attached log files for full stack trace.

Windows:

WinErrorLinux:​

LinuxErrorLinuxError2Can you help to check the problem?


  • I am seeing the same issue with IA 2025 R1. Any workaround or fix?

  • Hi,

     

    Hotfix is available for this.

    Please contact InstallAnywhere Support team

    support@revenera.com.

     

    Workaround :

    Replace the extracttofilecustomcode.jar found in 

    <InstallAnywhere 2025>/plugins folder with the 

    extracttofilecustomcode.jar found in the Plugin.zip attached.

    Expand Post

Loading
NoSuchAsMethodError thrown when using ExtractToFile in IA2025R1