Actions
Bug #17597
closedNPE when agent key is malformed
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Maintenance
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
If agent key is malformed, we get an NPE:
java.lang.NullPointerException: null at com.normation.rudder.domain.nodes.CFEngineKey$.getCfengineDigest(NodeInfo.scala:287) at com.normation.rudder.domain.nodes.CFEngineKey$.$anonfun$getCfengineDigestFromCfeKey$3(NodeInfo.scala:273) at net.liftweb.common.Full.flatMap(Box.scala:858) at com.normation.rudder.domain.nodes.CFEngineKey$.$anonfun$getCfengineDigestFromCfeKey$1(NodeInfo.scala:272) at net.liftweb.common.Full.flatMap(Box.scala:858) at com.normation.rudder.domain.nodes.CFEngineKey$.getCfengineDigestFromCfeKey(NodeInfo.scala:270) at com.normation.rudder.domain.nodes.CFEngineKey$.getCfengineMD5Digest(NodeInfo.scala:233) at com.normation.rudder.domain.nodes.NodeInfo.securityTokenHash$lzycompute(NodeInfo.scala:124) at com.normation.rudder.domain.nodes.NodeInfo.securityTokenHash(NodeInfo.scala:104) at com.normation.rudder.services.policies.SystemVariableServiceImpl.$anonfun$getSystemVariables$20(SystemVariableService.scala:389) at scala.collection.immutable.List.map(List.scala:250)
Updated by François ARMAND over 4 years ago
- Status changed from New to In progress
Updated by François ARMAND over 4 years ago
- Target version changed from 5.0.18 to 6.1.0~rc3
It's actually in method which changed in 6.0.
Updated by François ARMAND over 4 years 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/3034
Updated by François ARMAND over 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|a2a72f1cc8c2b0d4dd7659c2dba024caf9bfa28b.
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.0~rc3 which was released today.
Updated by François ARMAND over 4 years ago
- Fix check changed from To do to Checked
Actions