Prevent java.lang.IllegalArgumentException: Resource String is invalid

This commit is contained in:
Tobi Schäfer 2024-05-25 15:30:10 +02:00
parent 441d952b35
commit 973b3493cb
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8

View file

@ -494,7 +494,8 @@ public class ApplicationManager implements XmlRpcHandler {
ContextHandler staticContext = new ContextHandler(); ContextHandler staticContext = new ContextHandler();
staticContext.setContextPath(staticMountpoint); staticContext.setContextPath(staticMountpoint);
staticContext.setBaseResourceAsString(""); // FIXME: Causing java.lang.IllegalArgumentException: Resource String is invalid
//staticContext.setBaseResourceAsString("");
staticContext.setHandler(rhandler); staticContext.setHandler(rhandler);
ApplicationManager.this.context.addHandler(staticContext); ApplicationManager.this.context.addHandler(staticContext);