]
Minh Hoang TO updated GTNPORTAL-1903:
-------------------------------------
Labels: done portal-s53 (was: portal-s53)
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é
Assignee: Minh Hoang TO
Labels: done, portal-s53
Fix For: 3.2.0-GA
Original Estimate: 1 hour
Remaining Estimate: 1 hour
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: