Scheduler throws NPE for suspended requests with non-distributed virtual 
databases
----------------------------------------------------------------------------------

         Key: SEQUOIA-848
         URL: https://forge.continuent.org/jira/browse/SEQUOIA-848
     Project: Sequoia
        Type: Bug
  Components: Core  
    Versions: Sequoia 3.0 beta1, Sequoia 2.10.2    
    Reporter: Emmanuel Cecchet
 Assigned to: Emmanuel Cecchet 
    Priority: Blocker
     Fix For: Sequoia 2.10.3, Sequoia 3.0


As reported on the Sequoia mailing list by Xavier Roques:
The code of the method AbstractScheduler.addSuspendedRequest is
    synchronized (suspendedRequests)
    {
      suspendedRequests.add(obj);
    }
    synchronized (totalOrderQueue)
    {
      totalOrderQueue.notifyAll();
    }

But if the VirtualDatabase is not a DistributedVirtualDatabase,
the field totalOrderQueue queue is null and a NPE is thrown.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to