You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by "Richard Frovarp (Commented) (JIRA)" <ji...@apache.org> on 2011/09/29 16:26:45 UTC
[jira] [Commented] (DROIDS-148) Review MultiThreadedTaskMaster
implementation
[ https://issues.apache.org/jira/browse/DROIDS-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117403#comment-13117403 ]
Richard Frovarp commented on DROIDS-148:
----------------------------------------
I think I fixed the NPE problem in r1177351 on trunk.
> 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