Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 77307 invoked from network); 1 Jun 2007 18:35:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jun 2007 18:35:39 -0000 Received: (qmail 31242 invoked by uid 500); 1 Jun 2007 18:35:43 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 31216 invoked by uid 500); 1 Jun 2007 18:35:43 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 31207 invoked by uid 99); 1 Jun 2007 18:35:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2007 11:35:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of snoopdave@gmail.com designates 64.233.166.183 as permitted sender) Received: from [64.233.166.183] (HELO py-out-1112.google.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2007 11:35:38 -0700 Received: by py-out-1112.google.com with SMTP id u52so1110139pyb for ; Fri, 01 Jun 2007 11:35:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DNj84jkorEHKWdp7ZqxYtytu2rOFumHYpXQxBZgPoYe74Qhn6ZVM2ToEO0Uk+R2wfxvu+SZQEIsy9Ml3DFEQfKRcExT4IB7LPN4taSM208usZgsfxFgn5tjNLtMuV4znyXz7OOJ4YmZnN9/LC/gbHMbzC3/hdqP1JmVtKKv0bWI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V4bj/nkZhOkt/qffSUmNlGTWpvi9JfkwYbk3TxOnDu4VAMSGz4IhvO/B3bjzqJWjX9HbnVY0f+21kfve4j2ZCMYB/id0H/HiFUdSbXvMcfCCgVQFhcav+QayAOcPQUgZWAQXJ9vtvtiN1si4acnBfqtO+Me9lfTBHtA0XdIiQ8s= Received: by 10.65.95.12 with SMTP id x12mr3633559qbl.1180722916114; Fri, 01 Jun 2007 11:35:16 -0700 (PDT) Received: by 10.65.180.14 with HTTP; Fri, 1 Jun 2007 11:35:16 -0700 (PDT) Message-ID: <8fb9ac720706011135q50438a2fnfbe8aafeadae951d@mail.gmail.com> Date: Fri, 1 Jun 2007 14:35:16 -0400 From: Dave To: user@roller.apache.org Subject: Re: Error when emailing comments In-Reply-To: <465E62B8.5060302@pobox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <465E62B8.5060302@pobox.com> X-Virus-Checked: Checked by ClamAV on apache.org On 5/31/07, Gary Kephart wrote: > When entering a comment to an entry, I expect back an email. I get none. > The log has this error in it. Any hints? > > ERROR 2007-05-30 20:31:49,448 Log4JLogger:error - EXCEPTION: in > RollerServlet > org.apache.velocity.exception.MethodInvocationException: Invocation of > method 'encodeEmail' in class org.roller.util.Utilities threw exception > class java.lang.NullPointerException : null That's an odd one. Looks like the encodeEmail method is blowing up because it's been handed a null email. How would an email become null? And how is that related to your email failing. Are there any cases where sending an email works for you in Roller? Try inviting a user for example. Is the site administrator email field set on the Server Admin page? If you fill in all comment fields does the email go out? (Perhaps the commenter didn't specify his email?) What version of Java and which web server and database are you using? (Oracle stores empty strings as null, could that be it?) - Dave