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
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Currently we getting next exception on file close/open cycle:
java.lang.IllegalStateException: Attempt to retrieve the classpath of a Bazel Java project prior to setting up the Bazel workspace.
at com.salesforce.b2eclipse.classpath.BazelClasspathContainer.getClasspathEntries(BazelClasspathContainer.java:120)
The text was updated successfully, but these errors were encountered:
#31 related
currently eclipse.jdt.ls deletes all projects while init phase. eventually it calls BazelClasspathContainer.getClasspathEntries for non-imported projects.
we have to skip project deletion or return empty classpath entries set
I believe we have to return an empty classpath set.
the bug occurred (eclipse-jdtls/eclipse.jdt.ls#1404 (comment)) during eclipse.jdt.ls start with disabled bazel importer as the project were previously imported and .classpath file refers to our BAZEL_CONTAINER
after local discussion we concluded to save bazelWorkspaceRootDirectory to persistent preferences at the import phase and restore it when plugin is starting up
beginningineer
changed the title
Skipping "Bazel workspace project" import leads to bazelWorkspaceRootDirectory is not set.
Fix missing bazelWorkspaceRootDirectory at project reimport
Apr 8, 2020
Currently we getting next exception on file close/open cycle:
java.lang.IllegalStateException: Attempt to retrieve the classpath of a Bazel Java project prior to setting up the Bazel workspace.
at com.salesforce.b2eclipse.classpath.BazelClasspathContainer.getClasspathEntries(BazelClasspathContainer.java:120)
The text was updated successfully, but these errors were encountered: