[
https://issues.jboss.org/browse/GTNPORTAL-2118?page=com.atlassian.jira.pl...
]
Chris Laprun updated GTNPORTAL-2118:
------------------------------------
Workaround Description:
Change lines 147-148 in LocalizationLifeCycle from:
{code}
if (pConfig != null)
portalLocaleName = pConfig.getLocale();
{code}
to:
{code}
if (pConfig != null)
{
String locale = pConfig.getLocale();
if(locale != null)
{
portalLocaleName = locale;
}
}
{code}
Not sure if the fix is appropriate or it's just fixing the symptom of a deeper issue.
was:
Change lines 147-148 in LocalizationLifeCycle from:
{code}
if (pConfig != null)
portalLocaleName = pConfig.getLocale();
{code}
to:
if (pConfig != null)
{
String locale = pConfig.getLocale();
if(locale != null)
{
portalLocaleName = locale;
}
}
Not sure if the fix is appropriate or it's just fixing the symptom of a deeper issue.
NPE while handling requests
---------------------------
Key: GTNPORTAL-2118
URL:
https://issues.jboss.org/browse/GTNPORTAL-2118
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Chris Laprun
Priority: Blocker
Fix For: 3.2.0-M02
13:06:03,532 ERROR [portal:PortalRequestHandler] Error while handling request
java.lang.NullPointerException
at
org.exoplatform.services.resources.LocaleContextInfo.getLocale(LocaleContextInfo.java:237)
at
org.exoplatform.portal.application.localization.LocalizationLifecycle.onStartRequest(LocalizationLifecycle.java:158)
at
org.exoplatform.portal.application.localization.LocalizationLifecycle.onStartRequest(LocalizationLifecycle.java:80)
at
org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:165)
at
org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:150)
at org.exoplatform.web.WebAppController.service(WebAppController.java:349)
at
org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)
at
org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)
Leads to blank pages.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira