Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 60517 invoked from network); 5 Jun 2002 17:35:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 5 Jun 2002 17:35:13 -0000 Received: (qmail 1059 invoked by uid 97); 5 Jun 2002 17:35:07 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 962 invoked by uid 97); 5 Jun 2002 17:35:06 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 871 invoked by uid 98); 5 Jun 2002 17:35:05 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: Wed, 5 Jun 2002 18:35:47 +0100 Subject: Re: Digester - NPE in CallMethodRule constructor? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) From: robert burrell donkin To: "Jakarta Commons Developers List" Content-Transfer-Encoding: 7bit In-Reply-To: <002f01c20b34$ee8ba7d0$6401a8c0@msmith2k> Message-Id: X-Mailer: Apple Mail (2.481) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Monday, June 3, 2002, at 08:29 PM, Matt Smith wrote: > In CallMethodRule.java, v1.16, line 230: > > > digester.getClassLoader().loadClass(paramTypes[i]); > > is contained in a constructor that does not set the digester. Assumedly > the > digester is supposed to be set using the "new" way of maing the > association > (addRule), but this constructor accesses the digester before it's been > set, > so I think this will always cause an NPE. Am I missing something? no matt - it was me who was missing something when i converted that class to use the 'new' way :) thanks - robert -- To unsubscribe, e-mail: For additional commands, e-mail: