Project

General

Profile

Actions

Bug #24959

closed

Error message when getting campaign through API

Added by Elaad FURREEDAN 6 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
Web - UI & UX
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

On a plugin fresh install, when we go on the update campaigns page, there is an error showing up (see the following logs). This error disappear after the first campaign is created

.
2024-05-31 12:06:24+0000 ERROR api-processing - SystemError: An error occurred; cause was: java.nio.file.NoSuchFileException: /var/rudder/configuration-repository/campaigns
 -> com.normation.rudder.campaigns.CampaignRepositoryImpl.$anonfun$getAll$1(CampaignRepository.scala:78)
 -> com.normation.zio$ZioRuntime$.$anonfun$unsafeRun$1(ZioCommons.scala:445)
 -> com.normation.zio$ZioRuntime$.unsafeRun(ZioCommons.scala:445)
 -> com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:428)
 -> com.normation.zio$UnsafeRun.runNow(ZioCommons.scala:454)
 -> com.normation.rudder.rest.RudderJsonResponse$implicits$ToLiftResponseList.toLiftResponseList(RudderJsonResponse.scala:201)
 -> com.normation.rudder.rest.RudderJsonResponse$implicits$ToLiftResponseList.toLiftResponseList(RudderJsonResponse.scala:211)
 -> com.normation.rudder.rest.lift.CampaignApi$GetCampaigns$.process0(CampaignApi.scala:77)
 -> com.normation.rudder.rest.lift.LiftApiModule0.process(LiftApiDispatcher.scala:112)
 -> com.normation.rudder.rest.lift.LiftApiModule0.process$(LiftApiDispatcher.scala:104)
 -> com.normation.rudder.rest.lift.CampaignApi$GetCampaigns$.process(CampaignApi.scala:60)
 -> com.normation.rudder.rest.lift.CampaignApi$GetCampaigns$.process(CampaignApi.scala:60)
 -> com.normation.rudder.rest.lift.LiftApiModule.handler(LiftApiDispatcher.scala:67)
 -> com.normation.rudder.rest.lift.LiftApiModule.handler$(LiftApiDispatcher.scala:59)
 -> com.normation.rudder.rest.lift.CampaignApi$GetCampaigns$.handler(CampaignApi.scala:60)
 -> com.normation.rudder.rest.lift.CampaignApi$GetCampaigns$.handler(CampaignApi.scala:60)
 -> com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$21(ApiDatastructures.scala:696)
 -> com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$18(ApiDatastructures.scala:680)
 -> com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$15(ApiDatastructures.scala:674)
 -> com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$15$adapted(ApiDatastructures.scala:672)
 -> com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$13(ApiDatastructures.scala:672)
 -> com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$7(ApiDatastructures.scala:665)


Related issues 1 (0 open1 closed)

Related to Rudder - Architecture #21825: Port code to ZIO2ReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF