Project

General

Profile

Actions

Bug #12644

closed

Architecture #12558: Enforce stricter checks by scala compiler with Xlint flags

Stacktrace when displaying comet components

Added by Vincent MEMBRÉ over 6 years ago. Updated over 6 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

I have a stacktrace when accessing any page since parent was merged.

From both our comet actors (AsyncDeployment and WorkflowInformation)

Here the first line of the stacktrace:

[2018-05-17 15:24:31] INFO  net.liftweb.http.LiftSession - Failed to instantiate comet com.normation.rudder.web.comet.AsyncDeployment.
scala.UninitializedFieldError: Uninitialized field: /home/vincent/workspace/rudder-project/rudder/rudder-web/src/main/scala/com/normation/rudder/web/comet/AsyncDeployment.scala: 54
    at com.normation.rudder.web.comet.AsyncDeployment.net$liftweb$http$BaseCometActor$$_defaultHtml(AsyncDeployment.scala:54)
    at net.liftweb.http.BaseCometActor.defaultHtml(CometActor.scala:564)
    at net.liftweb.http.BaseCometActor.defaultHtml$(CometActor.scala:564)

and an error from Lift:

[2018-05-17 15:24:31] INFO  net.liftweb.http.LiftRules - Snippet Failure: SnippetFailure(/secure/index.html -> ParsePath(List(secure, index),html,true,false),Full(comet),Comet Component not found)
Actions

Also available in: Atom PDF