Possible NPE in org.exoplatform.portal.webui.util.Util.getPortalRequestContext()
--------------------------------------------------------------------------------
Key: GTNPORTAL-1903
URL:
https://issues.jboss.org/browse/GTNPORTAL-1903
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: WebUI
Affects Versions: 3.1.0-GA
Environment: tomcat, webservice call
Reporter: Romain Dénarié
Hi, in method Util.getPortalRequestContext(), I have a null pointer exception.
In fact, I make a webservice call on components above Gatein. Theses components make a
call to getPortalRequestContext() without portalContext because of REST.
So this line
{code}context = (WebuiRequestContext)context.getParentAppRequestContext();{code}
throws a NPE.
This exception should be catched and method should return null.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira