You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AppDynamics, Contrast Security, and SkyWalking agents are 3 frameworks that inject the space name in to JAVA_OPTS.
In the event that a space name includes whitespace (My Dev Space), the result is unintentional whitespace getting added to the command line. The additional whitespace means Java is unable to identify the appropriate argument for the main class.
A quick fix here would be to update the default configuration attributes for the above frameworks, ensuring that the end result is escaped in shell-safe manner.
A more robust fix would entail sanitizing the space name any time it is used in an O/S level operation (e.g. JAVA_OPTS, file paths?)