OWB: autoschedule gives one of the following errors: java.lang.NullPointerException or SEInvalidDateException when it can't schedule a task due to resource constraints

Document ID : KB000051591
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When you autoschedule a project in Open Workbench you get one of the following errors: java.lang.NullPointerException or SEInvalidDateException when autoschedule can't schedule a task due to resource constraints.

Steps to Reproduce:

  1. Create a new project.

  2. Add a new task.

  3. Add 3 Resources to the project.

  4. On 2nd resource set all days to holidays except Monday.

  5. On 3rd resource set all days to holidays except Wednesday.

  6. Add all 3 resources to the task.

  7. Set ETC to be 8 hours on all 3 assignments.

  8. Set Fixed duration on the task.

  9. Autoschedule.

Expected Result: Autoschedule to run without errors.

Actual Result: You get an error java.lang.NullPointerException or SEInvalidDateException.

Solution:

Status:

Fixed in Open Workbench 1.1.9 (12.0.3).

Workaround:

Give the resources allocation to the project when the task is scheduled.

Keywords: CLARITYKB, OWBKB, OWB12FIXED, Autoschedule, java.lang.NullPointerException, SEInvalidDateException.