From 20829e432308522e9c03befe5c077d757ea49358 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 3 Nov 2008 20:26:56 +0000 Subject: [PATCH] debug Ryans problem --- weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java b/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java index b532b156e..e267ffb2e 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java @@ -243,6 +243,12 @@ public class BcelObjectType extends AbstractReferenceTypeDelegate { } else { interfaceTypes = new ResolvedType[interfaceSignatures.length]; for (int i = 0, len = interfaceSignatures.length; i < len; i++) { + if (interfaceSignatures[i] == null) { // debug for NPE + String msg = "Null interface signature (element:" + i + " of " + interfaceSignatures.length + + "). Type for which we" + "are looking at interfaces is " + this.className + "."; + System.err.println(msg); + throw new BCException(msg); + } interfaceTypes[i] = getResolvedTypeX().getWorld().resolve(UnresolvedType.forSignature(interfaceSignatures[i])); } } -- 2.39.5