Project

General

Profile

Actions

Bug #9847

closed

User 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

Added by Nicolas CHARLES over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
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

Also available in: Atom PDF