[ https://forge.continuent.org/jira/browse/SEQUOIA-1105?page=all ]
     
Stephane Giron resolved SEQUOIA-1105:
-------------------------------------

    Resolution: Fixed

Fix committed to CVS

> ClassCastException in DispatcherThread
> --------------------------------------
>
>          Key: SEQUOIA-1105
>          URL: https://forge.continuent.org/jira/browse/SEQUOIA-1105
>      Project: Sequoia
>         Type: Bug

>   Components: Core
>     Versions: sequoia 2.10.11
>     Reporter: Stephane Giron
>     Assignee: Stephane Giron
>      Fix For: sequoia 2.10.11

>
>
> The DispatchThread gets the following ClassCastException :
>     [junit] Exception in thread "Thread-41" java.lang.ClassCastException: 
> org.continuent.sequoia.controller.loadbalancer.BackendRequestScheduler.DispatcherThread
>     [junit] at 
> org.continuent.sequoia.controller.loadbalancer.BackendRequestScheduler.DispatcherThread.run(DispatcherThread.java:207)
> The problem is due to a bad cast.
>       if (schema == null)
>       {
>         try
>         {
>           task.notifyFailure((DispatcherWorkerThread) Thread.currentThread(),
>               0, new SQLException(
>                   "No schema available to perform request locking on backend "
>                       + backend.getName()));
>         }
>         catch (SQLException ignore)
>         {
>           // Wait interrupted in notifyFailure
>         }
>       }
> notifyFailure expects an AbstractWorkerThread, but current thread is the 
> dispatcher thread.

-- 
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