incubator-droids-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Frovarp (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DROIDS-148) Review MultiThreadedTaskMaster implementation
Date Fri, 02 Dec 2011 17:03:40 GMT

     [ https://issues.apache.org/jira/browse/DROIDS-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard Frovarp resolved DROIDS-148.
------------------------------------

    Resolution: Fixed

Fixed in my testing.
                
> Review MultiThreadedTaskMaster implementation
> ---------------------------------------------
>
>                 Key: DROIDS-148
>                 URL: https://issues.apache.org/jira/browse/DROIDS-148
>             Project: Droids
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.0.1
>            Reporter: Javier Puerto
>             Fix For: 0.0.2
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> We need to review the component class of MultiThreadedTaskMaster. Currently it's not
working properly and also we don't have any test case for it. 
> The problem we found is that if tou try to set the number of threads before the process
start, we got a NPE.
> MultiThreadedTaskMaster<FileTask> taskMaster = new MultiThreadedTaskMaster<FileTask>();
> taskMaster.setPoolSize(3); <-- NPE exception is thrown at this point

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message