Community & Support
Skip Navigation LinksHome / Announcements / Forums / TFS Work Item Manager and Project Dashboard: TFS Work Item Manager > Object Reference Not Set to an Instance of an Object - Printing Work Item Cards

Not answered Object Reference Not Set to an Instance of an Object - Printing Work Item Cards

Feed from this thread
  • D'Arcy avatar

    Posted on Aug 10, 2011 (permalink)

    Anyone else experiencing this error message when trying to print work item cards?

    I installed the latest version of Work Item Manager for 2010. Connected no problem to TFS and I can bring up the task board without issues. But when I select "print work item cards" I'm getting the "object reference not set to an instance of an object" error (no details, just a dialogue stating that).

    This happens if I try to print selected work items or all work items.

    Thanks!

    D'Arcy

    Reply

  • Lora Borisova Lora Borisova admin's avatar

    Posted on Aug 11, 2011 (permalink)

    Hello D'arcy,

    I tried both cases you described below - printing only selected workitems and printing all of them. And it seems to work just fine on my side. Attaching the exact WIM 2010 version which I use - please check it.

    Regards,
    Lora Borisova
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Attached files

    Reply

  • Posted on Aug 11, 2011 (permalink)

    Hi Lora,

    I have a different version: 1.4.0.22642, so a bit newer than the one you're verifying with.

    Thanks!

    D'Arcy

    Reply

  • Joel Joel admin's avatar

    Posted on Aug 11, 2011 (permalink)

    Hi D'Arcy,

    I tried with version 1.4.0.22642 and also could not reproduce the problem.  Can you check the log file and post any errors you see?  The log file is located here: {My Docs}\Work Item Manager 2010\WIM-log.txt.

    Thanks,
    Joel
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Posted on Aug 11, 2011 (permalink)

    Hey Joel, here's the error:

    2011-08-11 08:33:25,452 [5392] [1] ERROR IRC.Gear.WorkItemManager.Wpf.App - Unhandled exception.  System.NullReferenceException: Object reference not set to an instance of an object.
       at Telerik.ReportViewer.WinForms.WinViewer.UpdateScrollSize()
       at Telerik.ReportViewer.WinForms.WinViewer.OnSizeChanged(EventArgs eventArgs)
       at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
       at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
       at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       at System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
       at System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecified specified)
       at System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
       at System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
       at System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds)
       at System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean performLayout)
       at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       at Telerik.ReportViewer.WinForms.ReportViewerAreaBase.InitializeComponent()
       at Telerik.ReportViewer.WinForms.WinViewer..ctor()
       at Telerik.ReportViewer.WinForms.ReportViewer..ctor()
       at IRC.Gear.WorkItemManager.Wpf.Cards.InitializeComponent()
       at IRC.Gear.WorkItemManager.Wpf.Cards..ctor(List`1 workitems)
       at IRC.Gear.WorkItemManager.Wpf.MainWindow.PreviewCards(List`1 workItems)
       at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
       at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
       at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.Controls.Button.OnClick()
       at Telerik.Windows.Controls.RadButton.OnClick()
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

    Reply

  • Jordan Jordan admin's avatar

    Posted on Aug 18, 2011 (permalink)

    Hi Darcy,

    Thanks for the report. I manage to reproduce it when change the DPI of my monitor. Do you have a custom DPI? 

    Regards,
    Jordan
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Michael avatar

    Posted on May 16, 2012 (permalink)

    I am seeing this also in version 1.4.0.22642. I dont believe I am using a custom DPI.

    Reply

Back to Top

Skip Navigation LinksHome / Announcements / Forums / TFS Work Item Manager and Project Dashboard: TFS Work Item Manager > Object Reference Not Set to an Instance of an Object - Printing Work Item Cards