[gatein-issues] [JBoss JIRA] Closed: (GTNPORTAL-1169) Likely issue on DataStorage 's cache , listeners
Hang Nguyen (JIRA)
jira-events at lists.jboss.org
Tue Aug 24 22:31:11 EDT 2010
[ https://jira.jboss.org/browse/GTNPORTAL-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hang Nguyen closed GTNPORTAL-1169.
----------------------------------
> Likely issue on DataStorage 's cache , listeners
> ------------------------------------------------
>
> Key: GTNPORTAL-1169
> URL: https://jira.jboss.org/browse/GTNPORTAL-1169
> Project: GateIn Portal
> Issue Type: Bug
> Affects Versions: 3.0.0-GA
> Reporter: Minh Hoang TO
> Assignee: Julien Viet
>
> Social team reported that there is delay in creating PageNavigation. Below code snippet illustrates the scenario
> String owerType = "group";
> String ownerId = "blahblah";
> PageNavigation pageNav = new PageNavigation(ownerType, ownerId);
> dataStorage.create(pageNavi);
> pageNav = dataStorage.getPageNavigation(ownerType, ownerId); ---> Here the pageNav is not NULL
> for( int i =0; i < 100; i++)
> {
> pageNav = dataStorage.getPageNavigation(ownerType, ownerId);
> if(pageNav != null)
> {
> break;
> }
> else{
> //Print out something saying that pageNav is null
> }
> }
> pageNav = dataStorage.getPageNavigation(ownerType, ownerId); ---> Here the pageNavigation is always non NULL, as about 45 seconds has elapsed
> Within the loop, the pageNav is often null.
> From UI, if user create a new navigation and click immediately on that navigation (Ex: Create a Space in Social), then there is NPE
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list