Project

General

Profile

Bug #9843

User story #8353: Implement notifications for different server-side actions and events (hooks)

Broken policy generation in Rudder 4.1

Added by Alexis MOUSSET 12 months ago. Updated 11 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:

Description

Policy update process was stopped due to an error:

⇨ Policy update error for process '2' at 2016-12-22 10:21:34 
⇨ null
[2016-12-22 10:21:34] ERROR com.normation.rudder.batch.AsyncDeploymentAgent - Policy update error for process '2' at 2016-12-22 10:21:34: null
java.lang.NullPointerException: null
    at scala.collection.mutable.ArrayOps$ofRef$.length$extension(ArrayOps.scala:192)
    at scala.collection.mutable.ArrayOps$ofRef.length(ArrayOps.scala:192)
    at scala.collection.SeqLike$class.size(SeqLike.scala:106)
    at scala.collection.mutable.ArrayOps$ofRef.size(ArrayOps.scala:186)
    at scala.collection.mutable.Builder$class.sizeHint(Builder.scala:69)
    at scala.collection.mutable.ListBuffer.sizeHint(ListBuffer.scala:45)
    at scala.collection.TraversableLike$class.to(TraversableLike.scala:589)
    at scala.collection.mutable.ArrayOps$ofRef.to(ArrayOps.scala:186)
    at scala.collection.TraversableOnce$class.toList(TraversableOnce.scala:294)
    at scala.collection.mutable.ArrayOps$ofRef.toList(ArrayOps.scala:186)
    at com.normation.rudder.hooks.RunHooks$$anonfun$getHooks$1.apply(RunHooks.scala:192)
    at com.normation.rudder.hooks.RunHooks$$anonfun$getHooks$1.apply(RunHooks.scala:189)
    at net.liftweb.util.ControlHelpers$class.tryo(ControlHelpers.scala:46)
    at net.liftweb.util.Helpers$.tryo(Helpers.scala:34)
    at net.liftweb.util.ControlHelpers$class.tryo(ControlHelpers.scala:84)
    at net.liftweb.util.Helpers$.tryo(Helpers.scala:34)
    at com.normation.rudder.hooks.RunHooks$.getHooks(RunHooks.scala:189)
    at com.normation.rudder.services.policies.PromiseGenerationService$class.deploy(DeploymentService.scala:120)
    at com.normation.rudder.services.policies.PromiseGenerationServiceImpl.deploy(DeploymentService.scala:443)
    at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$$anonfun$messageHandler$1.applyOrElse(AsyncDeploymentAgent.scala:350)
    at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
    at net.liftweb.actor.LiftActor$class.execTranslate(LiftActor.scala:502)
    at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$.execTranslate(AsyncDeploymentAgent.scala:342)
    at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$proc2(LiftActor.scala:305)
    at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply$mcV$sp(LiftActor.scala:227)
    at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:227)
    at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:227)
    at net.liftweb.actor.SpecializedLiftActor$class.around(LiftActor.scala:241)
    at com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent$.around(AsyncDeploymentAgent.scala:342)
    at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$processMailbox(LiftActor.scala:226)
    at net.liftweb.actor.SpecializedLiftActor$$anonfun$2$$anonfun$apply$mcV$sp$1.apply$mcV$sp(LiftActor.scala:190)
    at net.liftweb.actor.LAScheduler$$anonfun$9$$anon$2$$anon$3.run(LiftActor.scala:76)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Associated revisions

Revision 34f83513
Added by Nicolas CHARLES 12 months ago

Fixes #9843: Broken policy generation in Rudder 4.1

History

#1 Updated by Alexis MOUSSET 12 months ago

  • Description updated (diff)

#2 Updated by Nicolas CHARLES 12 months ago

  • Parent task set to #8353

#3 Updated by Nicolas CHARLES 12 months ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES

#4 Updated by Nicolas CHARLES 12 months 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/1406

#5 Updated by Nicolas CHARLES 12 months ago

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

#6 Updated by Vincent MEMBRÉ 11 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.0 which was released today.

Also available in: Atom PDF