From b59b036af89c28616efeda9b4cef1043c34337d6 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 28 Jun 2006 07:32:35 +0000 Subject: [PATCH] NPE guard for 148911 --- .../aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java index a7265f761..4f86ad97c 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java @@ -305,7 +305,7 @@ public class AsmElementFormatter { //String argType = ""; // pr135052 if (acceptArgument(argName, argArray[i].type.toString())) { TypeReference typeR = argArray[i].type; - if (typeR!=null) { + if (typeR!=null && md.scope!=null) { TypeBinding typeB = typeR.resolvedType; if (typeB==null) { typeB = typeR.resolveType(md.scope); -- 2.39.5