-
Notifications
You must be signed in to change notification settings - Fork 401
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
Add support to open decompiled symbols through the symbols list #2087
Labels
Milestone
Comments
BTW, do you mean to contribute a PR for the decompiler extension? Is that this one: https://marketplace.visualstudio.com/items?itemName=dgileadi.java-decompiler? |
No its not a issue in the decompiler, but rather how we resolve the resource uri in the LS. |
gayanper
added a commit
to gayanper/eclipse.jdt.ls
that referenced
this issue
May 16, 2022
As reported in eclipse-jdtls#2087 when searching for workspace symbols which doesn't have attached source, trying to open them result in a NPE in logs. This is due to the location ending up null. The fix fallback in this situation to find the location by using the class file. Signed-off-by: Gayan Perera <[email protected]>
gayanper
added a commit
to gayanper/eclipse.jdt.ls
that referenced
this issue
May 16, 2022
As reported in eclipse-jdtls#2087 when searching for workspace symbols which doesn't have attached source, trying to open them result in a NPE in logs. This is due to the location ending up null. The fix fallback in this situation to find the location by using the class file. Signed-off-by: Gayan Perera <[email protected]>
testforstephen
pushed a commit
that referenced
this issue
May 18, 2022
As reported in #2087 when searching for workspace symbols which doesn't have attached source, trying to open them result in a NPE in logs. This is due to the location ending up null. The fix fallback in this situation to find the location by using the class file. Signed-off-by: Gayan Perera <[email protected]>
For the sake of completeness, here's the error :
The PR resolves this, so thanks for the contribution. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps:
Expectation:
Open the decompiled class source.
Actual:
Nothing happens.
IllegalArgumentException is thrown at Symbol information construction due to lack of proper location. I have a fix for it by resolving the location for BinaryType, I will push it as a PR.
The text was updated successfully, but these errors were encountered: