IBM Support

Plug-in Steps fail with 'The variable [<name>] is declared final but is reassigned'

Troubleshooting


Problem

After you upgrade to UrbanCode Deploy to 7.2.2.x or higher you notice that certain plug-in Steps start to fail.  Why is this happening?

Symptom

The Process Execution's Step Log conain an error similar to:

file:/<AGENT_HOME>/var/plugins/com.urbancode.air.plugin.Powershell_3_6d2dfe53fbaf2bc531ded80e6d7ae7a96e9b5fee0df5d96f54daa9cf39ae91fe/classes/com/urbancode/air/AirPluginTool.groovy: 34: The variable [inputPropsStream] is declared final but is reassigned
. At [34:13]  @ line 34, column 13.
               inputPropsStream = new FileInputStream(inputPropsFile);   

The variable between the [] may vary

Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"ARM Category":[{"code":"a8m50000000CesGAAS","label":"UrbanCode Deploy-\u003EIntegration-\u003EPlugins"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM UrbanCode Deploy

Component:
UrbanCode Deploy->Integration->Plugins

Software version:
All Versions

Document number:
6965724

Modified date:
24 March 2023

UID

ibm16965724

Manage My Notification Subscriptions