Upgrading to 8.0.1 failing when specifying custom application folder

Yellowfin FAQ shared this problem 5 years ago
Defect Fixed

When upgrading to 8.0.1 and using a renamed ROOT, you may be forced to manually specify the application folder, which will cause the following error:


7d2b4afed38617d506da2c7306bae25a


The real error is logged within the 'YellowfinPatchLog' within the application folder:

Error encountered: java.lang.NullPointerException
java.lang.NullPointerException
	at java.base/java.io.File.<init>(Unknown Source)
	at com.hof.patch.process.job.ExtractComponentLicencesJob.getRelativeTargetDir(ExtractComponentLicencesJob.java:37)
	at com.hof.patch.process.job.ExtractComponentLicencesJob.run(ExtractComponentLicencesJob.java:30)
	at com.hof.patch.PatchInstaller.runInstallJobs(PatchInstaller.java:467)
	at com.hof.patch.izpack.panels.YFPatchProcessPanel$YFProcessPanelWorker.run(YFPatchProcessPanel.java:299)
	at java.base/java.lang.Thread.run(Unknown Source)

Replies (2)

photo
1

This issue will ONLY occur if you have a custom ROOT folder and manually choosing the application folder.

For example, here is a standard Yellowfin install:

94821f73491961588b0e8a8ea3a031d7


Here is one where the ROOT folder was renamed:

512c73285b9078340ff8e46404e9042e


During the upgrade, if you were to manually choose the path c:\test\Yellowfin2\appserver\webbapps\MyApp, then the upgrade will fail with the the above error mentioned.

Note: In this case The Upgrade Patch log will be within the Backup you chose as part of the upgrade.


This is currently being addressed and will be released via a patch update. In the interim if you've run into this issue, please raise a ticket with the support team so we can organise an interim fix.


Regards,

David

photo
1

This has been addressed in 8.0.2.

Leave a Comment
 
Attach a file