Bug 503045 - # in path results in startup Runtime Error 13
Summary: # in path results in startup Runtime Error 13
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Launcher (show other bugs)
Version: 4.7.0 Oxygen   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2016-10-03 06:12 EDT by Michael Bartsch CLA
Modified: 2019-10-26 16:13 EDT (History)
2 users (show)

See Also:


Attachments
Image:the error shows up when "#" is in the Eclipse Path (67.50 KB, image/png)
2016-11-27 07:57 EST, Patrik Suzzi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Bartsch CLA 2016-10-03 06:12:59 EDT
I have my eclipse folder located under c:\#dev\tools\eclipse\
So I wondered why ma eclipse did not start and report a runtime error 13.

After I renamed the Folder to c:\dev\tools\eclipse everything was working fine.

Same with the workspace path. C:\#dev\eclipse-ws\... resultet in a workspace in c:\ everything behind the # was cut off.
Comment 1 Patrik Suzzi CLA 2016-10-04 05:17:43 EDT
I cannot reproduce the issue in Win 10, launching Eclipse with a workspace "C:\#dev\ws". 

Runtime Error 13 usually occurs when you launch Eclipse 64 bit wit a Java 32 bit, so when bit versions are not matching. 

Could you please check your Eclipse.ini if you're providing a JVM which is not matching the eclipse bit-ness ?
Comment 2 Michael Bartsch CLA 2016-10-04 12:22:41 EDT
To reproduce please create c:\#dev\tools folder.
Move your eclipse installation folder (where eclipse.exe is) to c:\#dev\tools

when you try to start eclipse you will get an error 13.
Comment 3 Patrik Suzzi CLA 2016-11-27 07:57:46 EST
Created attachment 265601 [details]
Image:the error shows up when "#" is in the Eclipse Path

I can now reproduce the error. It is caused by the launcher, which cannot handle a base eclipse path containing the '#'. 

I tested both launching eclipse from C:\#dev\tools and from C:\dev\#tools, and I get the same result.
Comment 4 Patrik Suzzi CLA 2016-11-27 08:01:08 EST
I can reproduce the bug with Eclipse SDK
Version: Oxygen (4.7)
Build id: I20160912-1005

Moving this bug to Equinox Launcher.
Comment 5 Thomas Watson CLA 2016-11-28 12:07:58 EST
This is not a regression.  AFAIK this has always failed.  It appears to be caused by our usage of URL.getPath which omits the content of the URL after #.
Comment 6 Eclipse Genie CLA 2019-10-26 16:13:42 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.