*New guy alert: if this is the wrong place to send this, please let me
know where I should be sending it - i don't want to spam everyone. Thanks
Hello All,
I'm attempting to use a page with the xul markup "widget" language in a
portlet, and deploying it to pluto. I'm receiving a null pointer
exception in PortletInvokerImpl at line 106:
ServletDefinition servletDefinition =
portletDefinition.getServletDefinition();
I've attached a debugger and found that the
portletDefinition.getServletDefinition() is returning null. The debugger
was able to give me the following information about the portalDefinition
at run time:
------------------------------------------------------------------------
class
org.apache.pluto.portalImpl.om.portlet.impl.PortletApplicationDefinitionImpl:
{
objectID='PortletTest'
GUID='PortletTest'
version='1.0'
Portlets:
class org.apache.pluto.portalImpl.om.portlet.impl.PortletDefinitionImpl:
{
objectID='PortletTest.PortalPortletTest'
guid='PortletTest.PortalPortletTest'
id=''
name='PortalPortletTest'
class org.apache.pluto.portalImpl.om.common.impl.LanguageSetImpl:
class org.apache.pluto.portalImpl.om.common.impl.LanguageImpl:
{
locale='en'
title='Portal Portlet Test'
shortTitle='Test'
Keywords:portal,
}
class org.apache.pluto.portalImpl.om.common.impl.ParameterSetImpl:
class org.apache.pluto.portalImpl.om.common.impl.PreferenceSetImpl:
class org.apache.pluto.portalImpl.om.common.impl.SecurityRoleRefSetImpl:
class org.apache.pluto.portalImpl.om.portlet.impl.ContentTypeSetImpl:
class org.apache.pluto.portalImpl.om.portlet.impl.ContentTypeImpl:
{
contentType='text/xml'
portletMode[0]='view'
portletMode[1]='edit'
portletMode[2]='help'
}
class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl:
class org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl:
description='Portal Portlet Test', locale='en'
class org.apache.pluto.portalImpl.om.common.impl.DisplayNameSetImpl:
class org.apache.pluto.portalImpl.om.common.impl.DisplayNameImpl:
displayName='Portal Portlet Test', locale='en'
}
webApplication:
class
org.apache.pluto.portalImpl.om.servlet.impl.WebApplicationDefinitionImpl:
{
id=''
class org.apache.pluto.portalImpl.om.common.impl.DisplayNameSetImpl:
class org.apache.pluto.portalImpl.om.common.impl.DisplayNameImpl:
displayName='PortalPortletTest', locale='en'
class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl:
class org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl:
description='This is Portlet for testing various ideas.', locale='en'
class org.apache.pluto.portalImpl.om.common.impl.ParameterSetImpl:
class
org.apache.pluto.portalImpl.om.servlet.impl.ServletDefinitionListImpl:
class
org.apache.pluto.portalImpl.om.servlet.impl.ServletDefinitionImpl:
{
id=''
servletName='PortalPortletTest'
class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl:
class
org.apache.pluto.portalImpl.om.common.impl.DisplayNameSetImpl:
servletClass='com.PortalPortletTest'
class org.apache.pluto.portalImpl.om.common.impl.ParameterSetImpl:
class org.apache.pluto.portalImpl.om.common.impl.ParameterImpl:
name='portlet-class', value='PortalPortletTest', descriptions='
class org.apache.pluto.portalImpl.om.common.impl.DescriptionSetImpl: '
class
org.apache.pluto.portalImpl.om.common.impl.SecurityRoleRefSetImpl:
}
ServletMappings:
class org.apache.pluto.portalImpl.om.servlet.impl.ServletMappingImpl:
{
id='null'
servletName='PortalPortletTest'
urlPattern='/PortalPortletTest/*'
}
contextPath='/PortletTest'
}
}
---------------------------------------------------------------------------
I believe I have the portlet configured correctly. My gut instinct is
that the container simply doensn't support the xul markup language. Any
help would be appreciated.
[EMAIL PROTECTED]