[gatein-issues] [JBoss JIRA] (GTNPORTAL-2015) NPE when calling Site.getPriority

Hai Nguyen (JIRA) jira-events at lists.jboss.org
Fri Sep 20 00:20:03 EDT 2013


     [ https://issues.jboss.org/browse/GTNPORTAL-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hai Nguyen updated GTNPORTAL-2015:
----------------------------------

    Remaining Estimate: 0 minutes  (was: 1 hour)

    
> 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
>          Time Spent: 1 hour
>  Remaining Estimate: 0 minutes
>
> 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: http://www.atlassian.com/software/jira


More information about the gatein-issues mailing list