From 311725549a379f2bd3c0fcce2aaaae50b7a92ddb Mon Sep 17 00:00:00 2001 From: mkersten Date: Thu, 16 Oct 2003 15:15:45 +0000 Subject: [PATCH] Fix for bug#44117 --- weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java b/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java index 5b30b79a8..a1e1e4a06 100644 --- a/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java +++ b/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java @@ -48,7 +48,9 @@ public class AsmRelationshipProvider { foreward.getTargets().add(targetHandle); IRelationship back = mapper.get(targetHandle, IRelationship.Kind.DECLARE, MATCHES_DECLARE); - back.getTargets().add(sourceHandle); + if (back != null && back.getTargets() != null) { + back.getTargets().add(sourceHandle); + } } } -- 2.39.5