From a31b3dea01cbf925e6b22ef8789b3a3d86fd9160 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 10 Mar 2008 18:09:16 +0000 Subject: [PATCH] 193348: prevent NPE - might give peculiar entry in the problems view though --- weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java index e3a48069c..6df284107 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java @@ -859,9 +859,7 @@ public class BcelWeaver implements IWeaver { */ private void raiseUnboundFormalError(String name, Pointcut userPointcut) { world.showMessage(IMessage.ERROR, - WeaverMessages.format(WeaverMessages.UNBOUND_FORMAL, - name), - userPointcut.getSourceContext().makeSourceLocation(userPointcut),null); + WeaverMessages.format(WeaverMessages.UNBOUND_FORMAL,name),userPointcut.getSourceLocation(),null); } -- 2.39.5