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

Doesn't work with Symlinks #272

Open
fenjen opened this issue May 17, 2023 · 0 comments
Open

Doesn't work with Symlinks #272

fenjen opened this issue May 17, 2023 · 0 comments

Comments

@fenjen
Copy link

fenjen commented May 17, 2023

I get millions of error message in the Eclipse Error View because bash-editor doesn't work with symlinks:

java.io.FileNotFoundException: C:\dev\project\ui\webapp\node_modules\react (The file cannot be accessed by the system)
	at java.base/java.io.FileInputStream.open0(Native Method)
	at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:158)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:418)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:849)
	at org.eclipse.core.internal.resources.File.getContents(File.java:277)
	at org.eclipse.core.internal.resources.File.getContents(File.java:268)
	at de.jcup.basheditor.workspacemodel.SharedBashModelSupportProvider.isFileHandled(SharedBashModelSupportProvider.java:83)
	at de.jcup.eclipse.commons.workspacemodel.ModelBuilderSupport.doNoResourceChangedScan(ModelBuilderSupport.java:155)
	at de.jcup.eclipse.commons.workspacemodel.ModelBuilderSupport.doNoResourceChangedScan(ModelBuilderSupport.java:152)
	at de.jcup.eclipse.commons.workspacemodel.ModelBuilderSupport.doNoResourceChangedScan(ModelBuilderSupport.java:152)
	at de.jcup.eclipse.commons.workspacemodel.ModelBuilderSupport.doNoResourceChangedScan(ModelBuilderSupport.java:152)
	at de.jcup.eclipse.commons.workspacemodel.ModelBuilderSupport.doNoResourceChangedScan(ModelBuilderSupport.java:152)
	at de.jcup.eclipse.commons.workspacemodel.ModelBuilderSupport$1.run(ModelBuilderSupport.java:130)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

The file exists:

C:\>dir C:\dev\project\ui\webapp\node_modules\react
 Volume in drive C is Windows
 [...]

 Directory of C:\dev\project\ui\webapp\node_modules

04.04.2023  10:16    <JUNCTION>     react [...]
               1 File(s)              0 bytes
[...]

C:\>

The files may have been created by EGIT or Eclipse or WSL (don't know). The error messages don't come up after uninstalling the bash-editor.

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