diff --git a/core/src/main/groovy/com/muwire/core/trust/TrustService.groovy b/core/src/main/groovy/com/muwire/core/trust/TrustService.groovy index 6a879037..5a8bef41 100644 --- a/core/src/main/groovy/com/muwire/core/trust/TrustService.groovy +++ b/core/src/main/groovy/com/muwire/core/trust/TrustService.groovy @@ -144,6 +144,8 @@ class TrustService extends Service { } void onMWProfileFetchEvent(MWProfileFetchEvent event) { + if (event.profile == null) + return def dest = event.profile.getHeader().getPersona().getDestination() TrustEntry te = good[dest] if (te == null)