Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Fails to Start in VS Code if Space in Path/FISH-8180 #81

Open
m-reza-rahman opened this issue Dec 17, 2023 · 1 comment
Open
Assignees
Labels
Status: Accepted Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev Type: Bug Label issue as a bug defect

Comments

@m-reza-rahman
Copy link

Brief Summary

If there is a space in the install path (e.g. C:\Program Files\payara-6.2023.11\payara6), Payara Server fails to start via the VS Code extension with the following error:

Error: Could not find or load main class Files\payara-6.2023.11\payara6\glassfish.lib.grizzly-npn-api.jar
Caused by: java.lang.ClassNotFoundException: Files\payara-6.2023.11\payara6\glassfish.lib.grizzly-npn-api.jar

Expected Outcome

Payara Server should start normally.

Current Outcome

Server start fails with the following error:

Error: Could not find or load main class Files\payara-6.2023.11\payara6\glassfish.lib.grizzly-npn-api.jar
Caused by: java.lang.ClassNotFoundException: Files\payara-6.2023.11\payara6\glassfish.lib.grizzly-npn-api.jar

Reproducer

  • Install Payara somewhere with a space in the path.
  • Register the instance with Payara Tools in VS Code.
  • Try to start the instance.

Operating System

Windows 11 Enterprise

JDK Version

Temurin-11.0.18+10 (build 11.0.18+10)

Ecosystem Tool

Visual Studio IDE Plugin

@m-reza-rahman m-reza-rahman added Status: Open Issue has been triaged by the front-line engineers and is being worked on verification Type: Bug Label issue as a bug defect labels Dec 17, 2023
@felixif
Copy link

felixif commented Jan 3, 2024

Hello @m-reza-rahman,

I tested out the plugin, and indeed I found the wrong behaviour described by you in this issue. I have raised an internal issue with the reference code FISH-8180, and our development team is going to have a look at it soon. Thank you very much for your report!

Best regards,
Felix Ifrim

@felixif felixif changed the title Server Fails to Start in VS Code if Space in Path Server Fails to Start in VS Code if Space in Path/FISH-8180 Jan 3, 2024
@felixif felixif added Status: Accepted Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev and removed Status: Open Issue has been triaged by the front-line engineers and is being worked on verification labels Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev Type: Bug Label issue as a bug defect
Projects
None yet
Development

No branches or pull requests

2 participants