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
  • Loading branch information
laeubi committed Jul 31, 2023
1 parent 7261716 commit f5e90d1
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 f5e90d1

Please sign in to comment.