Telerik
Skip Navigation LinksHome / Community / Forums / TFS Work Item Manager and TFS Project Dashboard > TFS Project Dashboard > A few problems I found

Not answered A few problems I found

Feed from this thread
  • Per Per's avatar

    Posted on Sep 28, 2009 (permalink)

    Hi!

    First of all I must say your dashboard application is great and just what we have been looking for.
    I have found a few bugs that I wanted to share with you.

    For some reason, dashbord use 1.2Gb of my memory and I get a system out om memory exception when I start the application.
    I have identitfied the problem to be in the "Remaining Work" widget.
    If I turn it of, the application runs fine.

    If I utorn it on, I get this error;
    2009-09-28 09:33:35,893 [3996] [13] INFO  IRC.Gear.WorkItemManager.Dashboard.TfsDataProvider.TfsWarehouse - Connection to TFS Warehouse established..  
    2009-09-28 09:38:10,789 [3996] [1] ERROR IRC.Gear.WorkItemManager.Dashboard.DashboardApp - Unhandled Exception.  System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
       at Telerik.Windows.Controls.Charting.AxisX.AddTickPoints()
       at Telerik.Windows.Controls.Charting.AxisX.CreateTickPoints()
       at Telerik.Windows.Controls.Charting.Axis.UpdateRange()
       at Telerik.Windows.Controls.Charting.Axis.UpdateRangeAndStep()
       at Telerik.Windows.Controls.Charting.Axis.MaxValueChangedCallback(DependencyObject target, DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
       at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
       at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       at Telerik.Windows.Controls.Charting.Axis.set_MaxValue(Double value)
       at IRC.Gear.WorkItemManager.Dashboard.Widgets.RemainingWorkTrendWidget.PopulateChart()
       at IRC.Gear.WorkItemManager.Dashboard.Widgets.RemainingWorkTrendWidget.RefreshData()
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
     
    What query is this widget using?

    I have a quad core MT cpu but it only uses 50% of my cpu. Any chance you split the code to use aditional threads?

    Regards
    Per Bornsjo

    Reply

  • JP Intermediate avatar

    Posted on Sep 28, 2009 (permalink)

    Hi Per,

    Thanks for posting the stack trace for the error you are seeing.  There seems to be an issue with the charting control.  I have logged the issue and hopefully we will have a fix for it soon. 

    The Remaining work widget gets its data from the TFS warehouse and it uses a custom query that changes slightly depending on the process template being used.

    Thanks,

    JP

    Reply

  • Per Per's avatar

    Posted on Sep 28, 2009 (permalink)

    Hi

    We are using conchangos scrum template (scrumforteamsystem.com)

    Any chance you could post me the qery beeing used so I can check what data it retrieves ?

    Regards
    Per

    Reply

  • JP Intermediate avatar

    Posted on Sep 29, 2009 (permalink)

    Hi Per,

    Here is the query we're using for the scrum template:

    SELECT NON EMPTY  Filter([Work Item].[System_State], ([Work Item].[System_State].CurrentMember.member_caption<>\"Deleted\")) on COLUMNS,  NON EMPTY CrossJoin(  [Team Project].[Team Project].[@Project],  [Work Item].[System_WorkItemType].[Sprint Backlog Item]  , Filter([Date].[Date].Members, ([Date].[Date].CurrentMember.MemberValue>=CDate(\"@DateFrom\")    AND [Date].[Date].CurrentMember.MemberValue<CDate(\"@DateTo\")))  )  ON ROWS  from [Team System] WHERE ([Measures].[Conchango_TeamSystem_Scrum_WorkRemaining])

    JP

    Reply

  • JP Intermediate avatar

    Posted on Oct 21, 2009 (permalink)

    A new version of WIM is now available for download.  Please try the latest version and let us know if you still experience the out of memory exception.

    Thanks,

    JP

    Reply

  • Justin Burns avatar

    Posted on Nov 19, 2009 (permalink)

    I seem to also be having this problem. I have not had an error on launch, but I have not let it continue to run for very long. After the memory jumps to 1.2GB and CPU to 50%, I just kill it.

    I'd already started a thread with some info about my environment, before I saw this one:
    http://www.telerik.com/community/forums/tfs-wim-pd/pd/dashboard-lockup-memory-leak.aspx

    -justinb

    Reply

  • Telerik Admin admin's avatar

    Posted on Nov 20, 2009 (permalink)

    Hi Justin,

    Thanks for the update.  For anyone else viewing this thread, the discussion of this issue will continue on Justin's original thread.

    http://www.telerik.com/community/forums/tfs-wim-pd/pd/dashboard-lockup-memory-leak.aspx

    Regards,
    Joel

    Reply

Back to Top

Skip Navigation LinksHome / Community / Forums / TFS Work Item Manager and TFS Project Dashboard > TFS Project Dashboard > A few problems I found

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2010 Telerik. All rights reserved.