Skip to content

Commit

Permalink
NPE when searching for launch configs
Browse files Browse the repository at this point in the history
Fixes #1574
  • Loading branch information
Bananeweizen authored and HannesWell committed Oct 8, 2023
1 parent 8014922 commit 8fe2220
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion org.eclipse.m2e.launching/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name
Bundle-SymbolicName: org.eclipse.m2e.launching;singleton:=true
Bundle-Version: 2.0.600.qualifier
Bundle-Version: 2.0.601.qualifier
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.core.variables,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,9 @@ private boolean showLaunches() {
}

private ILaunchConfiguration[] findLaunches(IContainer parent) {
if(parent == null) {
return new ILaunchConfiguration[0];
}
try {
List<ILaunchConfiguration> matchingConfigurations = ExecutePomAction
.getMatchingConfigurations(parent.getLocation());
Expand Down

0 comments on commit 8fe2220

Please sign in to comment.