Let me try the solution that Woonsan proposed and see if that does the
trick. If not, I can try and put a check there to see if the reason this
fails is because name == null. Either ways, I'll let you know how it
goes.

Thanks for your help!
Raman

-----Original Message-----
From: David Sean Taylor [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 25, 2007 8:36 PM
To: Jetspeed Users List
Subject: Re: NullPointerException when calling PortletURLImpl.toString()
in websphere 6.0



Tallamraju, Raman wrote:
> 
> The actual code snippet is
> this:
> 
>     /**
>      * @see
> javax.servlet.http.HttpServletRequest#getAttribute(java.lang.String)
>      */
>     public Object getAttribute( String name )
>     {
>         ***Object value = super.getAttribute(name);***(Line 210)

Could this be caused by "name == null"?
If so, I can add a check for

if (name == null)
    return null;

and bypass making the super call


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to