[D:1763013] Error: Can't send a remote File Path to a different remote channel from FoD Jenkins Plugin 7.2/8#165
Open
pvivekdev wants to merge 5 commits intoAlberto_Trace_Logging_for_customerfrom
Conversation
added 4 commits
June 13, 2025 09:32
… channel from FoD Jenkins Plugin 7.2/8 Cause: A FilePath instance is tied to the remoting channel (agent or controller) where it was created. Using a FilePath on a different channel, Jenkins throws an IllegalStateException. Fix: Copying the file ensures locality: By copying the payload file to the agent's workspace, you guarantee that the file is available on the agent's filesystem, not just on the controller or another agent. Reconstructing FilePath ensures correct channel binding:
… channel from FoD Jenkins Plugin 7.2/8 Cause: A FilePath instance is tied to the remoting channel (agent or controller) where it was created. Using a FilePath on a different channel, Jenkins throws an IllegalStateException. Fix: Copying the file ensures locality: By copying the payload file to the agent's workspace, you guarantee that the file is available on the agent's filesystem, not just on the controller or another agent. Reconstructing FilePath ensures correct channel binding:
… channel from FoD Jenkins Plugin 7.2/8 Cause: A FilePath instance is tied to the remoting channel (agent or controller) where it was created. Using a FilePath on a different channel, Jenkins throws an IllegalStateException. Fix: Copying the file ensures locality: By copying the payload file to the agent's workspace, you guarantee that the file is available on the agent's filesystem, not just on the controller or another agent. Reconstructing FilePath ensures correct channel binding:
c0d3m0nky
reviewed
Jul 21, 2025
| } | ||
|
|
||
| async loadEntitlementSettings(releaseChangedPayload) { | ||
| if (!this.uiLoaded) { |
Collaborator
Author
There was a problem hiding this comment.
The (! this.uiLoaded) is always set to false and the functional call to this.loadEntitlements becomes recursive which prevents the rest of the UI controls from loading,
Have tested the Freestyle flow with the removal, Able to render the ui controls successfully.
…e channel from FoD Jenkins Plugin 7.2/8 Fix: File Path made Transient Removed CopyTo and construct the filePath using the Absolution Path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[D:1763013] Error: Can't send a remote File Path to a different remote channel from FoD Jenkins Plugin 7.2/8
Cause:
A FilePath instance is tied to the remoting channel (agent or controller) where it was created. Using a FilePath on a different channel, Jenkins throws an IllegalStateException. Fix:
Copying the file ensures locality:
By copying the payload file to the agent's workspace, you guarantee that the file is available on the agent's filesystem, not just on the controller or another agent. Reconstructing FilePath ensures correct channel binding: