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

hyphenated paths cause errors (probably java.nio path parsing...) #118

Open
joinr opened this issue Dec 4, 2017 · 0 comments
Open

hyphenated paths cause errors (probably java.nio path parsing...) #118

joinr opened this issue Dec 4, 2017 · 0 comments

Comments

@joinr
Copy link

joinr commented Dec 4, 2017

I've been using capsule without issues that I just started deving on another
machine/account. It's a windows 10 system. Running the capsule from git-bash, we get:

$ java -Dcapsule.log=verbose -jar marathon-4.1.4.jar
CAPSULE: Jar: C:\Users\tom-admin\workspacenew\m4\target\capsules\marathon-4.1.4.jar
CAPSULE: Platform: windows
CAPSULE: Initializing app ID
CAPSULE: Initialized app ID: marathon_4.1.4
CAPSULE: Launching app marathon_4.1.4
CAPSULE: Starting capsule server.
CAPSULE: Binding capsule server at: 0.0.0.0:53342
CAPSULE: Using JVM: C:\Program Files\Java\jre1.8.0_152
CAPSULE: WARNING resolve [] was empty
CAPSULE: Cache directory: C:\Users\tom-admin\AppData\Local\capsule
CAPSULE: Creating temp file/dir C:\Users\tom-admin\AppData\Local\capsule\apps\marathon_4.1.4.lock
CAPSULE: Locking C:\Users\tom-admin\AppData\Local\capsule\apps\marathon_4.1.4.lock
CAPSULE: Extracting C:\Users\tom-admin\workspacenew\m4\target\capsules\marathon-4.1.4.jar to app cache directory C:\Users\tom-admin\AppData\Local\capsule\apps\marathon_4.1.4
CAPSULE: Unlocking C:\Users\tom-admin\AppData\Local\capsule\apps\marathon_4.1.4.lock
CAPSULE: Cleanup
CAPSULE EXCEPTION: Illegal char <"> at index 19: C:\users\tom-admin"
java.nio.file.InvalidPathException: Illegal char <"> at index 19: C:\users\tom-admin"
at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPath.parse(Unknown Source)
at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
at Capsule.path(Capsule.java:3603)
at Capsule.toPath(Capsule.java:3615)
at Capsule.getPlatformNativeLibraryPath0(Capsule.java:2378)
at Capsule.getPlatformNativeLibraryPath(Capsule.java:2371)
at Capsule.buildNativeLibraryPath(Capsule.java:2353)
at Capsule.buildSystemProperties(Capsule.java:2315)
at Capsule.buildSystemProperties(Capsule.java:2296)
at Capsule.buildJavaProcess(Capsule.java:2182)
at Capsule.buildProcess0(Capsule.java:1500)
at Capsule.buildProcess(Capsule.java:1491)
at Capsule.prelaunch0(Capsule.java:1464)
at Capsule.prelaunch(Capsule.java:1457)
at Capsule.prepareForLaunch(Capsule.java:1311)
at Capsule.launch(Capsule.java:1240)
at Capsule.main0(Capsule.java:391)
at Capsule.main(Capsule.java:370)

I ran the capsule from another account (since this has worked fine for the past 6 months), with no hyphens, and it's fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant