Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 37531 invoked from network); 7 Sep 2006 07:24:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Sep 2006 07:24:19 -0000 Received: (qmail 97659 invoked by uid 500); 7 Sep 2006 07:24:09 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 97631 invoked by uid 500); 7 Sep 2006 07:24:08 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 97620 invoked by uid 99); 7 Sep 2006 07:24:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 00:24:08 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of tom.snow.jerry@gmail.com designates 66.249.82.226 as permitted sender) Received: from [66.249.82.226] (HELO wx-out-0506.google.com) (66.249.82.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 00:24:07 -0700 Received: by wx-out-0506.google.com with SMTP id h26so150728wxd for ; Thu, 07 Sep 2006 00:23:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=lpBFMlxuQtK/qwC0f9+/M0tFgZazrLJLtDE0xKdE7YA14Fkir9y9swHOpoPTVYwC2xuXCk3s66DehOvnH0j2nwVdZ6jO6TCvC8PwxWAzc3QYVpUzC28s5OjSm7CPPsxdQL2ScASOQjfYFEet/gZ5Fi3iXqhEz9OCdhaHauY+2is= Received: by 10.90.71.12 with SMTP id t12mr31832aga; Thu, 07 Sep 2006 00:23:46 -0700 (PDT) Received: by 10.90.65.15 with HTTP; Thu, 7 Sep 2006 00:23:46 -0700 (PDT) Message-ID: Date: Thu, 7 Sep 2006 12:53:46 +0530 From: "Tom Jerry" To: "Struts Users Mailing List" Subject: Re: exception In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_29231_21511322.1157613826814" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_29231_21511322.1157613826814 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline package code; import org.apache.struts.action.ActionForm; public class LoginForm extends ActionForm { private String login; private String password; public String getLogin() { return login; } public void setLogin(String login) { this.login = login; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } } On 9/7/06, Tom Jerry wrote: > > I am certain that my code.LoginForm class extends > org.apache.struts.action.ActionForm > > > On 9/7/06, Tom Jerry wrote: > > > > I am using Struts 1.2.9 > > > > > > On 9/7/06, David Friedman < humble@ix.netcom.com> wrote: > > > > > > Are you certain your code.LoginForm class extends > > > org.apache.struts.action.ActionForm? That could > > > asily explain the problem. > > > > > > Then again you could get an exact reason by > > > naming the specific Struts 1.2.X version you > > > are using (it doesn't appear to be 1.2.7). > > > Then you could check the svn tag for class > > > org.apache.struts.config.FormBeanConfig > > > line 212 which is ithe method createActionForm > > > as described in your SEVERE stack trace below. > > > I'll be up for another hour in case you're > > > still up and have the exact version for me > > > to lookup in SVN (takes a minute, if that). > > > > > > Regards, > > > David > > > > > > -----Original Message----- > > > From: Tom Jerry [mailto: tom.snow.jerry@gmail.com] > > > Sent: Thursday, September 07, 2006 1:33 AM > > > Cc: Struts Users Mailing List > > > Subject: Re: exception > > > > > > This is the entire stack.... > > > > > > SEVERE: Error creating form bean of class code.LoginForm > > > java.lang.NullPointerException > > > at org.apache.struts.config.FormBeanConfig.createActionForm( > > > FormBeanConfig.java:212) > > > at org.apache.struts.util.RequestUtils.createActionForm( > > > RequestUtils.java :292) > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > > > For additional commands, e-mail: user-help@struts.apache.org > > > > > > > > > ------=_Part_29231_21511322.1157613826814--