mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Added additional null check because got NPE with that at local environment
This commit is contained in:
@@ -56,7 +56,7 @@ public abstract class GotoTargetHandler implements CodeInsightActionHandler {
|
||||
|
||||
try {
|
||||
GotoData gotoData = getSourceAndTargetElements(editor, file);
|
||||
if (gotoData != null) {
|
||||
if (gotoData != null && gotoData.source != null) {
|
||||
show(project, editor, file, gotoData.source, gotoData.targets, gotoData.additionalActions);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user