You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Michael Connor <mc...@baan.com> on 2004/02/24 00:28:18 UTC

at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(Portle tInvoker:144)

Has anyone out there had this null pointer before?

Null Pointer Exception
at
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvoker:144)

which is this line of code...

ServletDefinition servletDefinition =
portletDefinition.getServletDefinition();

Anyone know why the servletDefinition would be null for a portlet.

I've had a tough time with the software so far.  There are no errors, only
null pointers, so any help would be appreciated.

Michael

Re: at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(Portle tInvoker:144)

Posted by Vetle Roeim <vr...@enonic.com>.
Michael Connor wrote:

[...]
> Anyone know why the servletDefinition would be null for a portlet.

   I think I got this error wheh I tried to deploy Pluto in JBoss.

> I've had a tough time with the software so far.  There are no errors, 
> only null pointers, so any help would be appreciated.

   Which servlet container are you using?


-- 
Vetle Roeim
Lead Developer, Enonic AS - <URL:http://enonic.com>
Mobile: +47 40 40 14 37, Office: +47 22 00 85 50, Fax: +47 22 00 85 51
PGP Public Key: http://open.enonic.com/pgp/vro-pubkey.txt

Re: at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(Portle tInvoker:144)

Posted by Ken Weiner <kw...@unicon.net>.
Pluto tries to find the portlet.xml and web.xml files for each installed 
WAR file that represents a portlet application.  You might want look 
into the org.apache.pluto.services.information.StaticInformationProvider 
implementation to see if it having trouble getting access to those files.

You're not alone - I have also seen many NullPointerExceptions while 
working with Pluto.

-Ken

Michael Connor wrote:

> Has anyone out there had this null pointer before?
> 
> Null Pointer Exception
> at 
> org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvoker:144)
> 
> which is this line of code...
> 
> ServletDefinition servletDefinition = 
> portletDefinition.getServletDefinition();
> 
> Anyone know why the servletDefinition would be null for a portlet.
> 
> I've had a tough time with the software so far.  There are no errors, 
> only null pointers, so any help would be appreciated.
> 
> Michael**
> 

====
This message and any attachments are confidential. Unauthorized use
or disclosure of this message is strictly prohibited, and this message
must be destroyed immediately if received by an unauthorized recipient.
====