taskjuggler/TaskJuggler — Issue #34: TaskJuggler::IntervalList can't be coerced into Float
Author: cedric-ocana
Created: 2012-01-11 13:50:54+00:00
State: open

HI,

I'm using TJ3 version:
TaskJuggler v3.1.0 - A Project Management Software

I have triggered a bug with my project. Unfortunately the project is quite big and I have not the time to dig more in detail... Mainly due to the fact that the error sometimes does not show up if I regenearte the report.

Do you have a idea where this error could come from?

Error log:
ERROR: Ups, you have triggered a bug in TaskJuggler!
TaskJuggler::IntervalList can't be coerced into Float
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1523:in `+'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1523:in `block in getEffectiveWork'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/DataCache.rb:103:in `cached'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1513:in `getEffectiveWork'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertyTreeNode.rb:653:in `method_missing'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1517:in `block (2 levels) in getEffectiveWork'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1516:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1516:in `block in getEffectiveWork'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/DataCache.rb:103:in `cached'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1513:in `getEffectiveWork'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertyTreeNode.rb:653:in `method_missing'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1517:in `block (2 levels) in getEffectiveWork'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1516:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1516:in `block in getEffectiveWork'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/DataCache.rb:103:in `cached'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1513:in `getEffectiveWork'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertyTreeNode.rb:653:in `method_missing'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1517:in `block (2 levels) in getEffectiveWork'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1516:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1516:in `block in getEffectiveWork'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/DataCache.rb:103:in `cached'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1513:in `getEffectiveWork'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskScenario.rb:1307:in `query_effort'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertyTreeNode.rb:653:in `method_missing'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/Query.rb:187:in `process'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TableReport.rb:875:in `genCalChartTaskCell'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TableReport.rb:667:in `generateTableCell'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TableReport.rb:445:in `block (3 levels) in generateTaskList'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TableReport.rb:443:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TableReport.rb:443:in `block (2 levels) in generateTaskList'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TableReport.rb:432:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TableReport.rb:432:in `block in generateTaskList'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertyList.rb:62:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertyList.rb:62:in `call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertyList.rb:62:in `method_missing'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TableReport.rb:423:in `generateTaskList'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TableReport.rb:515:in `block in generateResourceList'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertyList.rb:62:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertyList.rb:62:in `call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertyList.rb:62:in `method_missing'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TableReport.rb:480:in `generateResourceList'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/ResourceListRE.rb:71:in `generateIntermediateFormat'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/Report.rb:142:in `generateIntermediateFormat'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/RichText/RTFReport.rb:69:in `to_html'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/RichText/Element.rb:450:in `to_html'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/RichText/Element.rb:474:in `block in to_html'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/RichText/Element.rb:473:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/RichText/Element.rb:473:in `to_html'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/RichText.rb:224:in `to_html'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/ReportBase.rb:154:in `rt_to_html'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TextReport.rb:80:in `block in to_html'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TextReport.rb:71:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/TextReport.rb:71:in `to_html'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/Report.rb:239:in `generateHTML'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/Report.rb:86:in `block in generate'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/Report.rb:75:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/reports/Report.rb:75:in `generate'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/Project.rb:695:in `block in generateReports'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertySet.rb:297:in `block in each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertySet.rb:296:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/PropertySet.rb:296:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/Project.rb:691:in `generateReports'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/TaskJuggler.rb:148:in `generateReports'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/apps/Tj3.rb:174:in `appMain'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/taskjuggler/Tj3AppBase.rb:135:in `main'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/taskjuggler-3.0.0/lib/tj3.rb:16:in `'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
C:/Ruby193/bin/tj3:4:in `

'Please see the user manual on how to get this bug fixed!

Thank you and best regards
Cedric