Project

General

Profile

Actions

Bug #17833

closed

NPE on start

Added by François ARMAND over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

After installing the plugin, when I go to its page I get an NPE:


[2020-06-24 17:58:03+0200] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing /secure/api/branding
java.lang.NullPointerException: null
    at com.normation.rudder.rest.BrandingApiService.getConf(BrandingApi.scala:115)
    at com.normation.rudder.rest.BrandingApi$GetBrandingConf$.process0(BrandingApi.scala:77)
    at com.normation.rudder.rest.lift.LiftApiModule0.process(LiftApiDispatcher.scala:68)
    at com.normation.rudder.rest.lift.LiftApiModule0.process$(LiftApiDispatcher.scala:67)
    at com.normation.rudder.rest.BrandingApi$GetBrandingConf$.process(BrandingApi.scala:71)
    at com.normation.rudder.rest.BrandingApi$GetBrandingConf$.process(BrandingApi.scala:71)
    at com.normation.rudder.rest.lift.LiftApiModule.handler(LiftApiDispatcher.scala:56)
    at com.normation.rudder.rest.lift.LiftApiModule.handler$(LiftApiDispatcher.scala:55)
Actions #1

Updated by François ARMAND over 4 years ago

  • Status changed from New to In progress
Actions #2

Updated by François ARMAND over 4 years ago

OK, so it seems that config format changed between 5.0 and 6.0/6.1 and that no migration path was coded.

Actions #3

Updated by François ARMAND over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Elaad FURREEDAN
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/319
Actions #4

Updated by François ARMAND over 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1-1.8 which was released today.

Actions

Also available in: Atom PDF