NPE when calling Site.getPriority
---------------------------------
Key: GTNPORTAL-2015
URL:
https://issues.jboss.org/browse/GTNPORTAL-2015
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Java API
Reporter: Matt Wringe
Assignee: Hai Nguyen
Original Estimate: 2 hours
Remaining Estimate: 2 hours
When calling site.getPriority() it can fail with an NPE:
16:54:01,264 ERROR [STDERR] Caused by: java.lang.NullPointerException
16:54:01,264 ERROR [STDERR] at
org.gatein.portal.api.impl.portal.SiteImpl.getPriority(SiteImpl.java:114)
16:54:01,264 ERROR [STDERR] at
org.gatein.api.rest.resource.handler.SitesHandler.toSiteResource(SitesHandler.java:85)
16:54:01,264 ERROR [STDERR] at
org.gatein.api.rest.resource.handler.SitesHandler.createPortalTypeResource(SitesHandler.java:58)
16:54:01,264 ERROR [STDERR] at
org.gatein.api.rest.service.SitesService.getSiteType(SitesService.java:91)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: