Actions
Bug #11805
closedNull pointer exception when restoring group archive.
Pull Request:
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
Updated by Nicolas CHARLES about 7 years ago
Note that the groups where correctly configured
Updated by Benoît PECCATTE about 7 years ago
- Assignee set to François ARMAND
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
- Priority changed from 0 to 52
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.3 to 3.1.25
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from New to In progress
- Assignee changed from François ARMAND to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/1810
Updated by Vincent MEMBRÉ about 7 years ago
value used in appconfig may not be initialized at this time, use the lazy val instead ...
Updated by Vincent MEMBRÉ about 7 years ago
- Related to Bug #11244: Groups are not reloaded after restoring from archive added
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|0b0b1031db894c37fac5f89b3bc854a437700b0e.
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from Pending release to Released
Actions