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
Actions