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
The interesting thing is that when I goto definition on java.lang.string in macOS, this exception doesn't occur while it occurs on Linux. Not sure if it has anything to do with the if logic above.
Following is the stack trace(caught):
java.lang.NullPointerException
at org.eclipse.jdt.ls.core.internal.handlers.NavigateToDefinitionHandler.fixLocation(NavigateToDefinitionHandler.java:79)
at org.eclipse.jdt.ls.core.internal.handlers.NavigateToDefinitionHandler.computeDefinitionNavigation(NavigateToDefinitionHandler.java:62)
at org.eclipse.jdt.ls.core.internal.handlers.NavigateToDefinitionHandler.definition(NavigateToDefinitionHandler.java:45)
...
The text was updated successfully, but these errors were encountered:
This issue is related to: #879
https://github.com/eclipse/eclipse.jdt.ls/blob/ca81aa7b935b52c0aff7624fa9f330c832578233/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/handlers/NavigateToDefinitionHandler.java#L79
The
location
here may benull
, and if it is, aNullPointerException
will be thrown which isn't caught as well.The interesting thing is that when I goto definition on
java.lang.string
in macOS, this exception doesn't occur while it occurs on Linux. Not sure if it has anything to do with theif
logic above.Following is the stack trace(caught):
The text was updated successfully, but these errors were encountered: