Droids
  1. Droids
  2. DROIDS-148

Review MultiThreadedTaskMaster implementation

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.1.0
    • Fix Version/s: 0.2.0
    • Component/s: core
    • Labels:
      None

      Description

      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

        Activity

        Hide
        Richard Frovarp added a comment -

        I think I fixed the NPE problem in r1177351 on trunk.

        Show
        Richard Frovarp added a comment - I think I fixed the NPE problem in r1177351 on trunk.
        Hide
        Richard Frovarp added a comment -

        Fixed in my testing.

        Show
        Richard Frovarp added a comment - Fixed in my testing.

          People

          • Assignee:
            Unassigned
            Reporter:
            Javier Puerto
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 4h
              4h
              Remaining:
              Remaining Estimate - 4h
              4h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development