-
Task
-
Resolution: Done
-
Minor
-
None
-
None
-
2020 Week 19-21 (from May 4), 2020 Week 22-24 (from May 25)
When trying to update a component version not updatable with the Update Tool version the tool shows a message like the one below. We should avoid showing the stack trace as it doesn't add any valid data to the user and could be misleading.
[almorale@localhost rhpam-7.7.1-update]$ ./apply-updates.sh ../kie-server/kie-server.war/ rhpam-kie-server-ee8
Using Java binary found at /usr/lib/jvm/java-1.8.0-openjdk/jre/bin/java
17:02:46.579 [main] INFO - File blacklist.txt found at /home/almorale/Documentos/Jira/RHPAM-2239/rhpam-7.7.1-update/blacklist.txt.
17:02:46.691 [main] WARN - Security policies directory couldn't be found: bin
17:02:46.696 [main] ERROR - Error occurred during the execution!
org.jboss.brmsbpmsuite.patching.client.InvalidVersionException: The patch is not valid for the distribution and version!
at org.jboss.brmsbpmsuite.patching.client.GeneralDistributionPatcher.checkVersion(GeneralDistributionPatcher.java:49)
at org.jboss.brmsbpmsuite.patching.phase.DistributionPatchingPhaseRunner.run(DistributionPatchingPhaseRunner.java:24)
at org.jboss.brmsbpmsuite.patching.client.ClientPatcherRunner.runPhases(ClientPatcherRunner.java:67)
at org.jboss.brmsbpmsuite.patching.client.ClientPatcherRunner.runDistributionPatcher(ClientPatcherRunner.java:55)
at org.jboss.brmsbpmsuite.patching.client.ClientPatcherRunner.run(ClientPatcherRunner.java:40)
at org.jboss.brmsbpmsuite.patching.client.ClientPatcherApp.commonMain(ClientPatcherApp.java:53)
at org.jboss.brmsbpmsuite.patching.client.BPMSuiteClientPatcherApp.main(BPMSuiteClientPatcherApp.java:6)
Usage: apply-updates.[sh|bat] <path-to-distribution-root> <type-of-distribution>