struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils-Helge Garli Hegvik" <>
Subject Re: What cd be wrong?
Date Sat, 09 Feb 2008 18:26:31 GMT
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?


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.
> 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:
For additional commands, e-mail:

View raw message