Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 80311 invoked from network); 9 Feb 2008 18:27:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2008 18:27:11 -0000 Received: (qmail 71807 invoked by uid 500); 9 Feb 2008 18:26:55 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 71780 invoked by uid 500); 9 Feb 2008 18:26:55 -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 71765 invoked by uid 99); 9 Feb 2008 18:26:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Feb 2008 10:26:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nilsga@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Feb 2008 18:26:25 +0000 Received: by py-out-1112.google.com with SMTP id u52so6004971pyb.10 for ; Sat, 09 Feb 2008 10:26:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Wc/1JasxXmtv82DQqMftfl3f1CkW8ttTGmEfqF1sEC0=; b=LI+z/If3BywQyKa9E6HYTdCi3eC9UBVq10VtTd5Nf1wCWEyssn5q7tvO7AwLz/9x3Y8oMWquhc3LxPKSDV9upi6b99i77xWXdgeWQZk7RXnyQi/7Wlw9Or7JW+crUfvER/hs+BLukodw9pY2xkjUJ6fCNtGHQLCIBQ5lp7rLNKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lgYMdTWS8tkt5ECMoQoBRxorzkesA/0kXLe2dT/Mh3q7LtTItVRZvSejx/C15XGoK6e3YHMwnHjlMeKyb8yRgCz4X2OY/8tO2qubrJTGiJEW1yDF17XVRlx4++oW/SfrNTH2UqDRVp7Fq7cfSLy3FxJOk17Q9ct/PM0S7KXX+dQ= Received: by 10.142.107.1 with SMTP id f1mr1687055wfc.26.1202581591679; Sat, 09 Feb 2008 10:26:31 -0800 (PST) Received: by 10.142.47.19 with HTTP; Sat, 9 Feb 2008 10:26:31 -0800 (PST) Message-ID: <7270d7cd0802091026q50e3db11y8158856c0722c6c1@mail.gmail.com> Date: Sat, 9 Feb 2008 19:26:31 +0100 From: "Nils-Helge Garli Hegvik" To: "Struts Users Mailing List" Subject: Re: What cd be wrong? In-Reply-To: <6701b9650802081128jd1375a4saf9ad61878d33ddc@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6701b9650802081128jd1375a4saf9ad61878d33ddc@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Have you remembered the "oldName" hidden field in the edit form? And have you tried downloading the source for the tutorial and see if you get the same behaviour with it? Nils-H On Feb 8, 2008 8:28 PM, Sam Karl wrote: > Hi, > > I'm new to struts and portlets. I tried out the this tutorial as a > start. > > http://struts.apache.org/2.x/docs/struts-2-portlet-tutorial.html > > After implementing all functionalities described in that tutorial, the > "editBookMark" option doesn't work. I get the following exception when I > try to edit the newly added link > > javax.portlet.PortletException: Error executing action editBookmark > > Caused by: java.lang.IllegalArgumentException: Null object: Preference key > > > > My EditBookmarkAction class does implement PortletPreferencesAware and has a > setter for the preference and everything. So I'm guessing the reason is the > edit action class gets called before it loads the jsp if that makes sense. > But I'm not sure how to fix it :) Or is it a different issue? Could any one > shed some light on that? > > > Thanks, > Sam > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org