java.lang.NullPointerException
at runwar.AgentInitialization.findLocalJarOrZipFileFromLocationOfCurrentClassFil
e(AgentInitialization.java:108)
at runwar.AgentInitialization.getPathToJarFileContainingThisClass(AgentInitializ
ation.java:96)
at runwar.AgentInitialization.discoverPathToJarFile(AgentInitialization.java:57)
at runwar.AgentInitialization.loadAgentFromLocalJarFile(AgentInitialization.java
:35)
at runwar.Server.startServer(Server.java:204)
at lucee.commons.cli.Command.execute(Command.java:69)
at lucee.runtime.tag._Execute._run(_Execute.java:81)
at lucee.runtime.tag._Execute.run(_Execute.java:72)
I can reproduce this from the CommandBox REPL with this code if my CommandBox home has a space in it:
I can reproduce this from the CommandBox REPL with this code if my CommandBox home has a space in it:
The space is replaced with
%20
and thelibdir.listFiles()
bit returnsnull
.