Project

General

Profile

Actions

Bug #11805

closed

Null pointer exception when restoring group archive.

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

Status:
Released
Priority:
N/A
Category:
Web - Maintenance
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
52
Name check:
Fix check:
Regression:

Description

When importing a group archiv in Rudder 4.2.2, I got the following error

[2017-11-29 11:31:30] INFO  com.normation.rudder.repository.xml.ItemArchiveManagerImpl - Importing groups archive with id 'HEAD'
[2017-11-29 11:31:31] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing /lift/ajax/F1357350845189ZO1BYD-00/
java.lang.NullPointerException: null
        at com.normation.rudder.repository.xml.ItemArchiveManagerImpl.$anonfun$importGroupLibraryAndDeploy$3(ItemArchiveManagerImpl.scala:359)
        at net.liftweb.common.Full.map(Box.scala:806)
        at com.normation.rudder.repository.xml.ItemArchiveManagerImpl.$anonfun$importGroupLibraryAndDeploy$2(ItemArchiveManagerImpl.scala:357)
        at net.liftweb.common.Full.flatMap(Box.scala:808)
        at com.normation.rudder.repository.xml.ItemArchiveManagerImpl.importGroupLibraryAndDeploy(ItemArchiveManagerImpl.scala:356)
        at com.normation.rudder.repository.xml.ItemArchiveManagerImpl.importGroupLibrary(ItemArchiveManagerImpl.scala:346)
        at com.normation.rudder.web.snippet.administration.Archives.$anonfun$groupLibraryForm$5(Archives.scala:152)
        at com.normation.rudder.web.snippet.administration.Archives.$anonfun$groupLibraryForm$5$adapted(Archives.scala:152)
        at com.normation.rudder.web.snippet.administration.Archives.$anonfun$actionFormBuilder$14(Archives.scala:246)
        at net.liftweb.common.Full.flatMap(Box.scala:808)
        at com.normation.rudder.web.snippet.administration.Archives.restore$1(Archives.scala:245)
        at com.normation.rudder.web.snippet.administration.Archives.$anonfun$actionFormBuilder$26(Archives.scala:300)
        at net.liftweb.http.S$NFuncHolder.$anonfun$apply$3(S.scala:185)

May happen on earlier versions


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #11244: Groups are not reloaded after restoring from archiveReleasedFrançois ARMANDActions
Actions

Also available in: Atom PDF