Project

General

Profile

Actions

Bug #15822

closed

IllegalArgumentException: Missing scheme when deleting user

Added by François ARMAND over 4 years ago. Updated about 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

The error stack trace is:

[2019-10-01 20:36:24] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing /secure/api/usermanagement/foo2
java.lang.IllegalArgumentException: Missing scheme
    at java.base/java.nio.file.Path.of(Path.java:199)
    at java.base/java.nio.file.Paths.get(Paths.java:97)
    at better.files.File$.apply(File.scala:1416)
    at com.normation.plugins.usermanagement.UserManagementService$.remove(UserManagementService.scala:163)
    at com.normation.plugins.usermanagement.api.UserManagementApiImpl$DeleteUser$.process(UserManagementApi.scala:231)
    at com.normation.plugins.usermanagement.api.UserManagementApiImpl$DeleteUser$.process(UserManagementApi.scala:222)
    at com.normation.rudder.rest.lift.LiftApiModule.handler(LiftApiDispatcher.scala:56)
    at com.normation.rudder.rest.lift.LiftApiModule.handler$(LiftApiDispatcher.scala:55)
    at com.normation.plugins.usermanagement.api.UserManagementApiImpl$DeleteUser$.handler(UserManagementApi.scala:222)
    at com.normation.plugins.usermanagement.api.UserManagementApiImpl$DeleteUser$.handler(UserManagementApi.scala:222)
    at com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$20(ApiDatastructures.scala:660)
    at scala.util.Either.map(Either.scala:353)
    at com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$17(ApiDatastructures.scala:645)

It looks like a missing dependency, but even if it's the case, we should not see such exception: they need to be encapsulated in Box (5.0) or IO (5.1)


Related issues 1 (0 open1 closed)

Related to User management - Bug #16535: Missing scheme error when adding an user from the UIReleasedElaad FURREEDANActions
Actions #1

Updated by Elaad FURREEDAN over 4 years ago

  • Status changed from New to In progress
Actions #2

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0-1.3 to 5.0-1.4
Actions #3

Updated by Félix DALLIDET over 4 years ago

I got the exact same one when trying to create a user in 6.0

Actions #4

Updated by Anonymous about 4 years ago

  • Status changed from In progress to Pending release
Actions #5

Updated by Elaad FURREEDAN about 4 years ago

  • Related to Bug #16535: Missing scheme error when adding an user from the UI added
Actions #6

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF