Project

General

Profile

Actions

Bug #3687

closed

The deletion of a Technique version used by a Directive will throw an error 'NoSuchElementError'

Added by Nicolas CHARLES over 11 years ago. Updated about 11 years ago.

Status:
Released
Priority:
4
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When for some reason a Technique version is no more available, but used in a Directive, we have the dreaded "Server cannot be contacted at this time" with a stacktrace saying
java.util.NoSuchElementException: key not found: 2.0
at scala.collection.MapLike$class.default(MapLike.scala:228) ~[na:na]

I encouterned it on Rudder 2.7, but it may happen happen before

Note :it's really because I deleted from the filesystem the technique version.

Actions

Also available in: Atom PDF