[gatein-issues] [JBoss JIRA] Updated: (GTNPORTAL-1903) Possible NPE in org.exoplatform.portal.webui.util.Util.getPortalRequestContext()
Trong Tran (JIRA)
jira-events at lists.jboss.org
Mon May 16 07:44:00 EDT 2011
[ https://issues.jboss.org/browse/GTNPORTAL-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trong Tran updated GTNPORTAL-1903:
----------------------------------
Original Estimate: 1 hour
Remaining Estimate: 1 hour
Labels: portal-s53 (was: )
Fix Version/s: 3.2.0-GA
> 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é
> Labels: 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: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list