Skip to content

Commit

Permalink
Fix NPE occurring when module is there but has no wiring
Browse files Browse the repository at this point in the history
(cherry picked from commit f5e90d1)
  • Loading branch information
laeubi committed Jul 31, 2023
1 parent 85a36a9 commit 84c6cb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public Collection<BundleRevision> getParticipatingModules() {
* @see #DependencyComputer(ModuleContainer)
*/
public List<DependencyEntry> computeDependencies(ModuleRevision module) {
if (module == null) {
if (module == null || module.getWiring() == null) {
return Collections.emptyList();
}

Expand Down

0 comments on commit 84c6cb1

Please sign in to comment.