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 almost 8 years ago. Updated almost 8 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 #1

Updated by Nicolas CHARLES almost 8 years ago

  • Status changed from New to In progress
Actions #2

Updated by Nicolas CHARLES almost 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
Actions #3

Updated by Nicolas CHARLES almost 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

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.

Actions

Also available in: Atom PDF