Ben,
Does this code work in the 1.1-286-COMPATIBILITY branch? If you haven't tried it there yet, I suggest you do. That way we'll know if its a problem with your code or the Pluto trunk integration code.
 
Thanks.
/Craig
 
[EMAIL PROTECTED] wrote: -----

To: pluto-dev@portals.apache.org
From: [EMAIL PROTECTED]
Date: 12/09/2007 01:50PM
Subject: Re: trunk-merge

> <FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"
> size=2><DIV>Ben,</DIV><DIV>&nbsp;</DIV><DIV>I tried the
> introduction_jsp.patch out locally and got the following stack trace when
> I arrived on the test page:</DIV><DIV><PRE>javax.portlet.PortletException:
> java.lang.IllegalArgumentException: A malformed URL has occured    at
>

I received the same problem last night when I was working on the test
suite.  The problem lies in the ResourceURLProviderImpl class in the
portal-driver-impl module.  The error results from the generated URL being
in the form of:

null/pluto/portal/etc (No protocol specified)

The ResourceURLProviderImpl.toString() method tries to convert the
generated URL to a java.net.URL, and then calls returns the result of
URL.toString().  This should be a relative URL anyhow, so the above check
should not really be done.  I spent some time looking into the problem
last night and I have not come up with a fix yet.

Reply via email to