Project

General

Profile

Actions

Bug #15822

closed

IllegalArgumentException: Missing scheme when deleting user

Added by François ARMAND about 5 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

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

Also available in: Atom PDF