[
http://jira.jboss.com/jira/browse/JBPORTAL-1648?page=all ]
Thomas Heute updated JBPORTAL-1648:
-----------------------------------
Fix Version/s: 2.6.2 Final
Assignee: Thomas Heute
Undeploying a portlet in an exploded form causes a
NullPointerException
-----------------------------------------------------------------------
Key: JBPORTAL-1648
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1648
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.6.1 Final
Environment: The test is done with the JBoss Portal 2.6.1.GA clustered archive
with JBoss AS 4.2.1bundled. portal-ds is the default hsqldb.
Reporter: Martin Putz
Assigned To: Thomas Heute
Fix For: 2.6.2 Final
Attachments: patch.txt
The process to reproduce the issue :
1- start jboss as
2- copy a portlet application as exploded directory to /deploy (eg. this has been tested
with a helloworldportalpage.war from portletswap)
3- with the browser go to the portal then the new 'MyPage' page - the
HelloWorldPortlet should be here
4- remove the portlet directory (helloworldportalpage.war from deploy/)
5- go to the 'MyPage' page, you should see the NullPointerException:
java.lang.NullPointerException
at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:79)
at org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:61)
at
org.jboss.portal.portlet.impl.spi.AbstractRequestContext.dispatch(AbstractRequestContext.java:81)
at
org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:70)
at
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at
org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:68)
...
Doing these steps with the archive file (not exploded form) is working well. At step 5
you just see an empty page.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira