Project

General

Profile

Bug #12556

NumberFormatException in NodeAPI 8 (runResponse)

Added by François ARMAND 7 months ago. Updated 6 months ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

In node API service 8, we have that code:

out.write(s"Error when trying to contact internal remote-run API: ${e.getMessage}".toByte)

This code will throw a `java.lang.NumberFormatException` because "toByte" try to parse the string as a byte.

Associated revisions

Revision 0092c826 (diff)
Added by François ARMAND 7 months ago

Fixes #12556: NumberFormatException in NodeAPI 8 (runResponse)

History

#1 Updated by François ARMAND 7 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/1923

#2 Updated by Normation Quality Assistant 7 months ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND

#3 Updated by François ARMAND 7 months ago

  • Assignee changed from François ARMAND to Vincent MEMBRÉ

#4 Updated by Normation Quality Assistant 7 months ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND

#5 Updated by François ARMAND 7 months ago

  • Status changed from Pending technical review to Pending release

#6 Updated by Benoît PECCATTE 6 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.12, 4.2.6 and 4.3.1 which were released today.

Also available in: Atom PDF