[
https://issues.jboss.org/browse/GTNPORTAL-2118?page=com.atlassian.jira.pl...
]
Marko Strukelj commented on GTNPORTAL-2118:
-------------------------------------------
I think the idea here is to improve on error reporting. The bottom line is that neither
pConfig, nor pconfig.getLocale() should ever be null, and sure never saw them be null.
I think IllegalStateException should probably be thrown if either of them is null.
To reproduce you'd probably have to break configuration - which is IMO what happened
here - broken config.
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
Assignee: Marko Strukelj
Priority: Blocker
Fix For: 3.2.0-Beta01
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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira