Skip to main content
November 16, 2011
Answered

Gantt View Error

  • November 16, 2011
  • 1 reply
  • 558 views

I get the following error when i switch to the Gantt View .

ArgumentError: Error #2004: One of the parameters is invalid.

at flash.display::Graphics/drawRect()

at com.ibm.ilog.elixir.gantt::TaskBarSkin/updateDisplayList()[/data/flex/tools/trunk/enterprise/build/product_build/target/sources/enterprise/library/gantt/gantt/src/flex/com/ibm/ilog/elixir/gantt/TaskBarSkin.as:97]

at mx.skins::ProgrammaticSkin/validateDisplayList()

at mx.managers::LayoutManager/validateDisplayList()

at mx.managers::LayoutManager/doPhasedInstantiation()

at mx.managers::LayoutManager/doPhasedInstantiationCallback()

This error occurs only when the gantt task has no children . Am i missign something ? Do we have a fix for this?

This topic has been closed for replies.
Correct answer

Issue is Resolved : This is because of the date of the parent task which becomes invalid when there is no associated child task . The start date and end date of the parent was not valid in the gantt view. Corrected the parent task's start date and end date.

1 reply

Correct answer
November 16, 2011

Issue is Resolved : This is because of the date of the parent task which becomes invalid when there is no associated child task . The start date and end date of the parent was not valid in the gantt view. Corrected the parent task's start date and end date.