Actions
Bug #9847
closedUser story #9707: Add a Relay API: share files between nodes, launch run on remote run behind relay
Architecture #9729: New system variables
StackOverflowError on policy generation
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
With a 1000 nodes, I get a stackoverflow error
java.lang.StackOverflowError: null at com.normation.rudder.services.policies.SystemVariableServiceImpl.com$normation$rudder$services$policies$SystemVariableServiceImpl$$addWithSubChildren$1(SystemVariableService.scala:363) at com.normation.rudder.services.policies.SystemVariableServiceImpl$$anonfun$com$normation$rudder$services$policies$SystemVariableServiceImpl$$addWithSubChildren$1$1.apply(SystemVariableService.scala:367) at com.normation.rudder.services.policies.SystemVariableServiceImpl$$anonfun$com$normation$rudder$services$policies$SystemVariableServiceImpl$$addWithSubChildren$1$1.apply(SystemVariableService.scala:363) at scala.collection.immutable.List.flatMap(List.scala:327) at com.normation.rudder.services.policies.SystemVariableServiceImpl.com$normation$rudder$services$policies$SystemVariableServiceImpl$$addWithSubChildren$1(SystemVariableService.scala:363) at com.normation.rudder.services.policies.SystemVariableServiceImpl$$anonfun$com$normation$rudder$services$policies$SystemVariableServiceImpl$$addWithSubChildren$1$1.apply(SystemVariableService.scala:367) at com.normation.rudder.services.policies.SystemVariableServiceImpl$$anonfun$com$normation$rudder$services$policies$SystemVariableServiceImpl$$addWithSubChildren$1$1.apply(SystemVariableService.scala:363) at scala.collection.immutable.List.flatMap(List.scala:327)
I fail to see how the code can finish in any condition, as we are constantly adding the same values in the list
Updated by Nicolas CHARLES about 8 years ago
- Status changed from New to In progress
Updated by Nicolas CHARLES about 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder/pull/1407
Updated by Nicolas CHARLES almost 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder|c2999ebb5752d39840c570f6a06d8f648dff2484.
Updated by Vincent MEMBRÉ almost 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.0 which was released today.
- 4.1.0: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions