[gatein-issues] [JBoss JIRA] Created: (GTNPORTAL-1169) Likely issue on DataStorage 's cache , listeners

Minh Hoang TO (JIRA) jira-events at lists.jboss.org
Thu May 6 23:21:05 EDT 2010


Likely issue on DataStorage 's cache , listeners
------------------------------------------------

                 Key: GTNPORTAL-1169
                 URL: https://jira.jboss.org/jira/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/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list